Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
iOS framework to make development of RSS reader apps easier.
Objective-C C
Branch: master

Merge pull request #5 from testvariation/master

`readme.md` is actual markdown now
latest commit 2739e8cf4e
@H2CO3 authored

README.md

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).

Something went wrong with that request. Please try again.