Hi Greg-

That is exactly what I was thinking! The computer with the wx station
does have a web server and I was planning to stick the file in the
httpdocs dir so it can be served as well. (*Jake pines for symlinks on
window like in unix*)

The file simply contains the url I posted earlier. Using awk -F \&
'{print $x}' I was able to derive:

5=wind speed
6=wind gust
7=humidity
8=temp (f)
9=rainfaill
10=barometer

I know Perl has builtin things like sed and awk - looks like that is
what SuperDateTime is using to extract the data from the weather.com
page.

I'm not exactly sure how to handle parsing the url tho, which is
actually a text file (wu.txt) containing the url that will get served
by the wx computer. AND I don't want to much up SuperDateTime too badly
in case later we want to be able to switch back to weather.com's feed.

Thanks for you advice and help. And yes I should dig out the O'Reilly
Perl books collecting dust on my shelf.

Jake


-- 
jakematic
------------------------------------------------------------------------
jakematic's Profile: http://forums.slimdevices.com/member.php?userid=2687
View this thread: http://forums.slimdevices.com/showthread.php?t=10274

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to