Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

iOS framework to make development of RSS reader apps easier.

branch: master
Octocat-spinner-32 Headers Restructured stacking procedure; added several properties
Octocat-spinner-32 Info.plist Restructured stacking procedure; added several properties
Octocat-spinner-32 Makefile Restructured stacking procedure; added several properties
Octocat-spinner-32 NSMutableString+RSSKit.h small patches
Octocat-spinner-32 NSMutableString+RSSKit.m small patches
Octocat-spinner-32 README.html Restructured stacking procedure; added several properties
Octocat-spinner-32 README.md Restructured stacking procedure; added several properties
Octocat-spinner-32 RSS.png Restructured stacking procedure; added several properties
Octocat-spinner-32 RSS.svg Restructured stacking procedure; added several properties
Octocat-spinner-32 RSSAttachedMedia.h small patches
Octocat-spinner-32 RSSAttachedMedia.m small patches
Octocat-spinner-32 RSSCloudService.h small patches
Octocat-spinner-32 RSSCloudService.m small patches
Octocat-spinner-32 RSSDefines.h small patches
Octocat-spinner-32 RSSEntry.h small patches
Octocat-spinner-32 RSSEntry.m small patches
Octocat-spinner-32 RSSFeed.h small patches
Octocat-spinner-32 RSSFeed.m small patches
Octocat-spinner-32 RSSKit.h small patches
Octocat-spinner-32 RSSParser.h Update RSSParser.h
Octocat-spinner-32 RSSParser.m Also parse dc:date for pubDate and lastBuildDate
Octocat-spinner-32 SampleAtom_1.0.xml first commit
Octocat-spinner-32 SampleRSS_2.0.xml first commit
Octocat-spinner-32 control Restructured stacking procedure; added several properties
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.