Way to get the raw XML from a feed entry (entry.XML is pre-digested)
--------------------------------------------------------------------

                 Key: MASHUP-640
                 URL: http://wso2.org/jira/browse/MASHUP-640
             Project: WSO2 Mashup Server
          Issue Type: Improvement
            Reporter: Jonathan Marsh
         Assigned To: Channa Gunawardena
             Fix For: 1.1


from http://wso2.org/forum/thread/3135#comment-5031:

Thanks for the response Channa. In fact the pages I am trying to consume are 
blog feeds (even though the http://wso2.com/ URL I put in my code snippet 
obvisouly wasn't one). So I followed your recommendation but rather than a 
Scraper object I went with a Feed object, which I populated from a URL via a 
FeedReader object. The problem is that the Entry object that I get from the 
Feed object doesn't give me access to the "gui" RSS 2.0 element (more or less 
equiv to the "id" element of Atom) of a feed item. So I still need to work at 
the XML level to get that. But when I do "entry.XML" on an Entry instance that 
I got from a Feed object, the E4X object I get back is not a representation of 
the actual XML that was retrieved from the server. It seems to be an XML 
representation of the format-neutral (i.e. bridging between RSS, Atom...) Feed 
object. As far as I can tell, I can't use that E4X object to get my RSS 2.0 
"guid" element. Can I get the original XML from a Feed object?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to