Categories

Updated: 01/20/2007

MyWeather

MyWeather is a PHP class that uses the Yahoo! RSS weather feed. Results are returned in arrays so the output can be designed by you. The data returned includes the current conditions (temp, image, and text description) and two forecasts (hi, low, image, and text description). The class takes a zip code and format (F or C) and caches the results for 1 hour (as specified by Yahoo!) in a flat file (no database required). Class includes a demonstration and all weather images. Version 1.1 fixes a small glitch and provides more attributes, like wind chill, humidity, and many more.
©2003-2019 jCay.com