[Zope] Saving a rendered DTML document with LocalFS
Steve Alexander
steve@cat-box.net
Wed, 10 May 2000 18:30:57 +0100
Jim Sanford wrote:
>
> Any suggestions on an easy way to save a rendedred DTML document to a file with LocalFS?
>
> We have a DTML document that is a report that can be rendered on command showing the current status of orders. We send out a daily
> summary to an email list. The summary has a link to the archived detail report. Currently the detail report is brought up in the
> browser and we do a "Save as.." to save the renderd copy.
>
> I would like to automate the saving of the rendered copy.
>
> Any suggestions?
Use something like this:
<dtml-let rendered_data="_.render(your_dtml_method)">
Code to save rendered_data into file using LocalFS here
</dtml-let>
I haven't used LocalFS, so I can't help for the middle bit.
--
Steve Alexander
Software Engineer
Cat-Box limited