[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Zope Page Templates

webmaster at zope.org webmaster at zope.org
Sun Feb 1 03:05:04 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZPT.stx#2-53

---------------

    **NOTE: If you're trying to save to Zope via an editor like
    Netscape Composer or Amaya via HTTP 'PUT' (as opposed to FTP or
    DAV), but you're having problems, try saving the file to
    'http://localhost:8080/FileLib/index_html/source.html' instead of
    the URL specified above.  Appending '/source.html' to the Zope
    object name is a "hack" which Page Templates support to get around
    the fact that HTTP PUT attemtpts to *render* the page before doing
    the PUT, but we actually just want to save the unrendered source.
    If you're creating an XML file, the "magic" hackaround name is
    '/source.xml' instead of '/source.html'.**

      % Anonymous User - Nov. 4, 2003 10:22 am:
       END of the digression.  But what is the simple way to create that content in index_html????

      % Anonymous User - Feb. 1, 2004 3:04 am:
       Have you read the preceeding chapters and the first part of this chapter?

      % Anonymous User - Feb. 1, 2004 3:05 am:
       Do you understand English properly? Are you a troll?



More information about the ZDP mailing list