[Zope] SSI & DTML working together

Ze Octavio joc@hiper.com.br
Wed, 30 Jun 1999 13:56:46 -0300


Sergei,


   We, at Hiperlogica, used SSI in one project too, but we made an
External Method in Python to only include the SSI's tag after the Zope
rendering the page. So in this case, to Zope is an External Method and
to Apache is SSI.

Hope Helps you,

-- 
Ze Octavio
--
Hiperlógica <http://hiper.com.br>
Automação de web-sites | Web-site automation
São Paulo | Brasil | Fone: +55-11-251-4894


Sergei Barbarash wrote:
> 
> I have a project for which I use ZDocument template package (DTML parser)
> without Zope. Eventually I realized that I have to use SSI in my templates.
> When I ran a parser on my new template, it gave me a ParseError exception,
> saying "Unexpected tag".
> 
> I do know that I can get all of the SSI functionality via DTML. Anyway, maybe
> it would be convenient to make an option, say, to leave the 'unexpected tags'
> as is...?
> 
> I made a very quick and dirty hack to ZDocumentTemplate source which allows me
> to do this. However, it would be nice if a patch could be made by someone who
> knows his way in the Zope source code more than I am.
> 
> Thanks.
> -- Sergei
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )