• 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.
    Download:

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

Viewing 3 replies - 31 through 33 (of 33 total)
  • anyone have the .zip version of this?

    I keep gettng the following error similar to this one and i don’t know how to fix it…..

    Warning: Cannot modify header information – headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 6

    Warning: Cannot modify header information – headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 7

    Warning: Cannot modify header information – headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 8

    Warning: Cannot modify header information – headers already sent by (output started at C:\www\kalimpong_try\wordpress\wp-content\plugins\getweather.php:2) in C:\www\kalimpong_try\wordpress\wp-admin\admin.php on line 9

    and one similar to this:
    # Warning: fopen(https://mattluria.com/test/wp-content/plugins/weather_cache/metar_cache_KOUN.txt): 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

    I have manage to get this plugin up and running well at https://www.indochinehotel.com/weather and I want to extend its feature a bit by going into 4 day extended forecast.

    I understand that the plugin is simply pull information from https://www.weather.com by parsing its XML file.

    Therefore, I come up with this https://www.indochinehotel.com/weather/forecast/
    As you can see, I have no problem pulling the data from weather.com for extended 4 days in the future. The problem is that I can’t (don’t know how to) specific that date for each data date. By the way, I know this line is responsible for pulling XML feed
    $output .= lir(“<h3>” . $params[“2.0″][DAYF][$count].”</h3>”, $val);
    where $count is just a variable that I loop to get the extended forecast. And that produces “Array” as you can see on the website.

    Anyone has any idea on how to do this?

    Also for preference. This is all the date that I got for my site. I didn’t do with 10 days but just a short 4 or 5 days only https://www.weather.com/activities/travel/businesstraveler/weather/tenday.html?locid=VMXX0007

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