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

Android

Getting data from OWN website

Hi, I completed the "blogger app" tutorial by Ben and have everything running fine. I now need to get data from this website here: http://www.ilovelimerick.ie/ The "latest news" section is what I want to target and use in my app (replacing the treehouse blog). What I am wondering is, how can I be sure that JSON is used and not xml or RSS?

Thank you!

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Just a guess, but it looks like a WordPress site. You can request different formats like this one:

http://www.ilovelimerick.ie/?feed=rss

It doesn't look like any JSON feeds are supported (they aren't by default in WordPress). For the BlogReader project, we installed the JSON API plugin for WordPress...perhaps you could do or request that?

cool thanks! I will try this.

Hi Ben,

I installed the JSON plugin for the site and used this:

http://www.ilovelimerick.ie/?json=1

Am I being too broad and targeting the whole page, instead of just the "latest news" section or is that even possible?