Seabright Technology Header Image

stattrac

stattrac.py is a command line tool that scrapes a Trac wiki and turns it into a static HTML version. Useful for having a read/write internal wiki to author in which is then pushed in a quick, static, read only version to the web.

Source:

Usage:

stattrac.py [-t template.html] trac-url

Example:

stattrac.py -t template.html http://localhost:8080/Wiki/

The template may have the tags:

  • $BODY$ - replaced with the body of the Trac page
  • $ROOT$ - replaced with the root of the scraped site

Author:

Copyright 2009, Michael Hope < michaelh@juju.net.nz>

License:

GPL v2. See  http://www.gnu.org/licenses/gpl-2.0.html