Skip to content
/ RSSKit Public
forked from H2CO3/RSSKit

iOS framework to make development of RSS reader apps easier.

Notifications You must be signed in to change notification settings

aiguo/RSSKit

 
 

Repository files navigation

RSSKit

RSSKit is an easy-to use iOS framework to make RSS feed processing simple. It consists of only 5 small classes, so it's extremely lightweight yet powerful. It supports both the RSS 2.0 and the Atom 1.0 feed formats.

How to use the framework

  1. #import <RSSKit/RSSKit.h>

  2. Define a class which conforms to the RSSParserDelegate protocol, i. e.: @interface MyParserDelegate: NSObject <RSSParserDelegate>

  3. Instantiate an RSSParser object using an NSString with an URL containing a valid RSS/Atom feed; e. g. RSSParser *parser = [[RSSParser alloc] initWithUrl:@"http://example.com/feed" synchronous:NO];

  4. Set an instance of your freshly declared deleate class as the parser's delegate, that is:

    MyParserDelegate *theDelegateObject = [[MyParserDelegate alloc] init];
    parser.delegate = theDelegateObject;
  5. Call [parser parse];

  6. Implement the rssParser:parsedFeed: method in your delegate class. As the 2nd parameter it'll be passed an RSSFeed instance. The properties of this class are named meaningfully; the articles property will contain an NSArray of RSSEntry objects, representing the items/summaries of the feed, respectively (this class also has obviously-named properties).

About

iOS framework to make development of RSS reader apps easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 95.3%
  • Makefile 3.4%
  • C 1.3%