pratie

weather check

Published: September 2005

Enter a US Zip Code or a Yahoo Location ID.
Sample Yahoo Location IDs: EIXX0014, FRXX0076, USNM0004, USHI0026.
Error:Please provide a valid US Zip Code or a valid Yahoo Location ID.

A Yahoo location ID can be found by searching for your city at Yahoo! Weather. The end of the URL for your city should look something like: EIXX0014.html. Grab the 8 digit code that precedes the '.html', and paste that into the search box above.

This weather check pulls data from the Weather RSS feeds provided through the Yahoo! Developer Network. Yahoo! opened up their UI library, Design Patterns, and various APIs. MSXML parser is used to pull out specific elements and attributes from the RSS feed.

View the source code.