tedfroop;618393 Wrote: 
> 
> Could you specify which lines you changed please, I am likely having
> the same problem you are.

Here is the code from my Plugin.pm file with the line numbers added for
reference.  Adding lines 3184-3186 are what worked for me:

Code:
--------------------
    
  3177          #Next36 'B' prec
  3178          @matches = $tree->look_down( "_tag", "td", "class", "twc-col-3 
twc-line-precip" );
  3179 
  3180          if (scalar @matches == 0) {
  3181                  @matches = $tree->look_down( "_tag", "td", "class", 
"twc-col-3 twc-line-precip " );
  3182          }
  3183 
  3184          if (scalar @matches == 0) {
  3185                  @matches = $tree->look_down( "_tag", "td", "class", 
"twc-col-3 twc-line-precip severe-snow-highlight" );
  3186          }
  3187 
  3188          $outcome_txt = $matches[ 0 ]->as_HTML;
--------------------


I just checked the weather.com page for Edmonton, and there is no
severe-snow-highlight on the source page, so I'm not sure the above fix
will work for you (I'm assuming you are in Edmonton as your location
indicates).  What error, if any, are you getting?


-- 
ddyck
------------------------------------------------------------------------
ddyck's Profile: http://forums.slimdevices.com/member.php?userid=44890
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