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.
1 comment:
Interesting post and thanks for sharing. Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.will be referring a lot of friends about this.Keep blogging.
Joomla developer
Post a Comment