Sometime Today, Chris Faust assembled some asciibets to say:

> Thanks Charles, those are some excellent suggestions - I never
> thought about using "filter"!!

How would one handle things like this:

<!--#exec cmd="foo" -->

<!--#set var="bar" value="baz" -->

as far as the includes go, what I do is to have three separate files:

real_include.html:

all my html here


html_tmpl_include.tmpl:

<tmpl_include file="real_include.html">


ssi_include.shtml:

<!--#include file="real_include.shtml" -->

This still doesn't solve the exec and set stuff though.  <!--#if -->
could also be done like this, although it is harder considering that SSI
allows checking the value of an expression.

A filter would work, but is much harder.  The easiest would be to use
the Apache::SSI module (or something like that) from CPAN.

-- 
I went to the eye doctor and found out I needed glasses for reading.  So,
I got some flip-up contact lenses.
                                                -- Stephen Wright




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to