[mythtv-users] MythWeb weather, broken or is it just me?

Joe Ripley vitaminjoe at gmail.com
Tue Sep 16 22:13:19 UTC 2008


On Tue, Sep 16, 2008 at 1:46 PM, Sebastian Buks <sebastianbuks at yahoo.com> wrote:

> Well, this was not my problem since I dont have any issues with the
> animated map. I think I'm using the BBC (uk_bbc) script since I live
> in Sweden. The animated map also has the BBC logo on it. Does anyone
> know how I can pass stuff manually to the bbc scripts in order to
> figure out what is wrong. Also I know I had some missing perl libs
> before. Maybe there is still some missing. Any documentation on which
> one needs to use or should this show in apache2/error.log?
>
> Seb


I think the problem is coming from the BBC.  When I try grabbing the
weather data for Malmo, Sweden, I get this:

# cd /usr/share/mythtv/mythweather/scripts/uk_bbc
# ./bbccurrentxml.pl -u SI -d . W4613
appt::NA
copyright::Â(c)BBC Weather
station_id::4613
cclocation::Malmo, Sweden
observation_time::Tuesday at 2000 GMT
weather::N/A
weather_icon::unknown.png
temp::9
wind_dir::E
wind_spdgst::6 (NA)
relative_humidity::85
pressure::N/AmB
visibility::40+

The XML that the grabber is getting comes from:
http://feeds.bbc.co.uk/weather/feeds/rss/obs/world/4613.xml

As of right now, the weather conditions are 'N/A', which obviously
translates as unknown.  As for the Three Day Forecast:

# ./bbcthreedayxml.pl -u SI -d . W4613
copyright::Â(c)BBC Weather
station_id::4613
3dlocation::Malmo, Sweden
updatetime::Updated Tue Sep 16 16:11:08 2008
date-0::Wednesday
icon-0::sunny.png
high-0::14
low-0::10
date-1::Thursday
icon-1::sunny.png
high-1::13
low-1::5
date-2::Friday
icon-2::sunny.png
high-2::14
low-2::9

It seems to be fine. (Source:
http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/4613.xml)

This is running version 0.1 of both BBC grabber scripts.

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list