WeatherIcon

WeatherIcon v3 is currently in development. If you’d like to download it and help out by testing it, you can find a link in this blog post.

WeatherIcon (original site here) was originally developed by Jeremiah Poling and Garett Harnish. They deserve 99.9% of the credit for this plugin, I just added a little bit of code. Garett is also still actively working on this plugin and much of the code available in these new versions is from him.

Lastest Version:

  • Version 2.3.2 (March 3rd, 2006) [Download]

Description:

WeatherIcon is a WordPress plugin that will display the current weather for a specified location. Look to your right to see it in work — it’s displaying my current weather. (The location text, current day & time, and “powered by” is part of my WordPress theme, not part of the plugin.)

The plugin fetches it’s data from the NOAA website and caches it for the time that you specify in the WeatherIcon options panel. You also configure what items you want to display. Here is a list of all of the items that you can display:

  • An icon like the one to the right that changes to match the weather and for daylight / nighttime
  • Temperature
  • Humidity
  • Wind
  • Dew Point
  • Visibility
  • Clouds
  • Barometer
  • Wind Chill
  • Heat Index
  • Sunrise
  • Sunset

You also get to choose from Fahrenheit or Celsius for the temperature, miles or kilometers for the visibility, and 4 different units for the wind speed.

Support / Feature Request Forums:

http://www.viper007bond.com/wordpress-plugins/forums/

WP-Dash Widget Screenshot:

Note that the widgets will display whatever data you want and resize automatically, not just what’s shown in the examples below.

WeatherIcon WP-Dash Widget Screenshot

Requirements:

  • WordPress v1.5+ (yes, this plugin works fine in WordPress v2.x)
  • WP-Dashoptional, but required to get weather on your dashboard like in the above screenshot

Download Latest:

  • Version 3.0.0 Beta — Suggested download even though it’s not a finalized version (runs well, lots more features, and is much less buggy)
  • Version 2.3.2 — Released on March 3rd, 2006 (just a small bugfix)

Make sure to read the included readme, especially if upgrading from a version older than v2.1.0! :)

Download Old Versions:

Just kept for archival purposes. Not advised for use unless you have to for some reason.

Can I use this script on a non-WordPress powered site?

No, not out of the box. It’s a WordPress plugin and it uses many, many WordPress functions to store it’s options and such. However, the METAR processing class in version 3 (it’s what processes the data retrieved from NOAA) is WordPress independent I believe, so that may be a good starting point if you wish to go that route.

59 Comments On This Page

Pages: « 1 2 3 [4] Show All

  1. Oke on what page and where do I have to put this code in?

    Thx

  2. Just replace what you had with what I gave you.

  3. I am sorry,
    I didn’t described very well what I ment (poor in english sorry). I only want the dot infront of the weather picture gone. So no dot infront of the .gif picture. Kinda looks weird, but I do want the dots infront of the other output. Is there a solution for this?

    Sec. In the css file you can replace the dots for an image/icon. How can I do this for this weather plugin? What code to add in the css to change this? I already have a icon for it, but i am too noob to figure out how to change it using css.

    Thank you for your time!

    Null

  4. Okay, moving to the support forums since this is more than just a quick question.

  5. it seems as though the sunrise/ sunset feature in the options page does not work outside north america. is this true? i am trying to get it to work from vietnam. perhaps i am entering incorrect numbers in the sunrise and sunset hours? my server is in the united states though.

  6. It fetches the sunrise/sunset data from WeatherUnderground.com and that site may not return any results for your location or may not have the sunrise/sunset for your location.

    Replace XXXX with your weather station:

    http://mobile.wunderground.com/cgi-bin/findweather/getForecast?brand=mobile&query=XXXX

  7. I dont know if you thought this was solved or not, but on my blog, the damn plugin is still asking for NIGHT icons that dont exist, such as n_4cloud_modrain.gif. I am not sure how to make it stop, but I have picked up the most recent version of the plugin but, as of yet, had no success. Ideas? Heres the blog

  8. Why not MAKE the images it is looking for by duplicating some and renaming them?

  9. Not a bad idea, not a bad idea at all. Still, its a bug that I think needs some attention.

  10. Yeah, version 3 is in the works. We’ll make sure to add checking to make sure that the icon exists and if not, just display nothing or something.

  11. Hi great plugin, have just uppgraded to 2.3 and are really happy about the option to automaticly get sunset and sunrise hours as I want to display the weather both in Sweden and Australia and I was wondering how to adjust for the time difference.

    The plugin recieves the times but somewhere converts the Australian time wrong (my server is in sweden) It tries to display the Australian sunset and sunrise times in western European Standard Time (I assume to understand when in european/server time to say that it’s day/night in Aus) but instead of removing 10h from the Aus time it adds 6h, have tried to look trough the .php file to find the problem but are a bit limited in my knowledge. It’s also a bit tricky as when daylight savings change the time difference changes to 8h (I have fixed that in my clock setting thought by this function):

    $summertime = date(’I');
    if ($summertime == 0) {
    $hourdiff = 10;}
    else {
    $hourdiff = 8;}

    Would be greatful for help with this Issue

    Cheers /Jakob

  12. By the way, if it helps here are the weather stations I wish to show:

    Gothenburg, Sweden: ESGG
    Melbourne, Australia: YMML

    My page is still under construction so it is not online yet (iis5.1 on my computer php5 and MySQL5)

    Thanks in advance /jakob

  13. Jakob - I’ve started a thread for you in our support forums. We’ll continue this there as I don’t wanna clog up these comments. ;)

    http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=42

  14. Oh, and locking these comments. All of the comments here are really just support questions and it’s best/easier to keep those to the forums.

    So, if you have a question now, ask here: http://www.viper007bond.com/wordpress-plugins/forums/

Pages: « 1 2 3 [4] Show All

Sorry, but the comments are closed on this page and therefore you cannot reply.

Discussion Elsewhere