Assembla home | Assembla project page
 

Changeset 256

Show
Ignore:
Timestamp:
05/08/08 22:49:51 (7 months ago)
Author:
tobias382
Message:

Fix: Updated the Weather plugin to account for a change in its API (thanks Eliav)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Weather.php

    r232 r256  
    7777        if (count($xml->loc) != 0) { 
    7878            $where = $xml->loc[0]['id']; 
    79             $feed = 'http://xoap.weather.com/weather/local/' . $where . '?cc=*&prod=xoap&par=' . $this->partnerId . '&key=' . $this->licenseKey; 
     79            $feed = 'http://xoap.weather.com/weather/local/' . $where . '?cc=*&link=xoap&par=' . $this->partnerId . '&key=' . $this->licenseKey; 
    8080            $contents = @file_get_contents($feed, null, $context); 
    8181            if (!$contents) {