HTML cleaner?

M.-A. Lemburg mal at egenix.com
Mon Apr 25 04:29:27 EDT 2005


Ivan Voras wrote:
> Is there a HTML clean/tidy library or module written in pure python? I
> found mxTidy, but it's a interface to command-line tool.

Not true: mxTidy integrates tidy as C lib. It's not an interface
to the command line tool.

> What I'm searching is something that will accept a list of allowed tags
> and/or attributes and strip the rest from HTML string.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Apr 25 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the Python-list mailing list