Skip to content

Easy to use feed parser for every web site that provides RSS resources

License

Notifications You must be signed in to change notification settings

ygpedroso/feedParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeedParser

language: kotlin language: java MIT license

Installation

Gradle

Add the JitPack repository in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Add the following line to the dependencies section of your build.gradle file:

implementation 'com.github.ygpedroso:feedParser:0.2'

Maven

Add the JitPack repository in your build file:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Add the dependency in your build file:

<dependency>
    <groupId>com.github.ygpedroso</groupId>
    <artifactId>feedParser</artifactId>
    <version>0.2</version>
</dependency>

How to use

Java

Parser parser = new Parser(rssSource);
Rss rss = parser.getRss();

Kotlin

var parser = Parser(rssSource)
var rss = parser.getRss()

The rssSource variable that the Parser class receives as a constructor parameter, can be of any of this class types:

  • String
  • java.io.File
  • java.io.Reader
  • java.io.InputStream
  • org.simpleframework.xml.stream.InputNode

License

FeedParser is MIT-licensed.

About

Easy to use feed parser for every web site that provides RSS resources

Resources

License

Stars

Watchers

Forks

Packages

No packages published