a patched version of JTidy

Hi,

JTidy is a great HTML to XHTML conversion tool. For cleaning real-world HTML, 
there is also the requirement to preserve most of the functionality of an 
existing HTML page according to existing browsers. Using JTidy for this 
purpose, I discovered that there are some problems with alignment and scripts 
which are moved out of tables, because JTidy is designed to be as close to 
the XHTML standard as possible, while currently available browsers are not. 

What to do? For our application, I decided to patch JTidy to do the following:

- preserve attribute align=center instead of style=text-align:center
- preserving scripts in tables to keep the original HTML functionality (e.g. 
the incredible document.write hacks of JavaScript fans).
- extract inline scripts and styles for later use (e.g. writing them to local 
repository)

If anybody is interested to get the patched version, feel free to send me a 
mail.

Jörg

-- 
Jörg Prante
Sevenval AG  (HRB 32757) ecommerce-base-technologies
D-50667 Köln . Alter Markt 36-42
Fon +49 221 65007-0 . Fax 4249891
www.sevenval.de . joerg@7val.com

Received on Tuesday, 16 January 2001 14:59:25 UTC