So weather.com killed off the feeds for free on November 15, 2011. Strange thing…my feed is working now. I don’t know if it will work for new subscribers but it appears the old API keys do work! Cheers!
Latest version: 0.4.4
If your images are not displaying, go the the plugin settings page and select an image set. It should default to the original images, but if not, this is how you fix it. To make the plugin more easy to upgrade/install I’ve included two icon sets, weathercom (default) and Samurize. To download more, they can be obtained here: wp-weather-icons. Unzip them and upload to plugins/wp-weather/images.
Download link: http://wordpress.org/extend/plugins/wp-weather/
I have been using weather.com’s XML web service to display local weather information on my family website for several years. I decided to make the PHP code into a widget for wordpress. Here’s where you sign up for their service: http://www.weather.com/services/xmloap.html
This widget uses a database table to cache the data for a half hour to avoid hammering the web service. Additionally, if you are using the wp-cache plugin, any changes to the options clear the cache.
To install: upload to your plugin directory, activate the plugin, set the options and add the widget to your sidebar. Your location ID is a zip code for US and an alphanumeric code for international. Take Dublin for example – when searching for Dublin on weather.com you are taken to the following page: http://www.weather.com/weather/today/Dublin+Ireland+EIXX0014 and EIXX0014 is the location code.
Additionally, you may use a shortcode on any post or page.
If you want to show different cities on different pages/posts you can specify a location id:
If you’d like to display more days than default (what you set in the plugin options page):
I’ve also added support for a custom post field titled weather which takes a location code. Using the Weather Custom Field widget for your sidebar, you can have relevant weather information pertaining to the custom field location on any page or post.
weather.com has made changes to their servers which now REQUIRE you to enter a partner id and license key in this plugin’s settings. If you do not, they will not send the complete forecast data which in turn will break this plugin.