I want to make an iphone application for a blog. Which is the best method to parse the RSS feeds from the blog.
3 Answers
Just use this MWFeedParser
https://github.com/mwaterfall/MWFeedParser
In the RootViewController files, under (void)viewDidLoad edit the line, and put your full URL
NSURL *feedURL = [NSURL URLWithString:http://www.YOUR_URL_HERE.com/whateverRSS"];
Another good parser is from Ray Wenderlich http://www.raywenderlich.com/2636/how-to-make-a-simple-rss-reader-iphone-app-tutorial
I actually combined the 2 since I liked the parsing of MWFeedParser but Ray's went to an UIWebView instead of Safari, this link describes how to combine MWFeedParser in-app web browser INSTEAD of safari

- 1
- 1

- 3,645
- 8
- 36
- 59
You should look into NSXMLParser. I use this in several of my apps, and I am pleased with the performance. JSON is also a good library to use.

- 50,551
- 22
- 134
- 186
-
1JSON for RSS? I think only XMLis used for that. – Ricardo Mar 17 '13 at 14:31
I would use XML Translator from CWFoundation project, but then I made it. The project has a RSS parser (for Apple news feed) as a sample app. I honestly believe that there is no easier way to parse XML into proper domain objects for Objective-C, at least none that I have the last decade.

- 36,742
- 12
- 80
- 99