Differences between revisions 1 and 2
Revision 1 as of 2006-01-09 23:36:02
Size: 1317
Comment:
Revision 2 as of 2006-01-09 23:52:43
Size: 1425
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl All:read
Line 27: Line 28:
Example invocation: {{{
./parse-sched.py --format=html <FinalSchedule >schedule.html
}}}

A tool for parsing the wiki source for the ["PyCon2006/FinalSchedule"] page is available in the Python SVN repository's sandbox from the sandbox/pycon directory. The script is called parse-sched.py.

Run the get.sh to fetch the current wiki source for the ["PyCon2006/FinalSchedule"]; the script will save it as FinalSchedule in the current directory.

parse-sched.py takes this file on standard input, and can generate several different output formats, chosen by the --format=<whatever> switch. The available formats are:

  • print: a pretty-printed version. This is the most human-readable version.
  • python: a Python module containing a data structure for the schedule.
  • pickle: a pickled version of the same data structure as produced by the 'python' format.
  • html: a set of HTML tables describing the schedule.

Please feel free to submit patches that add new output formats. If you have commit privileges, feel free to just check in changes that add new formats.

Additional formats I would like to see:

  • iCal
  • XML
  • RDF Calendar

Example invocation:

./parse-sched.py --format=html <FinalSchedule >schedule.html


CategoryPyCon2006

PyCon2006/ScheduleData (last edited 2008-11-15 14:01:22 by localhost)

Unable to edit the page? See the FrontPage for instructions.