You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Barry Wey <ba...@gmail.com> on 2013/04/18 04:18:36 UTC

how to use commons feed parser

hi all,
        i'm so sorry to ask suck a stupid question about how to use feed parser. I've google it, but can't find anything good for me.
        here are my questions:

        1) i have CDATA in my RSS feeds, how could i parse CDATA with this interfaces?
             i ONLY extended DefaultFeedParserListener but there's nothing i could use to get CDATA. should i try another class? which one?  Maybe i should try MetaFeedParserListener but i don't know if that would help. 

        2) how should i use Auto-Descovery-System and tell the differences between RSS & ATOM feeds? 
	    i found FeedLocator class to get a FeedList, after that i could get a FeedReference, but what should i do about this object? it only got limited method like isRelative() and toString(). what should i do for the next step?


         many thanks ahead.  
 
                               Barry 
    
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org