What's the best way to parse RSS/Atom feeds for an iPhone application?

Posted by jpm on Stack Overflow See other posts from Stack Overflow or by jpm
Published on 2009-02-19T16:23:43Z Indexed on 2010/05/15 19:54 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

So I understand that there are a few options available as far as parsing straight XML goes: NSXMLParser, TouchXML from TouchCode, etc. That's all fine, and seems to work fine for me.

The real problem here is that there are dozens of small variations in RSS feeds (and Atom feeds too), so supporting all possible permutations of feeds available out on the Internet gets very difficult to manage. I searched around for a library that would handle all of these low-level details for me, but came out without anything.

Since one could link to an external C/C++ library in Objective-C, I was wondering if there is a library out there that would be best suited for this task? Someone must have already created something like this, it's just difficult to find the "right" option from the thousands of results in Google.

Anyway, what's the best way to parse RSS/Atom feeds in an iPhone application?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c