My situation - I want to write a feature for an android app using java to pull the the_title()
and the_content()
fields of the latest post in a specific category of a wordpress site. I don't use wordpress themes - I just use php inserts in my site's html to place various wordpress items in various places on the page.
I have not tried using xml or rss yet, but it seems to me to put extra steps in the process to do something as simple and short as what I want to do.
Using java, can't I call to a specific html file that has php inserts that pull the items I want from the wordpress database - the html pulls all the wordpress data items and the java simply pulls the strings from the html and show in my app?