I too am looking for something similar.
So far I've looked at these options:
Informa
From a quick glance this seems very cumbursome and unintuitive. The class names like:
ChannelIF channel = FeedParser.parse(new ChannelBuilder(), inpFile);
give little sense of what they are about and the use of lower case 'L' and upper case 'i' do not give much hope for the quality of rest of the codebase.
What is more of a problem however is a huge number of dependencies that this parser needs, making it highly unlikely that android will run it. At this point I am not going to even try it - and just assume that it won't work.
Rome
This does not work because of some wierd things that don't work on Dalvik here.
See problem reports here and here.
Apache Feedparser
Apache Feedparser looks abandoned, as it is in the Dormant category on the Apache page.
Furthermore it looks to be absolutely broken, at least for me. I tried to incorporate it into the project - and after importing ALL the dependencies it is borking on the httpclient from apache. It could be that Android does not support some of them.
In any case here is what the code for it looks like (actually looks pretty good):
FeedParser parser = FeedParserFactory.newFeedParser();
URL url = new URL("http://www.blah.com/feeds");
parser.parse( listener, url.OpenStream(), resource );
FeedParserListener listener = new DefaultFeedParserListener() {
//this gives us the title of the actual feed/site
public void onChannel( FeedParserState state,
String title,
String link,
String description ) throws FeedParserException {
}
//this gives us the individual item
public void onItem( FeedParserState state,
String title,
String link,
String description,
String permalink ) throws FeedParserException {
}
//called to set the date on which the entry was created
public void onCreated( FeedParserState state, Date date ) throws FeedParserException {
}
};
onChannel and onItem methods can be found in FeedParserListener doc. onCreated is support for Atom the time for entry created.
If only Java people did things in a more elegant way, like python's universal feed parser.