TextConvert Patch
This product has been obsoleted by PatchKitI have only left this here for technical interest, it has many bugs and is completely INCOMPATIBLE with PatchKit (and other things) - This is a howto product, please don't actually use it!This product is actually a patch to a number of other Zope object classes. The products it patches are File, DTML Document, and DTML Method, to which it adds a management tab labeled "Text Convert". Its purpose is to allow you to convert an object containing text content to a DTML Document, DTML Method or ZStyleSheet - http://www.zope.org/Members/haqa/ZStyleSheet (If it is installed). Files like StyleSheets (.css) text files (.txt) Server Parsed HTML (.shtml) and a host of other formats get created as File objects when you add them through xml-rpc, WebDAV, or FTP. When converting a File object to a DTML Document
or a DTML Method a line is added to the begining of the file:
<dtml-call "RESPONSE.setHeader( This product patches Zope when it installs. As a general rule I would advise against installing this on a production server until you have tested it properly. I have used this patch on Zope versions 2.2.0, 2.2.2 and 2.3.0 and it has not killed them..... yet ..... You have been warned. Thanks go to Shane Hathaway for his Refresh Product which contained the patch logic I borrowed. Adrian
|
|
Available Releases
Version | Maturity | Platform | Released |
---|---|---|---|
2.0 | Stable | 2001-02-02 20:07:38 | |
TextConvert-2.0.zip (8 K) | All | ||
1.0 | Stable | 2000-09-11 08:56:49 | |
TextConvert-1.0.zip (7 K) | All |