hi hans
thanks for the link, i checked it briefly yesterday, not sure if i will be able to find the part of code i need, it seems a bit too bit and it is C, probably easier to do it myself in python.
The weather.com city codes look like the same as weather.yahoo.com it seems to me that they both access the same system to get the data. thats interesting, i found already several weather forecast systems that are actually the same in the background.
enrike
Hans-Christoph Steiner(e)k dio:
This program for Mac OS X gets the data from weather.com, I think:
http://heat-meteo.sourceforge.net/
It's open source, so you could get the parsing code.
.hc
On Jun 25, 2008, at 10:59 AM, altern wrote:
hi
anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD.
At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD.
Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS.
However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission " ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ..."
I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data?
thanks
enrike
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Mistrust authority - promote decentralization. - the hacker ethic