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

Websites with JSON format

Hi guys,

In the videos for making the BlogReader, it is given to us a website which the format is already JSON (http://blog.teamtreehouse.com/api/get_recent_summary/).

But how can I find more websites that use this format?, or, how can I transform any website or blog into a JSON format?.

Many thanks in advance for your comments,

Jorge

5 Answers

As in most cases when you want to "find more websites" of a given type ...

Use google :wink:

http://google.com/search?q=filetype:json

Thanks James,

I looked around with this tip you gave and I found that most of the blogs I want to use for my blog reader do not use the JSON format. Do you know how can I call websites of any format for my blog reader app?.

> Do you know how can I call websites of any format for my blog reader app?.

There's no real clean way to do it. But since RSS is much more popular for blogs. So you could convert an RSS feed which is actually just XML into JSON and then consume that.

Thank man, I will check.

Many thanks James, it looks that could work, but unfortunately for me this is too advanced, I am just starting with programming iOS and my background is not in technology. Do you think is there any option that would be easier for building a blog reader in iOS?.

Cheers.

No idea, I haven't done any iOS programming.

ok no problem, many thanks for your tips. Have a nice day!.