|
XML Downloader, how to retrieve xml node value?Hey there! I've just written an iPhone web-server to share accelerometer values as xml: From iPhone address http://192.168.32.4:50725/ I've got: <?xml version="1.0"?> This information is updated instantly, ie. every new request will return new values. Anybody knows how to use XML Downloader patch to access/use x, y and z float values from xml? Mirek Rusin http://mirekrusin.com
|
I guess it depends on the XML file and how it's structured, can you post an example?
sorry, html eat my xml example, i've corrected it, here it is:
<?xml version="1.0"?>
<iphone>
<acceletrometer x="-0.036337" y="0.072674" z="-0.981105"/>
</iphone>
This comp shows the structure member patches (by key & index) that lets you break it down.
Thanks, works nicely :)
Just wondering if VJs are using iPhone as controller.
Check out Mrmr if you're interested in that (http://poly.share.dj/projects/#mrmr)
can this be used with localhost? I have XML data streaming on port 8168 of localhost, and it's not working with your xml downloader patch. tried localhost, localhost and the port, http://127.0.0.1:8168, etc.... no joy
Anyone know of any gotchas you have to look out for when trying to connect QC to mrmr?
I have mrmr setup and I can send data into OCSulator from mrmr on the iPod without any problems, however when trying to connect the XML Importer to mrmr (with for example the IP of the iPod and the port the data is being sent on; in my case 192.168.1.65:8000) QC gives out an error message saying it "Could not connect to the server".