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! While you're at it, check out some resources Treehouse students have shared here.

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

iOS Build a Blog Reader iPhone App Getting Data from the Web Downloading and Parsing JSON Data

Dawid Cedrych
Dawid Cedrych
15,108 Points

If you want to download your own blog data...

Maybe it's not really an iOS related question, but I wonder how to get from my wordpress page all posts like you do in the video. I installed JSON REST API, but I don't know what exactly should I do to have my posts in such form. Maybe small hint or even seperate short video how to do that? Thanks in advance

1 Answer

Sounds like what you need to do is look into the Wordpress API. The page with JSON for the app was set up specifically for that. On most sites, you're going to have to make a web request for the data and it will be in some kind of form (JSON, XML, whatever). This should get you started. http://developer.wordpress.com/docs/api/.