Hello all, Is there a Python/Zope function for HTTP quoting of strings? Also, we're doing all of our development in strict XHTML. So far things have gone pretty smoothly. If anyone has had any prior experience, I would very much appreciate getting some idea of things to watch out for, problems, incompatibilities, etc. that I may need to watch out for. Thanks. Regards, Samir Mishra Central Bank of the U.A.E. P. O. Box 854 Abu Dhabi United Arab Emirates
Samir Mishra wrote:
Also, we're doing all of our development in strict XHTML. So far things have gone pretty smoothly. If anyone has had any prior experience, I would very much appreciate getting some idea of things to watch out for, problems, incompatibilities, etc. that I may need to watch out for.
Use PageTemplates (TAL) they'll help a lot. The other common snag is you must either avoid using Image objects directly, or patch the Image class to stop behaving in its current braindamaged manner. See http://collector.zope.org/Zope/634 for why. IMO the "fix" on HEAD isn't, but I gave up trying to use the stock Image class a long time ago. -- Jamie Heilman http://audible.transient.net/~jamie/ "...thats the metaphorical equivalent of flopping your wedding tackle into a lion's mouth and flicking his lovespuds with a wet towel, pure insanity..." -Rimmer
Samir Mishra wrote at 2003-3-30 08:05 +0400:
Is there a Python/Zope function for HTTP quoting of strings?
You can use DTML's entity reference syntax (when you do not know what this is, see <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> ). You can use the DTML attribute "html_quote" and the function "html_quote" in "Products.PythonScripts.standard". Dieter
participants (3)
-
Dieter Maurer -
Jamie Heilman -
Samir Mishra