<?xml version="1.0"?>
<rss version='2.0' xmlns:atom="http://www.w3.org/2005/Atom">

<channel>
<title>Dave Holland's weblog</title>
<link>http://www.biff.org.uk/dave/</link>
<description>Dave Holland's weblog</description>
<generator>Personal Weblog</generator>
<atom:link href="http://www.biff.org.uk/dave/rss" rel="self" type="application/rss+xml" />


<item>
<title>Orange or lemon cake</title>
<link>http://www.biff.org.uk/dave/370.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/370.html</guid>
<pubDate>Tue, 13 Jul 2010 21:26:10 +0100</pubDate>
<description>100g margarine&lt;br&gt;
150g sugar&lt;br&gt;
1 lemon, grated and juiced (or an orange)&lt;br&gt;
1 egg, beaten&lt;br&gt;
100g SR flour&lt;br&gt;
7&quot; tin, greased and lined (or save effort with a silicone tin)
&lt;p&gt;
(also works well with everything doubled, in a bigger tin)
&lt;p&gt;
Melt the margarine in a saucepan and mix with the sugar. Take it off the heat and mix in the lemon rind, then the beaten egg. Fold in the flour and put the mixture into the tin. Bake at 180&amp;deg;C for 25-30 minutes. In the same saucepan (to save washing up) heat the lemon juice and &quot;some&quot; sugar. Stab the cake all over with a fork and pour the syrupy mess over the cake. Try hard not to take it out of the tin until it's cooled.</description>
</item>
<item>
<title>Weather forecast in the Gnome panel, revisited</title>
<link>http://www.biff.org.uk/dave/369.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/369.html</guid>
<pubDate>Fri, 09 Jul 2010 23:18:16 +0100</pubDate>
<description>&lt;a href=&quot;http://www.biff.org.uk/dave/365.html&quot;&gt;About a year ago&lt;/a&gt; I
threw together a hacky mess of Perl and
&lt;code&gt;gnome-swallow-applet&lt;/code&gt; to display the BBC's 3-day weather
forecast in the Gnome panel. I recently
rewrote it to use Perl's &lt;code&gt;Gnome2::PanelApplet&lt;/code&gt;
which seems to have had the relevant bug(s) fixed since I last tried.

&lt;p&gt;

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...

&lt;p&gt;

It needs a bunch of Perl modules, including Gnome2::PanelApplet (from &lt;a
href=&quot;http://search.cpan.org/~tsch/Gnome2-PanelApplet-0.03/&quot;&gt;CPAN&lt;/a&gt;,
or Debian packaged for i386 by me &lt;a
href=&quot;http://eyas.biff.org.uk/~dave/libgnome2-panelapplet-perl_0.03-1_i386.deb&quot;&gt;here&lt;/a&gt;). Drop &lt;a
href=&quot;software/bbc-weather-forecast&quot;&gt;this
script&lt;/a&gt; in &lt;code&gt;/usr/local/bin&lt;/code&gt; and &lt;a
href=&quot;software/bbc-weather-applet.server&quot;&gt;this applet description file&lt;/a&gt; in
&lt;code&gt;/usr/lib/bonobo/servers&lt;/code&gt; and you should be able to do the
usual right-click/add to panel.

&lt;p&gt;

Have fun. If you fix any FIXMEs please &lt;a
href=&quot;mailto:dave@biff.org.uk&quot;&gt;let me know&lt;/a&gt;.
</description>
</item>
<item>
<title>Response to DCSF's &quot;Home Education - registration and monitoring proposals&quot;</title>
<link>http://www.biff.org.uk/dave/368.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/368.html</guid>
<pubDate>Fri, 16 Oct 2009 01:08:55 +0100</pubDate>
<description>The Department for Children, Schools and Families is &lt;a href=&quot;http://www.dcsf.gov.uk/consultations/index.cfm?action=consultationDetails&amp;consultationId=1643&amp;external=no&amp;menu=1&quot;&gt;consulting on proposed changes to registration and monitoring of home-educated children&lt;/a&gt;.
&lt;p&gt;
This is my response, which was allocated number 2284. Many thanks to friends and others (including the Family Education Trust) for suggestions and ideas for points to include. Please feel free to borrow from it if you want - if it encourages you to reply to the consultation, so much the better!</description>
</item>
<item>
<title>Kwiki title bug</title>
<link>http://www.biff.org.uk/dave/367.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/367.html</guid>
<pubDate>Mon, 21 Sep 2009 12:10:52 +0100</pubDate>
<description>Note to self:
&lt;p&gt;
Kwiki has a bug in the tabnav theme where the page title doesn't get set properly. To fix, edit &lt;code&gt;theme/tabnav/template/tt2/kwiki_screen.html&lt;/code&gt; and change &lt;code&gt;page_id&lt;/code&gt; (line 9 or so) to be &lt;code&gt;page_name&lt;/code&gt;.
&lt;p&gt;
Simples...</description>
</item>
<item>
<title>Spam of the day</title>
<link>http://www.biff.org.uk/dave/366.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/366.html</guid>
<pubDate>Tue, 15 Sep 2009 10:17:43 +0100</pubDate>
<description>&lt;blockquote&gt;&lt;pre&gt;Subject: INVITATION TO SUPPLY ONE MILLION BATH TOWELS&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;
Do you know where your million towels are?</description>
</item>
<item>
<title>Weather forecast in the Gnome panel</title>
<link>http://www.biff.org.uk/dave/365.html</link>
<guid isPermaLink="true">http://www.biff.org.uk/dave/365.html</guid>
<pubDate>Sat, 01 Aug 2009 00:04:13 +0100</pubDate>
<description>It's annoyed me for some time that the standard Gnome weather
applet doesn't display forecasts for the UK (it's a &lt;a
href=&quot;http://bugzilla.gnome.org/show_bug.cgi?id=467697&quot;&gt;long-standing
bug&lt;/a&gt;). So I scratched the itch.
&lt;p&gt;
Given that I'd be hacking something together in Perl, the
&lt;code&gt;Gnome2::PanelApplet&lt;/code&gt; module seemed like a good place to
start. It didn't take long to get something that mostly worked. But,
er, either I'm doing something wrong or &lt;a
href=&quot;http://mail.gnome.org/archives/gtk-perl-list/2004-June/msg00018.html&quot;&gt;there
are still some lurking bugs&lt;/a&gt;; my applet wouldn't add properly from
the Gnome menu, only if I started it from the command line first.
&lt;p&gt;
&lt;img
src=&quot;http://farm4.static.flickr.com/3577/3776480600_2924503057_o.png&quot;
alt=&quot;oh look, it's going to rain&quot; align=&quot;right&quot; border=1&gt;So I resorted to &lt;a
href=&quot;http://packages.debian.org/search?keywords=gnome-swallow-applet&quot;&gt;&lt;code&gt;gnome-swallow-applet&lt;/code&gt;&lt;/a&gt;
which is a clever (but revolting) hack to &quot;swallow&quot; any X window into
the panel, and wrote a script to parse the &lt;a href=&quot;http://news.bbc.co.uk/weather/hi/about/newsid_7788000/7788189.stm&quot;&gt;BBC's weather RSS feeds&lt;/a&gt; and display icons for the upcoming days. This is what it looks like. &lt;a
href=&quot;/dave/software/bbc-weather-forecast&quot;&gt;You can download the script&lt;/a&gt;;
change the feed URL for your location, and enjoy. If
you fix any of the bits labelled &lt;code&gt;FIXME&lt;/code&gt; please &lt;a
href=&quot;mailto:dave@biff.org.uk&quot;&gt;send me a patch!&lt;/a&gt;
</description>
</item>

</channel>
</rss>