[Zope] 'including' output from external files in a DTML
doc?
Martijn Pieters
mj@antraciet.nl
Fri, 21 May 1999 16:38:07 +0200
At 15:57 21/05/99 , Tony McDonald wrote:
>Hi all,
>I thought that the simple
>
>blah
><!--#var quote-->
>
>where quote is a DTML method called
><!--#call
>"RESPONSE.redirect('http://host.domain/cgi-bin/general/quote.pl')"-->
>might include the output from quote.pl at the point where <!--#var
>quote--> appears.
>
>It doesn't. The redirect loads up quote.pl (which it was always going to
>do of course....)
>
>Anyone got any ideas on how to include output from external programs (in
>my case it will be Perl and PHP3) in a Zope document?
>
>tone
>------
By using an external method. That method should retrieve the URL, and
return the contents of the URL.
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------