Configuring Epoz to Produce Valid XHTML
Last modified:
05/20/2006 07:47 AM
| Revision: |
HOWTO_make_epoz_output_xhtml.txt 30584 2005-12-13 19:17:41Z dkuhlman |
This document describe how to configure Epoz editor used by Text
and RichText widgets to produce valid XHTML instead of dirty
browser HTML code.
The installation described here works at least with Epoz 0.8.1 to
Epoz 0.8.5. For more information see Epoz doc.
You need to install utidylib. This requires the following
steps:
$ apt-get install tidy
$ apt-get install python2.3-ctypes
$ wget http://download.berlios.de/utidylib/uTidylib-0.2.zip
$ unzip ...
$ python setup.py install
The content produced by Epoz is tidied up using XML-RPC. Cf.
__init__ and skins/epoz/epoz_script_main.js.dtml.
An EpozPostTidy-Hook is also available to post process the valid
XHTML produce by utidylib.
|