Supported specs:
- Rss 2.*
- Rss 1.*
- Atom 1.*
Upgraded version of simple-feed-parser with support for websub (pubsubhubbub), cloud, logo, thumbnail and encoded HTML.
Sample Usage
try {
URL url = new URL("https://superfeedr-blog-feed.herokuapp.com/");
HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection();
if (httpConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
InputStream feedStream = httpConnection.getInputStream();
FeedParser parser = FeedParserFactory.newParser();
Feed feed = parser.parse(feedStream);
System.out.println(feed.getLogo());
System.out.println(feed.getWebSub());
}
} catch (IOException e) {
e.printStackTrace();
} catch (FeedException e) {
e.printStackTrace();
}
Get started