Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.