Yesterday I did some checking, the <pop> field is there but it does not
always contain data.

See:
http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=frankfurt
Versus:
http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=berlin

Frankfurt has <pop/>
Berlin has <pop>27</pop>

Given that I have made some modifications/checks in my local code. So I
now see  "-- %" instead of the bogus number.


In wunderground.pm, line 247:
        'ppcp' => ref($_->{pop}) eq "HASH" ? "N/A" : $_->{pop}


PS: the plugin is distributed as .par, which makes 'hacking' slightly
more difficult.
PPS: I have no real problem with doing direct modifications to the code
in SVN at googlecode.


-- 
w42

*sc 7.3.2 on debian lenny/2.6.26-2-686*
*sb3 wired + sb3 wireless*
------------------------------------------------------------------------
w42's Profile: http://forums.slimdevices.com/member.php?userid=2498
View this thread: http://forums.slimdevices.com/showthread.php?t=21989

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

Reply via email to