Simple-Rss2-Android

General

Category
Free
Tag
RSS
License
N/A
Min SDK
14 (Android 4.0–4.0.2 Ice Cream Sandwich)
Registered
Jul 5, 2014
Favorites
0
Link
https://github.com/salendron/Simple-Rss2-Android
See also
Earl
Munch
RSS Parser
RSS reader
ahorn/android-rss

Additional

Language
Java
Version
N/A
Created
Apr 3, 2013
Updated
Feb 5, 2018
Owner
salendron
Contributor
salendron
1
Activity
Badge
Generate
Download
Source code

Show card

Simple-Rss2-Android

A really simple RSS 2.0 Parser Library for Android. It includes an asynchronous call to get feeds in the background and than nofifies the UI thread using a callback object.

You can either just download the *.jar file and include it in your project or clone the whole repository which contains the library project as an Android App Project with Demo-Activity.

Example:

SimpleRss2Parser parser = new SimpleRss2Parser("http://pingeb.org/feed", 
 new SimpleRss2ParserCallback() {
  @Override
  public void onFeedParsed(List<RSSItem> items) {
   for(int i = 0; i < items.size(); i++){
    Log.d("SimpleRss2ParserDemo",items.get(i).getTitle());
   }
  }
  @Override
  public void onError(Exception ex) {
   Toast.makeText(mContext, ex.getMessage(), Toast.LENGTH_SHORT).show();
  }
 };
);
parser.parseAsync();