1 Construct the atom feed using
2 atomgen -o atom.xml <command> <command options>
8 atomgen -o atom.xml new --title 'Physics 201' --author 'W. Trevor King' \
9 http://www.physics.drexel.edu/~wking/phys201
10 echo "Changes to the Phys201 website will be noted in this feed." | \
11 atomgen -o atom.xml add -i atom.xml 'Feed purpose' \
12 http://www.physics.drexel.edu/~wking/phys201
14 I've written little scripts to simplify my more common calls to
15 atomgen, and these scripts live in the creatively-named `script'
18 You can send automatic emails to your students when you publish new
19 announcements in the atom feed. The best way I have found to date
20 consists of monitoring the posted atom.xml file with rss2email
21 http://rss2email.infogami.com/
22 I setup r2e to monitor the feed and email me when there's a change.
23 r2e runs every 15 minutes in a cron job
24 15 * * * * /usr/bin/r2e run
25 Then I set up a procmail rule to forward the mail off to the list
27 * ^From: "Physics 201, W. Trevor King" <rss2email@null.invalid>$
28 ! `grep -v '^#' $HOME/course/announcements/addresses.txt`
29 # ^--- Make sure those are backticks, BTW (ASCII 96) ---^