$Id: HOWTO_make_epoz_output_xhtml.txt 15120 2005-03-03 16:19:59Z madarche $

This doc 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 and '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.
