SYNOPSIS

odt2html.py [-x sheet.xsl] [-o output | -a | -h] document.odt [document2.odt,...]


DESCRIPTION

odt2html.py is a python command line script that makes a basic conversion of a .odt (OpenDocument) text into a HTML file. Other conversions are possible by changing the loaded XSL style sheet.

By default, the result is sent to the standard output.

-x filename.xsl , --xsl filename.xsl
Specifies an alternate XSL sheet to be used for the conversion. Default is to use the internal XSL data.

-o filename.xyz, --output filename.xyz
Specifies a file in which to write the output. The default is the standard output.

-a, --auto
Build the output file name from the input file, by removing the .odt suffix (if any) and adding the .html suffix. Usefull when several input files are provided.


AUTHOR

Jérôme Dumonteil - jerome.dumonteil@arsaperta.com


CREDITS

This software uses the XSL file provided with the odfreader package by Daniel Carrera daniel.carrera@zmsl.com and Alex Hudson alex@stratagia.co.uk.

See http://trac.opendocumentfellowship.org/odf2html/wiki/odfreader.

It's a complete rewrite in python of their odf2html Perl script, which is a component of the odfreader package.


COPYRIGHT

Copyright 2006 by Ars Aperta http://arsaperta.com/en

This is free software. You may redistribute it under the terms of the GNU General Public License Version 2 or at your option any later version.


SEE ALSO

odfread odf2html odfconvert