24 Mar
2001
24 Mar
'01
8:19 p.m.
Casey Duncan writes:
"Kyler B. Laird" wrote:
.... wrapping User provided HTML objects .... Python's HTMLLib could be used to parse the HTML provided by the user enough for you to insert your own pieces into it. Then you could cache the results beside the user's original HTML in a custom Zope object.
Check it out at:
http://www.python.org/doc/current/lib/module-htmllib.html You may also look at "tidy" (--> www.w3.org) to clean up the HTML before passing it to "htmllib".
Furthermore, you may look at the CMF-Documents. They do something similar as you want. Dieter