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
Bradford Bonsack
7,107 PointsWordpress 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
Ayman Bitar
9,462 PointsThere 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.
Bradford Bonsack
7,107 PointsBradford Bonsack
7,107 PointsOk Thanks! I will go get that plugin now and I will let you know if it works.
Bradford Bonsack
7,107 PointsBradford Bonsack
7,107 PointsOk 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/
Ayman Bitar
9,462 PointsAyman Bitar
9,462 PointsTry 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.
Bradford Bonsack
7,107 PointsBradford Bonsack
7,107 PointsIt works!!! Thanks A MILLION!!!!!!
Ayman Bitar
9,462 PointsAyman Bitar
9,462 PointsYour welcome...
Let me know if you encounter a problem.
Fred Lawton
5,904 PointsFred Lawton
5,904 PointsI 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?