[Zope] Programmatically creating a DTML Document?

Paul Stevens paul@nfg.nl
06 Feb 2000 19:16:58 +0100


Robb Shecter <shecter@darmstadt.gmd.de> writes:

> Chris McDonough wrote:
> 
> > Robb,
> >
> > You'd do something like this from within DTML:
> >
> > <dtml-call expr="manage_addDTMLDocument('mydocumentid',
> > 'mydocumentitle', mycontent)">
> 
> Thank you!  I actually did end up finding the add method in the ZQR.  I
> wasn't able to figure out on my own, though, what parameters the method
> takes.  How would I have been able to find this?  Is there some some source
> code file I can look in?

The load_site.py script which is part of the distribution might be helpful.

-- 
  ________________________________________________________________
  Paul Stevens                                  mailto:paul@nfg.nl
  NET FACILITIES GROUP                     PGP: finger paul@nfg.nl
  The Netherlands________________________________http://www.nfg.nl