read XML from Website
criss87
Posts: 32
Dear all!
I need to read an XML file from a website, Someone know how to read the file thru code ?
http://www.meteowebcam.it/rss/Monfalcone.xml
Once I will have the file in the string event, I will parse the file myself.
Many thanks for the help,
Cris
I need to read an XML file from a website, Someone know how to read the file thru code ?
http://www.meteowebcam.it/rss/Monfalcone.xml
Once I will have the file in the string event, I will parse the file myself.
Many thanks for the help,
Cris
0
Comments
Work as a charm!
Now I just need to parse all the incoming data....
Many thanks,
Cristiano
button_event[tp,1]
{
push:
{
ip_client_open (dvHTML.Port,'www.meteowebcam.it',80,IP_TCP)
}
}
data_event [dvHTML]
{
online:
{
clear_buffer cWeatherBuf
send_string dvHTML,"'GET /rss/Monfalcone.xml HTTP/1.0',13,10"
send_string dvHTML,"'Host: www.meteowebcam.it',13,10"
send_string dvHTML,",13,10"
}
string:
{
// parsing data here soon.....
}
}