Until Greg gets a chance to finish his weather parsing updates here is a
patch for those wanting to fix the "Feels Like" reading in version
5.8.12.

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.

Hope this helps,
Don


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

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to