![]() | Yahoo! - My Yahoo! - Help | ![]() |
Yahoo! Weather |
|
|
The Yahoo! Weather RSS ServiceThe Yahoo! Weather RSS service allows you to keep track of the weather at your favorite locations in an RSS reader or on My Yahoo!. The simplest way to subscribe to an RSS feed is to go to the page for your favorite city and click the![]() 'p' for the location identifier. This can either be a US Zip Code or the location ID as displayed on Yahoo! Weather. 'u' for units preference. (F)ahrenheit is the default. Use 'C' for celcius. These links all return the weather forecast for Sunnyvale, California with temperatures in fahrenheit.
Terms of useThe feeds are provided free of charge for use by individuals and non-profit organizations for personal, non-commercial uses. We ask that you provide attribution to Yahoo! Weather in connection with your use of the feeds. If you provide this attribution in text, please use: "Yahoo! Weather." If you provide this attribution with a graphic, please use the Yahoo! Weather logo that we have included in the feed itself. We reserve all rights in and to the Yahoo! Weather logo, and your right to use the Yahoo! Weather logo is limited to providing attribution in connection with these RSS feeds. Yahoo! also reserves the right to require you to cease distributing these feeds at any time for any reason.For application developersWhile the Weather RSS feeds provide human-readable HTML in the description tag, we've also extended RSS so the weather data can be used by application developers. In fact, the weather widget in Konfabulator uses this same RSS feed. You'll find this data in expressed in the 'yweather' XML namespace. Below are some sample tags and descriptions of their attributes.city: the name of the city country: the country region: the state, territory or national region of this city temperature: the units of temperature values in this feed, either F or C. code: A number representing the condition. See below for a complete list of possible condition codes. date: The date and time of the last report temp: The current temperature text: Short text description of the predicted condition code: A number representing the condition. See below for a complete list of possible condition codes. date: The actual date of this forecast day: The day of the week of this forecast high: The predicted high temperature for this day low: The predicted low temperature for this day text: Short text description of the predicted condition The feed also includes latitude and longitude (when available) ala geoRSS Condition CodesThe "code" number for each condition can be translated to text or an image using the following values.
|