sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Updating from another site

I am creating a mobile app that requires information from another site that has live updates (http://m.bbc.co.uk/travelnews/motorways) is there a way to show this on a page in my app?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Updating from another site

Hello - how you want to show the information in your app?

sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Updating from another site

Something like a list view what ever is the easiest way is to be honest.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Updating from another site

I'm not sure if they do but you should check if they provide API for update. Then it can be used.

sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Updating from another site

I have managed to find a api that I can use the files download is in XML format, how do I import this in to my app?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Updating from another site

Please check http://docs.appery.io, you will need to setup a REST service.

sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Updating from another site

Ok thank you, I will do this, how do I open the XML file, is there a specific program I need to open it or can I just import it direct to appery

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Updating from another site

You don't open XML files in Appery.io. You define a REST service that could return XML.

sam5863015
Posts: 0
Joined: Thu May 16, 2013 5:50 pm

Updating from another site

Ok this is the site that holds the files that will provide the live feed http://data.gov.uk/dataset/live-traff... what should I do, I've checked out the tutorials on setting up REST services and can't see a lot about XML set ups but just Json is it the same process?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Updating from another site

It's exactly the same steps whether your service returns JSON or XML. The only difference is that you need to set the format to 'xml' in service settings.

Return to “Issues”