Iphone app code with wordpress post?

How do i go about incorporating my wordpress blog posts into my app?

Our blog posts regularly and we want it to be live on our app and on our website simultaneously when we create new posts in Wordpess.

What type of coding needs to be done and where do we start?

Depends on how you code your app. If you use PhoneGap (or a Cordova library) then you'll be coding in HTML and Javascript which will make things easy.

In your theme you'll need to create a new file that will act as an API. In this theme, you'll pull the posts you want to show and put all the data into JSON format.

Then in your app, use AJAX to connect to your new API file. The data will come to your app in JSON format, so you'll need to decode the data and then display it however you want.

  • Widget for Wordpress to do live score updates? I run a high school news website ( www.nccpantherprint.com ) and i was wondering if there was a way that i could do live score updates of our games. What i'm looking for is something that would appear on the sidebar and would be able to be updated from an iPhone or android. I was just wondering if there was anything like this that is out there right now and if this would be a thing worth trying to do.
  • Why is there a post in my name that I didn't post? I think it's a scam it said yo yo yo free iPhone sick click the link and all that shot how did they get on my Facebook page have they hacked me coz it said that I posted it Btw is on my iPad
  • Why can I not log into iphone mail app? Getting error code 1032? Can't log into account on iPhone, says there's a error code (MFMessageErrorDomain error 1032). I had to change my password on the computer, said there was unusual activity. I have also changed the info in settings but still getting error code
  • What code do i need to learn for ipad and iphone app? I was just wondering on what i need to know to makei phone app. I did a bit of research and seen i need to learn c++ and another page that says i need to learn objective C. Can anybody tell me the if its the same? If not what's the difference.