ViRuZGamiing Posted January 6, 2016 Share Posted January 6, 2016 Hey guys, Quick question, how can I access an XML File from the internet? URL that I mean; http://xml.buienradar.nl/ Thanks in advance Link to comment
Revolt Posted January 6, 2016 Share Posted January 6, 2016 Maybe use callRemote and reformat the page in JSON. Link to comment
ALw7sH Posted January 6, 2016 Share Posted January 6, 2016 function result(xmlT,errno) if errno == 0 then local file = fileCreate("thing.xml") if file then fileWrite(file,xmlT) fileClose(file) end end end fetchRemote("http://xml.buienradar.nl/",result,"",false)-- download this page then use the xml functions on this file(thing.xml) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now