Presentation of the Odt2Xhtml class
Odt2Xhtml - Odt to Xhtml - is a class PHP5. 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.php' to understanding how to use correctly the library Odt2Xhtml!
and the script 'test_cli.php' explain how coding it to use with PHP CLI.
Modify file config
- Obtain CSS in file separated
define('ODT2XHTML_FILE_CSS', 1);- Modify title in file HTML obtained
-
- Obtain element TITLE's value :
define('ODT2XHTML_TITLE', 'element_title');
- Obtain element TITLE's value :