Project/2010 Goals/Tools/Colloquy/Pretty Print

From MozillaWiki
Jump to: navigation, search

Colloquy MediaWiki Pretty Print

Transforms a Colloquy XML chat log into Mediawiki wiki format

Download XSL

The output includes inline anchors so that specific times can easily be linked to. e.g. Project/2010_Goals/IRC/2010goals/2008-10-23#12:00

To apply the script, save a copy of the transcript to pretty-print using File -> Save As then open a terminal and run the following command (ensuring that you input the right paths for the referenced files):

 xsltproc colloquy-mw-prettyprint.xsl path/to/transcript.xml > output.txt

The results will be stored in output.txt

Note: The script is intended for 24 hour or less of logs.

Also, I've thrown a copy at the Colloquy team at http://colloquy.info/project/ticket/1285