Support » Plugins » GetWeather Plugin Available

  • GetWeather
    A simple plugin for quickly adding weather stats to your blog.
    Installation is really easy – edit, upload, activate, edit template, done.
    Function call can be very simple:
    <?php get_weather(94115); ?>
    to very complex:
    <?php get_weather(94115, 'SFCA!', 'temp,icon,high,low,wind'); ?>
    In addition, it includes a very nice icon set found out on the net – you can find others over at these forums as well.
    I have a demo running, so check that out.

    Simple installation instructions are included in the getweather.php file – besides, you only need to edit one line for the icon path šŸ˜€

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thank you for sharing this with us all.
    You could add the plugin to the list at for maximum visibility.

    Thread Starter chuyskywalker


    Thanks for the advice. It’s on there now! šŸ˜€

    This looks pretty cool! Cheers!

    How do you get rid of the bullet points?

    Validation has been defeated on my site! There is probably no way it will ever validate šŸ˜‰
    I figure that as long as it looks the way I want it to on Firefox AND Internet Explorer – I’m good enough
    Thanks for the real solution though, I will actually use that intstead (one day)
    Again – great, simple and useful plugin, chuyskywalker!!

    Hey 404studios howd you get the international code to work again? Say if I want to do it for Calgary, Canada do I just put
    <?php get_weather('CAAB0049') ?>

    404studios: Actually, your site would be very very easy to fix for proper validation. The majority of the errors are for things like no closing “/” in meta tags and br’s and not using alt=”whatever”:
    <meta …. />

    <img src=”….” alt=”whatever” />
    Once all those are fixed the few minor issues in the menu can then be tackled easily (ul followed by text without an li, etc.)

    I’m using this plugin, but the images don’t show up. On my home page on the right hand side halfway down (you can see the alt tag “weather icon”):
    My code in the index template is: <?php get_weather('60629','Chicago,IL', 'icon,temp,high,low,forecast') ?>
    The line I edited in getweather.php is: $iconDirURL = "";
    which is where the folder with the weather icons is. The source code for the icon line shows up as: <img src="" alt="weather icon" />
    I think I did everything ok. Any ideas?
    thanks in advance,

    I just tried using this plugin and have yet to have any success. I have it hosted on an internal LAN so I can’t show the problem, but this is the error I’m getting displayed in place of the desired weather info:
    Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/www/html/ttrpteststatus/wp-content/plugins/getweather.php on line 71
    Warning: fopen(“*&dayf=1&unit=m&#8221;, “r”) – Bad file descriptor in /home/www/html/ttrpteststatus/wp-content/plugins/getweather.php on line 71
    Weather Not Available (Read Error)
    I followed the very simple instructions to the letter and rechecked several times. Any help would be much appreciated.

    Anybody? C’mon, I know some of you are using this plugin.






    Does anyone have a zip file of this plugin available? I’m sick of this rar nonsense. šŸ˜‰



    Awesome; thanks, sdollen. šŸ™‚
    If you’re planning to keep the file up, you should add it to the Wiki.



    I’m getting this error message and I can’t find where its going goofy, I think its the site, not sure.
    # Warning: fopen( failed to open stream: HTTP wrapper does not support writeable connections. in /home/user/public_html/test/wp-content/plugins/weather.php on line 313
    # Conditions Debug
    And yes I changed the user directory in the file to my correct one, i just didn’t want to publish my username on my site.
    I checked over the code and it looks like line 313 involves the grabbing of the info at the site. any ideas on how to fix this lovely program?


    I pasted the php but how do I get it to display the info, that’s not really in the instructions and I don’t know enough to do anything more than follow step by step. what’s the html that I should put it to get a list? more specifically I mean what goes between the opening li and closing li that delivers the info pulled from the weather site?

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘GetWeather Plugin Available’ is closed to new replies.