Take the 2-minute tour ×

We're moving a website to Wordpress, and I need to modify our iPhone app to get data from the new site.

Currently it gets neatly structured data out of our database, but now all data will be stored in the text of Wordpress posts and formatted by WP plugins.

Any suggestions for a good way to get that data to the app? I know very little about Wordpress- is there an easy way to get the raw text of a post? I thought there would be a plugin for that but I haven't been able to turn anything up. And I'd like to avoid just parsing the page HTML for obvious reasons.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

If you look at the MySQL database and know your tables and fields (in Wordpress' MySQL DB) then you could simply pull the data with AJAX or PHP calls.

share|improve this answer
Yeah pretty much what I ended up doing- pulling the data with PHP WP templating functions. –  Rob Lourens Apr 3 '11 at 3:10

Your Answer


