wp-weather

Latest version: 0.3.8
Please update to the latest version. I apologize for the rash of updates, but this version should fix all issues while allowing multiple forecasts to be used. Hopefully this will be the final update for quite some time.

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.
[weather_display]
If you want to show different cities on different pages/posts you can specify a location id:
[weather_display location_id="75034"]
If you’d like to display more days than default (what you set in the plugin options page):
[weather_display forecast_length=5]

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.

Preview:

221 responses to “wp-weather”

  1. 月光沼泽-MoonSwamp

    WP Plugin:wp-weather…

    This plugin display local weather information on your blog

    Table of Contents

    Name(插件名称)
    Author(插件作者)
    Version(插件版本)
    Download(下载插件)
    Introduction(插件介绍)
    Installation(安装插件)

    Name….

  2. moonswamp

    Thanks for your plugin,I ‘ve collected it on my blog here

    http://www.tearsea.com/?p=632

  3. Fred Greco

    Is there any possible work around to use this plugin if your server only has PHP4?

  4. Jim

    Is there a way to show more than one city location?

  5. Hex

    Is there any way..to use this plugin without widgets?

  6. BeStMaker

    Nice, i gonna try this! thanks!

  7. BeStMaker

    i have a problem with this plug, i have the ID number and the licence key but not the other required fields… and when i update the options my blog “crash”.

    Check in this pls
    http://img95.imageshack.us/img95/4548/clipboard01fl2.jpg
    thanks

  8. BeStMaker

    :( yeah, i have PHP version 4.4.4 in blue host provider, thanks for ur time.

  9. Rusty Miller

    I get the following error when I activate your WP Plugin:

    Warning: require_once(/home/incog/public_html/blog/wp-admin/upgrade-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/incog/public_html/blog/wp-content/plugins/wp-weather/wp-weather.php on line 33

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/incog/public_html/blog/wp-admin/upgrade-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/incog/public_html/blog/wp-content/plugins/wp-weather/wp-weather.php on line 33

    I noticed that I do not have the file “upgrade-functions.php” in that folder and suspect this is the problem.

    What is that file for, and why don’t I have it?

    I’m running WP 2.0.5.

    Thanks in advance.

  10. Rhon Fitzwater

    What code do I need to enter in my sidebar.php file to get this working? I installed the plugin and configured it without problems. But now I am stuck with how to get it up and running on my site. I have WP 2.1 installed along with PHP5. Any help would be appreciated.

1 2 3 ... 15