logo

Blog

Parse Yahoo Weather Data XML with PHP

May 14, 2009 PHP

I’ve looked at parsing weather data with PHP before, but I’ve found that using Yahoo’s weather service it more stable and flexible. Luckily PHP has some excellent built in functions to parse complex XML.

Show the Current Temperature Using XML and PHP

Nov 7, 2008 PHP

It is neat to display the current temperature on your website. I’d like to show you the easiest way to display the temperature on your site using XML from the National Weather Service (NOAA) and PHP.