Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A RSS reader library to fetch a RSS feed from the web and parse it to workable objects

branch: master

Merge pull request #6 from nealsanche/master

Added a read(InputStream) method and refactored read(URL) to use it.
latest commit 5e1f08e1a2
Mats Hofman authored
Octocat-spinner-32 src Code formatting changes. October 17, 2013
Octocat-spinner-32 .classpath Initial Commit November 13, 2011
Octocat-spinner-32 .project Initial Commit November 13, 2011
Octocat-spinner-32 AndroidManifest.xml Fixed README and removed unnecessary code in AndroidManifest November 13, 2011
Octocat-spinner-32 README.markdown Added license information and fixed issue #1 December 06, 2011
Octocat-spinner-32 proguard.cfg Initial Commit November 13, 2011
Octocat-spinner-32 project.properties Initial Commit November 13, 2011
README.markdown

With this library you can easily parse RSS feeds using the SAX APIs available in Android.

Usage

You can use the API by simply calling RssReader.read(URL url). This will make the request to the url provided and parse it to RssFeed and RssItem objects. It can't get any easier than this.

Here is an example of how to fetch a RSS feed and iterate through every item:

URL url = new URL("http://example.com/feed.rss");
RssFeed feed = RssReader.read(url);

ArrayList<RssItem> rssItems = feed.getRssItems();
for(RssItem rssItem : rssItems) {
    Log.i("RSS Reader", rssItem.getTitle());
}

License

Copyright (c) 2011 Mats Hofman

Licensed under the Apache License, Version 2.0

Something went wrong with that request. Please try again.