I know that you asked about DTML and not page templates, but...I'm using HTML Tidy from within HTML-Kit for ZPT. It works really, really nicely. --Paul Jan Lentfer wrote:
Chris Cioffi wrote:
I was wondering if anyone was using HTML Tidy (http://www.w3.org/People/Raggett/tidy/) with their Zope projects? More to the point, has anyone got the configuration files setup to accept zope files. Thanks.
Hi,
I just downloaded this program (I actually was looking for that for some time, THANKS for the hint).
This is the config-file I worked out in about 15 minutes testing it on one of my most messed up Zope-Sites.
I did not yet upload the tidyed - file back up to Zope, so take this as a hint only. Also not all dtml-tags are already implemented, just the few I used on my test page.
-----------
markup: yes indent: auto indent_spaces: 1 ident_attributes: yes wrap: 0 new-inline-tags: dtml-var new-empty-tags: dtml-var new-blocklevel-tags: dtml-with, dtml-in, dtml-if
------------
hth,
Jan
-- Jan@MountainbikeHQ.de http://www.MountainbikeHQ.de - Your home for DH, DS and CC Mountainbiking
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )