[Xitami] Server side includes and directory listing templates

Michael Pierce xitami@lists.xitami.org
Tue, 4 Dec 2001 10:05:03 -0500


Sorry about the typeO.  The code fragment I tried was what I have below.
.    if defined (type)
.       if type = "lnk"
           <!-- #include virtual="/cgi-bin/resolvelnk.exe" -->
.       endif
.endif

And yes, it did include the "<!-- #include ..." in the html text but did not
process it.

Is there a nice document some where where I can see all the gsl commands and
see
what these two do?

----- Original Message -----
From: "Francis Turner" <francis.turner@freesbee.fr>
To: <xitami@lists.xitami.org>
Sent: Tuesday, December 04, 2001 9:45 AM
Subject: Re: [Xitami] Server side includes and directory listing templates



> What you need to do - which is tricky - is to use commands like .literal
> or .xml to load the text and the mangle it but I'm not sure you can do
> what you would want to do (assign a variable to the file contents which
> you would then manipulate with substr)...
>
> Francis