Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Polling XML weather data to file

From: Peter Flynn <peter.nosp@-.--------.-->
To: NULL
Date: 1/4/2009 10:00:00 PM
Terje Moseid Bryhni wrote:
> Hi!
> This is probably an extreme newbie query, but anyway:
> I am trying to utilize weather forecast data from the Norwegian free weather 
> service http://www.yr.no in a home automation project to be developed in 
> LabVIEW. This weather service provides (amongst other) xml data from URL's 
> like:
> http://www.yr.no/place/Norway/Telemark/Sauherad/Gvarv/forecast.xml
> So far, I haven't been able to make LabVIEW connect automatically to process 
> the data, but I think I can have it read a file on my disk. In which case I 
> will need another application to regularly (say, every four hours) connect, 
> possibly extract and reformat xml data and save it to disk.
> 
> Any hints?

$ echo 0 0,4,8,16,20 \* \* \* wget 
http://www.yr.no/place/Norway/Telemark/Sauherad/Gvarv/forecast.xml 
\>weather.log 2\>\&1 | crontab -

Windows presumably has some equivalent facility.

///Peter


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent