httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pepper <>
Subject Re: SSI enhancement suggestion: string insertion
Date Thu, 09 Nov 2000 04:21:17 GMT
At 7:18 PM -0800 2000/11/08, Marc Slemko wrote:
>On Wed, 8 Nov 2000, Chris Pepper wrote:
>>	Have you considered allowing SSIs to insert literal strings
>>  in the generated output? This would enable the whole ball of header
>>  to go into a single SSI, something like:
>>  <!--#include virtual="header.html" title="Why Apache Is Great"-->
>>	Then a token in the SSI would get replaced by the title
>>  attribute. I think this would be useful for many cases, but it would
>>  be a big win purely for <title>.
><!--#set var="title" value="It works !" -->
><!--#include virtual="header.html" -->
><TITLE><!--#echo var="title" --></TITLE>
>Or you could even have header.html do an if, so that if title isn't
>defined it puts a more useful default in than "(none)"...
>Is there any advantage to a slight syntax change?  I'm doubtful...


	Thanks. I didn't think of doing it that way. The advantage of 
simplicity of use isn't worth complicating SSI, since it's unncessary.

						Chris Pepper

Chris Pepper     | Shooting Gallery Interactive | 212 905-2200
Mac OS X Software:   <>

View raw message