[Zope] Re: Epoz and Tidy

Cyrille Bonnet cyrille at 3months.com
Wed May 4 22:41:15 EDT 2005


As Shane pointed out, there is a tidy up in Kupu. However, in my 
experience, it is not a very good tidy up (if I remember correctly, a 
lot of tags are still there after the tidy up).

AFAIK, Kupu is integrated in Plone 2.1.

Daniel Dekany wrote:
> Friday, April 29, 2005, 7:12:30 PM, Maik Jablonski wrote:
> 
> 
>>Robert (Jamie) Munro wrote:
>>
>>>How do I control tidy options when using Epoz and uTidyLib? I'd like it
>>>to output xhtml, but it is currently outputting uppercase tag names etc.
>>
>>If uTidyLib or mxTidy (recommended) is installed correctly, Epoz should
>>output XHTML. Please check if you've installed uTidyLib with the correct
>>  python (same as running your Zope-Server).
> 
> 
> BTW, anybody has found a solution for fixing HTML copy-pasted from
> Microsoft Word (mostly 2000/XP)? Lot of users has MS Word, and the HTML
> pasted from it is a CSS killer mess. I tried mxTidy but it didn't
> improved substantially the HTML. So how do you guys do it? I have looked
> after solutions for Epoz, but didn't found any. But I don't stick to
> Epoz... if there is a solution already for Kupu (is Kupu already
> recommended over Epoz anyway?). Certainly the solution would be an Epoz
> post-tidy Python script, but I didn't found any for Word tidying.
> (However, the ideal would be if the HTML is tidied right on the client
> when it pastes it in -- thus user would really get what it sees, i.e.
> the HTML wouldn't be changed when he saves it. That effect is really
> evil.)
> 
> 
>>-mj
> 
> 



More information about the Zope mailing list