
10:18pm, Friday 9 July 2010
About a year ago I
threw together a hacky mess of Perl and
gnome-swallow-applet
to display the BBC's 3-day weather
forecast in the Gnome panel. I recently
rewrote it to use Perl's Gnome2::PanelApplet
which seems to have had the relevant bug(s) fixed since I last tried.
There are still some rather rough edges: you'll still need to change the feed location from the coded-in one for Cambridge to something suitable for your location; and don't look at the code dealing with the use of a web proxy. Still, the embarrassing match-happy regexp error which meant that Sunday was always displayed as being sunny is gone...
It needs a bunch of Perl modules, including Gnome2::PanelApplet (from CPAN,
or Debian packaged for i386 by me here). Drop this
script in /usr/local/bin
and this applet description file in
/usr/lib/bonobo/servers
and you should be able to do the
usual right-click/add to panel.
Have fun. If you fix any FIXMEs please let me know.