You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Vangjush Stavro (JIRA)" <ji...@apache.org> on 2011/01/23 20:41:43 UTC

[jira] Created: (ISIS-78) Object xhtml file identification using 'rel' attribute in anchor tags

Object xhtml file identification using 'rel' attribute in anchor tags
---------------------------------------------------------------------

                 Key: ISIS-78
                 URL: https://issues.apache.org/jira/browse/ISIS-78
             Project: Isis
          Issue Type: Improvement
          Components: Viewer: Restful
            Reporter: Vangjush Stavro
            Priority: Minor


It is difficult to distinguish xhtml files that represent an Isis object from other types of xhtml files. Currently the only way to do it is by checking if the keyword 'object' exists on the URL but that assumption is not solid enough. A better way would be if the 'rel' attribute in every anchor tag that links to an object has a special value i.e 'object'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Closed] (ISIS-78) Xhtml file restructuring for easier parsing

Posted by "Dan Haywood (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood closed ISIS-78.
---------------------------

    Resolution: Won't Fix

The XHTML viewer has been retired.
                
> Xhtml file restructuring for easier parsing
> -------------------------------------------
>
>                 Key: ISIS-78
>                 URL: https://issues.apache.org/jira/browse/ISIS-78
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: XHTML
>            Reporter: Vangjush Stavro
>            Priority: Minor
>              Labels: features
>         Attachments: restful-patch.txt
>
>
> Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
> Suggested changes:
> - Encapsulate object information inside a div tag with a class = "nof-object"
> - Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ISIS-78) Xhtml file restructuring for easier parsing

Posted by "Vangjush Stavro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vangjush Stavro updated ISIS-78:
--------------------------------

    Attachment: restful-patch.txt

Patch on restful viewer as a solution to this issue

> Xhtml file restructuring for easier parsing
> -------------------------------------------
>
>                 Key: ISIS-78
>                 URL: https://issues.apache.org/jira/browse/ISIS-78
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: Restful
>            Reporter: Vangjush Stavro
>            Priority: Minor
>              Labels: features
>         Attachments: restful-patch.txt
>
>
> Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
> Suggested changes:
> - Encapsulate object information inside a div tag with a class = "nof-object"
> - Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ISIS-78) Xhtml file restructuring for easier parsing

Posted by "Vangjush Stavro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vangjush Stavro updated ISIS-78:
--------------------------------

         Labels: features  (was: )
    Description: 
Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
Suggested changes:
- Encapsulate object information inside a div tag with a class = "nof-object"
- Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

  was:It is difficult to distinguish xhtml files that represent an Isis object from other types of xhtml files. Currently the only way to do it is by checking if the keyword 'object' exists on the URL but that assumption is not solid enough. A better way would be if the 'rel' attribute in every anchor tag that links to an object has a special value i.e 'object'

        Summary: Xhtml file restructuring for easier parsing  (was: Object xhtml file identification using 'rel' attribute in anchor tags)

> Xhtml file restructuring for easier parsing
> -------------------------------------------
>
>                 Key: ISIS-78
>                 URL: https://issues.apache.org/jira/browse/ISIS-78
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: Restful
>            Reporter: Vangjush Stavro
>            Priority: Minor
>              Labels: features
>
> Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
> Suggested changes:
> - Encapsulate object information inside a div tag with a class = "nof-object"
> - Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira