web-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server-side scripts?


From: Moritz Schulte
Subject: Re: Server-side scripts?
Date: 04 Jan 2001 21:04:30 +0100
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Jeff Bailey <address@hidden> writes:

Hi Jeff,

> For example, can I use <!--#include "..."--> statements?

since scripts can't be used...if you are interested in it.... I wrote
a text preprocessor ("stepp", Scheme Text PreProcessor) which can be
used for such things. It replaces Scheme code in input with it
generated output. I'm using it (combined with make) for my own pages,
too. :)

So, you could do:

$ cat index
<SCM>(include "here_comes_the_head.html")</SCM>
foo, <SCM>(display "bar")</SCM>, baz...
<SCM>(include "here_the_foot_of_the_page.html")</SCM>
$ stepp index -o index.html

There's a quiet old version of stepp on my homepage, a newer one will
be uploaded very soon.

        moritz
-- 
Moritz Schulte <address@hidden> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



reply via email to

[Prev in Thread] Current Thread [Next in Thread]