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.
branch: master

This branch is 6 commits behind H2CO3:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Headers
Info.plist
Makefile
NSMutableString+RSSKit.h
NSMutableString+RSSKit.m
README.html
README.md
RSS.png
RSS.svg
RSSAttachedMedia.h
RSSAttachedMedia.m
RSSCloudService.h
RSSCloudService.m
RSSDefines.h
RSSEntry.h
RSSEntry.m
RSSFeed.h
RSSFeed.m
RSSKit.h
RSSParser.h
RSSParser.m
SampleAtom_1.0.xml
SampleRSS_2.0.xml
control

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.