ODT2XHTML - THE class PHP to convert yours files ODT in files (X)HTML - ODT 2 XHTML!

Presentation of the Odt2Xhtml class

Odt2Xhtml - Odt to Xhtml - is a class PHP, version 5. She's purposed to transform files in format ODT to files (x)html, to make easier the publication on Internet, and/or the integration on content management system.

She's running as good in PHP server, also in PHP CLI.

Coding it !

Pleaze, see the script 'test.php5' to understanding how to use correctly the library Odt2Xhtml!
and the script 'test_cli.php5' explain how coding it to use with PHP CLI.

Modify file config

Obtain CSS in file separated
define('FILE_CSS',1);
Modify title in file HTML obtained
  • Obtain element TITLE's value :
    define('HTML_TITLE', 'element_title');
  • Obtain file's name :
    define('HTML_TITLE', 'file_name');

Download

Where? - 2009-02-12 -
ftp : BZ2, GZ, Zip, md5, sha1
svn : svn co svn://svn.tuxfamily.org/svnroot/odt2xhtml/svn
CIA, WebSVN

Copyright

License : GNU/LGPL !

Story

Odt2Xhtml build in PCLZip library. She's a full rewriting another class PHP5, alike purpose, same name, but run with PECL Zip library.

Since July, 2007, it bases itself on the style sheet of the project ODFTools, having improved it...

Until the end of November 2007, version PHP4 was maintained - Since this date, there does not exist any more that version 5 - indeed the support official of PHP4 by group PHP is definitively stopped at December 31, 2007.

Partners

OpenDocument Format
OpenOffice.org Portable
Visioo-Writer
Others ...
"Ad-Myre"
Portable Libre
Xhtml2PDF

:: Project Odt2Xhtml ::
Copyright 2006-2009 -
EBNH Conception
Hosting in TF - Stats