You are not logged in Log in Join
You are here: Home » Members » The Haqa @ Zope » TextConvert Patch » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/haqa/TextConvert
Title resource name TextConvert Patch
Description resource summary This product has been obsoleted by PatchKit I 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 <b>File</b> 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: &lt;dtml-call "RESPONSE.setHeader('content-type', '&lt;&lt;your_content_type&gt;&gt;')"&gt; where &lt;&lt;your_content_type&gt;&gt; is the Content Type on the Edit tab of your File object. 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 'Haqa' Hungate &lt;[email protected]&gt;
Creator resource creator haqa
Date default date 2002-02-26 15:04:51
Format resource format text/html
Type resource type Software Package
Subject resource keywords Developer, Helpers, Patches
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2002-02-26 15:04:51
ModificationDate date resource last modified 2002-02-26 15:04:51
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati