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');
- Obtain element TITLE's value :