On Mon, 11 Aug 2003, Oleg Burlaca wrote:

> When processing a template, I want it to generate some files.
> 
> Is it possible to do something like:
> [% template.process('/dir/file.html', 'tmpl_name') %]

[% PROCESS 'tmpl_name' | redirect('/dir/file.html') %]

if OUTPUT_PATH is correctly set in the script. 

-- 
Franco Bagnoli (franchino) <[EMAIL PROTECTED]> ([EMAIL PROTECTED])
virtual location: Dipartimento di Energetica "S. Stecco"
real location: Dip. Matematica Applicata "G. Sansone", Universita' Firenze,
Via S. Marta, 3 I-50139 Firenze, Italy. Tel. +39 0554796422, fax: +39 055471787
GPG Key fingerprint = 169D 9EA5 8FD3 7EDA E43A  9830 255F BCEC 0D63 3728


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to