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

Wordpress Blog Reader App

Hi, I have a wordpress website and want to use the blog reader app to access it. How do I get it to work with the app Thanks

1 Answer

There is a plugin u get for wordpress that transforms your posts as JSON data, in which you can use the same exact thing as the tutorial and just replace the link with urs.

This is the plugin wordpress.org/plugins/json-api/

Let me know if you need anything else.

Ok Thanks! I will go get that plugin now and I will let you know if it works.

Ok I downloaded it and when I put the my url into the browser like in the tutorial i get a 404 error http://www.raidermedia.net/api/get_recent_posts/

Try adding " ?json=1 " to it at the end.

http://www.raidermedia.net/?json=1 And you'll get your 4 most recent posts.

If you want more, just add to the link &count=10 or 20. depending on how much you have and want.

It works!!! Thanks A MILLION!!!!!!

Your welcome...

Let me know if you encounter a problem.

I have a WordPress.com site rather than a WordPress.org site, and from my understanding this means I can't install plugins.

How can I get my blog posts in json format or other format?