Latest 0.4.1
Homepage https://github.com/sebleclerc/SLLRSSParser
License MIT
Platforms ios 6.0, requires ARC
Dependencies TBXML

SLLRSSParser is a simple RSS parser for Objective-C with ARC and blocks.

Installation

Cocoapods

The best and easiest method to install and use SLLRSSParser is with CocoaPods. You simply add this line to your Podfile:

pod 'SLLRSSParser'

Manual

You need to have TBXML copied into the solution. Copy everything from the TBXML-Code and TBXML-Headers folders.

Then, you need to copy all the SLLRSSParser files:

  • SLLRSSParser.h / .m
  • SLLRSSEntry.h / .m

Usage

(see demo XCode project in /SLLRSSParserDemo)

SLLRSSParser *parser = [[SLLRSSParser alloc] initWithFeedUrlString:@"http://www.sebleclerc.ca/feed"];

[parser parseRSSFeed:^(NSArray *listFeedItems){
//Do things
}];

FAQ

The return block does not return on main thread, so you need to return to it before updating the UI.

Credits

SLLRSSParser is brought to you by Seb Leclerc. If you have feature, bug or comments, feel free to open an issue or contact me.

Thanks to Sam Vermette for his SVProgressHUD component in the Demo app.

Latest podspec

{
    "name": "SLLRSSParser",
    "version": "0.4.1",
    "summary": "Simple Objective-C RSS parser",
    "description": "SLLRSSParser is a simple RSS parser for Objective-C. You pass in the URL and the return block give you an array of items.",
    "homepage": "https://github.com/sebleclerc/SLLRSSParser",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Su00e9bastien Leclerc Lavallu00e9e",
    "social_media_url": "http://twitter.com/dotsebleclerc",
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/sebleclerc/SLLRSSParser.git",
        "tag": "v0.4.1"
    },
    "source_files": "Source/**/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "TBXML": []
    }
}

Pin It on Pinterest

Share This