GithubHelp home page GithubHelp logo

andrewhartar / rsskit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h2co3/rsskit

0.0 3.0 0.0 107 KB

iOS framework to make development of RSS reader apps easier.

Home Page: http://apaczai.elte.hu/~13akga/

C 1.51% Objective-C 98.49%

rsskit's Introduction

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

rsskit's People

Contributors

h2co3 avatar jstsch avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.