Read the statement by Michael Teeuw here.
http request
-
Yeah that’s what I based my original request functionality on. The OpenWeather API response is CORS compatible due to the response header - this is why the example response works well. Outside of this domain though (say on http://www.w3schools.com/xml/cd_catalog.xml (or any other external server). This unfortunately makes problems - I’m still looking for a work-around.
-
Welcome to Javascript security issues.
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
I’m using that code in php
$xml = simplexml_load_file('XML/status1.xml'); echo "<br>--------------<br>XML parsing <br>--------------<br>"; $result = array(); foreach($xml->children() as $child){ $result[$child->getName()] = trim($child);
-
have a look in here https://forum.magicmirror.builders/topic/240/soccer-standings i had also problems with cors so i used the request module in my node_helper to fix it
-
I copied the xml file on a synology web server, same behaviour status :0
-
Thanks @strawberry-3-141 - I’ll take a look and see if there are any changes I can make.
-
I took contact with the provider, he advices me to use x-device techno?