Rss-Manager

Additional

Language
Java
Version
0.75 (Mar 3, 2017)
Created
Dec 26, 2015
Updated
Jun 26, 2017 (Retired)
Owner
Kartik Sharma (crazyhitty)
Contributor
Kartik Sharma (crazyhitty)
1
Activity
Badge
Generate
Download
Source code

Rss-Manager

A simple, lightweight and easy to use library to parse rss feeds into your app.

Requirements

This library requires minimum sdk version 9.

Also add Internet permission to your application manifest file.

Installation

Add this to your project level build.gradle file.

repositories {
    maven { url "https://jitpack.io" }
}

Add this to your app level build.gradle file.

dependencies {
    compile ('com.crazyhitty.chdev.ks:rss-manager:0.75'){
            exclude module: 'stax'
            exclude module: 'stax-api'
            exclude module: 'xpp3'
        }
}

Implementation

private RssReader rssReader = new RssReader(this);

//load feeds
private void loadFeeds(String[] urls) {
    rssReader.loadFeeds(urls);
}

@Override
protected void onDestroy() {
    super.onDestroy();
    rssReader.destroy();
}

@Override
public void rssFeedsLoaded(List<RSS> rssList) {
    // Feeds loaded, do whatever you want to do with them.
}

@Override
public void unableToReadRssFeeds(String errorMessage) {
    // Oops, library was unable to parse your feed url.
}

CONTRIBUTING

You can contribute to the development of this library by posting new bugs/issues or any feature requests that you would like to see in the library.

Apps that uses this library

If your app uses this library and would like to get it featured here then just mail me at cr42yh17m4n@gmail.com with your app links and I will add it here. You can also mail me if you want new features.