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.
stattrac.py [-t template.html] trac-url
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
Copyright 2009, Michael Hope < email@example.com>
GPL v2. See http://www.gnu.org/licenses/gpl-2.0.html