To manage this website: **** Static information **** This information should only need to be setup at the beginning of the course. ** Introductory Blurbs ** You should change the introductory patter in all the *.shtml files as necessary to suit your course. ** Contact Information ** Add appropriate entries to the profs.xml, TAs.xml, and webmaster.xml files in the xml directory. The prof and TA files are formatted into XHTML by people.php, and the output is included in contact.shtml. The webmaster xml file is formatted by webmaster.php. Because the formatting occurs at run-time, the served page will always reflect the current xml data. ** Course Information ** Add appropriate entries to the course.xml file in the xml directory. The course xml file is read by course.php. See the title of index.shtml for an example of how to use this information dynamically in your HTML. **** Dynamic information **** ** Assignments / Section documents ** This material gets added and updated as the course progresses. Basically, it consists of a lab, rectitation, exam, etc. files (e.g. problems, solutions, procedures, etc.). The contents of the directories in doc (e.g. labs) are scanned by section_docs.php to create a list of all the files in the directory (e.g. 'doc/lab/' beginning with a certain prefix (e.g. lab[0-9], starts with 'lab'). So simply dumping the appropriate files into the appropriate directory should get them displayed on the website. If you want to add a comment to a section document section (e.g. to point out the due date for hwk3, or the date/time/room of exam1), just add the a relevant XHTML snippet to the *_comment file. For example:

The Interference lab starts on Wed., April 08, 2009.

Wednesday, April 8, Thursday, April 9 and Friday, April 10, 2009: EVEN number sections 060, 062, 064, and 66.

Wednesday, April 15, Thursday, April 16, and Friday, April 17, 2009: ODD number sections 063, 065, 071, and 073.

If you have something that you want to put up later (e.g. solutions) you can chmod it 640 (so that it's not world-readable), and the php parser will ignore the file. After you have collected the homework/exam/etc., you chan chmod 644 the file (so that it is world readable) and it will show up on the website. ** Announcements / Atom feed ** Course announcements should be formatted in an atom feed http://en.wikipedia.org/wiki/Atom_(standard) Atom feeds may be generated with a number of tools, but a simple command-line generator for linux is http://www.physics.drexel.edu/~wking/code#atomgen Once you've generated the atom.xml file, copy it into the xml directory so atom.php can find it, and the announcements page will be filled in automatically. Another benefit of this approach is that a feed monitor such as rss2email can be used to monitor the feed and send classwide emails out whenever a new announcement is posted (http://rss2email.infogami.com/).