On Tue, 20 Jul 1999, Peter Oliver Monz wrote:
Hello!
Can I include cgi-output like in SSI (Apache) in Zope templates? You don't as such. Apache is a server, that displays static pages from the filesystem and creates dynamic pages from cgi scripts (and other sources). With SSI you can include other pages in a given page.
Zope is a server that publishes objects and their methods. With standard DTML syntax you can include other objects and method values. If you need the output of a preexisting URL (CGI script) this is getting problematic: -) You can write an external method to fetch the URL. -) You can port the external method to be a Python method of Zope. Depending upon the complexity of CGI script, you can choose the better solution. Andreas -- Win95: n., A huge annoying boot virus that causes random spontaneous system crashes, usually just before saving a massive project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.