displaying content from a wordpress site in iphone app
I am trying to display content from a wordpress site in an iphone app.I downloaded the open source code for the wordpress app and im having difficulty finding the code i need 开发者_StackOverflow社区in it.All im trying to do is display the text of a few different pages(no editing or deleting) in my iphone app.Does anyone know if there are any tutorials that could help me or if you know which files the code im looking for is in, in the open source app? Any and all help is much appreciated.
It's not really clear what you're trying to do.
If you just want to display the content of the wordpress site the easiest solution would be to simply display the site in a UIWebView
.
Downloading the source code of the app will likely not do anything for you. The content of a wordpress site is stored in a database and not in the source code. If the site has an API for accessing the content I would use that. Otherwise you could always parse the generated HTML and extract the content. That's a fragile method that will break if they change the layout of the site.
If I misunderstood your question I apologize, but your question isn't very clear.
精彩评论