Hi, > I'm looking for a way to integrate the latest post on my blog into my > .signature-file. I remember having come across something like this > months ago, but can't seem to find it now. Maybe you know a simple > solution? The result should look something like my manual sig below.
I recently discovered a tool called xmlstarlet which lets you extract stuff from xml data. Maybe you could use something like this on your blog's rss feed: $ curl -s http://michaelmaurer.net/rss.xml | \ xmlstarlet sel -t -m /rss/channel/item -v link -n | \ head -n1 > ~/.signature Marc