Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Elijah Murray
1,290 PointsParsing RSS Instead of JSON Info
Loving the tutorials here! I just finished the Downloading and Parsing JSON Data and everything makes sense. However for my blog, I'm trying to get it to work as well. It's Wordpress based, but the site archive is in RSS format and I'm not sure how to deal with it.
I've tried adding a JSON plugin but that only tried to reformat the already formatted RSS which didn't work.
I tried to use NSXMLParser but after 30 minutes of being lost, I thought I'd shout out for help. Looking for the same exact functionality as the tutorials here, but with this RSS feed!
Thanks!
4 Answers

Amit Bijlani
Treehouse Guest Teacher@Elijah you can install the JSON API plugin and then add this function to it: https://gist.github.com/abijlani/5072444

Ben Jakuben
Treehouse TeacherParsing RSS can be done, but JSON is so much easier and more lightweight. The same data is much smaller in JSON format, which means it's quicker to transfer over the network. We want to keep those network connections as lightweight as possible with apps!

Elijah Murray
1,290 PointsTruly awesome support here! Not only to I get my solution, but also the reasons why JSON is better than RSS ;) Thank you both!!

Peter Jones
1,199 PointsThis save me a ton of time! I can't thank you enough Treehouse, Amit Bijlani and of course Ben Jakuben.