On PHPied.com, Stoyan Stefanov shows how, via a simple bit of code (using some SimpleXML) he replaced the javascript widgets he was previously using for weather information.
So it was time for a change, since those buttons were generated by some javascripts, hosted by theweathernetwork, which is kind of a web 1.0 way of sharing content. In the days of APIs and stuff, this is a shame.
He dropped theweathernetwork.com's information and went for something a little more API-friendly - the weather feeds that Yahoo! offers. Once he figured out the right URL parameter to pass for the cities, it was just a matter of whipping up a 30 line script (using SimpleXML) to grab the weather information for the city and echo out the data.