> Does anyone know how to add a footer to all the pages on a web site?
> This is as far as I've gotten.
>
> prin "Enter filename: "
> file: make file! input
> page: parse read file ""
> len: length? page
> place: len - 1
> insert page/:place {<blockquote><b><font size=-2>Send any comments
> concerning this page to
> [EMAIL PROTECTED]</font></b>
> <br><b><font size=-2>This page was last updated on Dec.
> 5,1999</font></b>
> <br><b><font size=-2>Copyright (c)1999 Pacwill Holdings Ltd. All Rights
> Reserved</font></b></blockquote>}
>
> There are several problems with this one of which is it inserts the
> 'curly' brackets as well.
> It looks ok until I save it. How does one go from a series to a file
> while preserving the format.
> Or am I way out in left field? :)
>
>

I assume you want to call a Rebol routine as a footer? Two simple ways come
to mind (I'm sure there are others).

First, if your site allows server side includes, use:

        <!--#exec cgi="/cgi-bin/footer.r" -->

I use this technique to call my Rebol rotating banner program for several
pages.

Or... if your site supports PHP (i.e. your page can have an extension of
.phtml or .php3) use:

    <?php include("http://abooks.com/cgi-bin/banner.r") ?>

That's my acutal rotating banner link, feel free to put it on all your
sites<g>.

Anyway, hope the above was helpful.

--Ralph

Reply via email to