> > Strange as it might sound, I have a need to filter SSI output through > > TT. That is, given a .shtml document I'd like to run mod_include over > > it, and then process the output with TT before it gets sent to the > > browser. > > If you can be more specific about why you need to do this, we might be > able to suggest a better approach.
Basically I'm working with a designer who is familiar with using SSI to include other files (and likes the fact that his GUI software supports SSI in a WYSIWYG kinda way), and rather than calling half a dozen CGIs from various places within the .shtml document to generate dynamic content I'd much prefer he use TT tags. As far as I can see it, this involves post-filtering of mod_include by TT. > your choices are to use mod_perl 2 so you can use the filter API Unfortunately I'm limited to Apache 1.3 for this job. > use mod_perl 1 with Apache::Filter and Apache::SSI, or use one of > the other SSI modules on CPAN to emulate mod_include. This sound like an interesting option. I imagine I would write a custom handler in Perl and use Apache::SSI as a pre-processing step... I'm off to CPAN to read some docs :). Thanks very much for your prompt reply. -- Ross _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
