Yahoo! Weather Module

Yahoo! Weather Module for Google Homepage is my first module for displaying weather information provided by The Weather Channel. Anyway, Google already published Weather Module integrated as overlay on Google Maps. Unfortunately, the weather data are not available for cities outside U.S., e.g., Bangkok. That’s why I have to find new sources. Even though The Weather Channel has data around the world, it is not easy to use formatted data. Yahoo! Weather does as a proxy to provide the data in well-form RSS format so other tools, e.g., Yahoo! Widgets Engine, could query the raw data correctly.
This module uses cross platform XML parser for JavaScript from XML for <SCRIPT>. The module has just been published on Google Base. The item url is http://base.google.com/base/items?oid=4726150508691049611.
To use this module, you can just simply go to Personalized Homepage and add content using the module url via developer module (add content developer.xml). It is required that you specify 2 preferences; name and url of the RSS feed. To find out suitable RSS feed for your location, please go to Yahoo! Weather and search for the city or country you want. For example:
- Bangkok - http://xml.weather.yahoo.com/forecastrss?p=THXX0002&u=f
- Mountain View, CA - http://xml.weather.yahoo.com/forecastrss?p=USCA0746&u=f
You just need to fill an RSS feed in the second preferences.
Update
2007/02/19: Due to the change of Google Base, it is now refused to host Gadgets. The recommend gadgets hosting is Google Code instead. So the up-to-date version of this module is at below url.
http://sugree-gadgets.googlecode.com/svn/trunk/yahoo-weather.xml
- sugree's blog
- 7933 reads

Post new comment