From b5a8a9d513941817e1a085b2cd6aede77279e93a Mon Sep 17 00:00:00 2001 From: davyd Date: Sat, 6 Mar 2004 06:36:03 +0000 Subject: [PATCH] More updates, changelog has it all --- Changelog | 7 +++++-- crontab | 7 +------ launch-update-planet.sh | 15 +++++++++++++++ sidebar.html | 29 ++++++++++++++++++----------- 4 files changed, 39 insertions(+), 19 deletions(-) create mode 100755 launch-update-planet.sh diff --git a/Changelog b/Changelog index a6894d0..ac9fbb7 100644 --- a/Changelog +++ b/Changelog @@ -10,12 +10,15 @@ Reflected API changes to XMLWriter, added generator for RSS2 feed. Added generator for RSS1 feed. * crontab - Added line to scp rss2.xml to mussel. - Added line to scp rss1.xml to mussel. + Changed crontab to use launch-update-planet.sh * XMLParse2 Added line to give personalised USER_AGENT. * Added RSS1Writer.py Output plugin for RSS1 files. + * Added launch-update-planet.sh + A shell script to wrap update-planet. + * sidebar.html + Updated sidebar. 2004-02-28 ========== diff --git a/crontab b/crontab index 698ca49..d480301 100644 --- a/crontab +++ b/crontab @@ -1,6 +1 @@ -*/5 * * * * cd $HOME/projects/planetucc/ && \ - ./update-planet > /dev/null && \ - scp $HOME/projects/planetucc/planet.html planet@mussel.ucc.asn.au:public-html/index.html 2>/dev/null && \ - scp $HOME/projects/planetucc/rss2.xml planet@mussel.ucc.asn.au:public-html/rss2.xml 2>/dev/null && \ - scp $HOME/projects/planetucc/rss1.xml planet@mussel.ucc.asn.au:public-html/rss1.xml 2>/dev/null - +*/5 * * * * $HOME/projects/planetucc/launch-update-planet.sh 2>/dev/null diff --git a/launch-update-planet.sh b/launch-update-planet.sh new file mode 100755 index 0000000..f6cd890 --- /dev/null +++ b/launch-update-planet.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# +# launch-update-planet.sh +# +# A nice script to call update-planet and ship the files off to mussel. +# This script is suitable for cron, and shell execution. +# +# (c) 2004, Davyd Madeley + +OLDPWD=`pwd` +cd $HOME/projects/planetucc/ +./update-planet +scp planet.html planet@mussel.ucc.asn.au:public-html/index.html +scp rss[12].xml planet@mussel.ucc.asn.au:public-html/ +cd $OLDPWD diff --git a/sidebar.html b/sidebar.html index 51df44e..a05da67 100644 --- a/sidebar.html +++ b/sidebar.html @@ -1,21 +1,28 @@

About Planet UCC

Planet UCC is an aggregation of weblogs - for UCC members. Planet UCC was written - from scratch in + for members of the + University Computer Club at the + University of Western Australia.
+ Planet UCC was written from scratch in Python - with help from - the Gimp - and other tools.
- Planet UCC now uses XMLParse2, a next generation - parser that uses - feedparser. - This means that Planet UCC can now parse 9 different types of RSS and - Atom (from Blogger). + and makes extensive use of Mark Pilgrim's + feedparser + module. Planet UCC tries to remain compatible with standards recommended by + the W3C, however occasionally subscribed blogs + have HTML errors in them.
Those interested in the source can check it out from UCC CVS.
- Planet UCC can be considered BETA + Members who want to be syndicated onto the Planet UCC blogroll should email + the Planet Master. +

+

Syndication

+

+ Planet UCC offers + RSS 1.0, and + RSS 2.0 + feeds of this webpage.

Links

-- 2.20.1