smc2911;509386 Wrote: 
> I am also on 7.4 (7.4.1 to be precise) and have been for some time and
> SDT had worked perfectly until the recent problems. I've installed
> 5.8.12 and that seems to have almost sorted everything out but the
> "feels like temperature" is currently showing -17 degrees (celsius). 
> The actual temperature is 31 degrees celsius (about 88 fahrenheit) and
> it's only going to get hotter today in Sydney, so -17 is a bit off.
> Weather.com seems to have it right at
> http://www.weather.com/weather/today/ASXX0112 so I am guessing that this
> is a problem with the parsing fix, perhaps only affecting those of us
> using celsius.

Change lines 2825 & 2826 as follows:

FROM
        $outcome_txt = $matches[ 0 ]->content_list;
        if ($outcome_txt =~ m/^(-?\d+)/) {
        
TO
$outcome_txt = $matches[ 0 ]->as_HTML;
        if ($outcome_txt =~ m/Feels Like: <b>(-?\d+)/) {

You'll find these lines in the sub gotWeather routine.


-- 
BoomX2
------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=73222

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to