Add LabeledCircle to Mechanics.asy and base Mass and Charge off of it.
[course.git] / announcements / README
1 Construct the atom feed using
2   atomgen -o atom.xml <command> <command options>
3 See
4   atomgen --help
5 for more information.
6
7 For example:
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
13
14 I've written little scripts to simplify my more common calls to
15 atomgen, and these scripts live in the creatively-named `script'
16 subdirectory.
17
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
26   :0
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) ---^