Page 1 of 1

Updating from another site

Posted: Tue Jul 30, 2013 12:15 am
by sam5863015

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?


Updating from another site

Posted: Tue Jul 30, 2013 12:46 am
by Illya Stepanov

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


Updating from another site

Posted: Tue Jul 30, 2013 1:22 am
by sam5863015

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


Updating from another site

Posted: Tue Jul 30, 2013 4:23 am
by Illya Stepanov

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


Updating from another site

Posted: Mon Aug 05, 2013 3:47 pm
by sam5863015

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?


Updating from another site

Posted: Mon Aug 05, 2013 3:49 pm
by maxkatz

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


Updating from another site

Posted: Sat Aug 10, 2013 11:13 pm
by sam5863015

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


Updating from another site

Posted: Sat Aug 10, 2013 11:20 pm
by maxkatz

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


Updating from another site

Posted: Sun Aug 11, 2013 9:38 pm
by sam5863015

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?


Updating from another site

Posted: Sun Aug 11, 2013 9:51 pm
by maxkatz

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.