CSS Includes (SSI)

Brian Sheppard bboru at si.umich.edu
Wed Sep 29 11:10:31 EDT 1999


SSIs are especially handy for browser detection if you have some fancy
alternative pages and need to serve according to browser capability.
Javascript can handle this, but some folks browse with it turned off
because it can be a nuisance.

-Brian

______________________________________________________________________________
Brian Sheppard                      
 


---------- Forwarded message ----------
Date: Wed, 29 Sep 1999 07:51:57 -0700 (PDT)
From: Thomas Dowling <tdowling at ohiolink.edu>
To: Multiple recipients of list <web4lib at webjunction.org>
Subject: [WEB4LIB] Re: CSS Includes

There's nothing in CSS about this--I suspect you're thinking of SSI:
Server Side Includes.

SSI is one of a number of server-side parsing techniques, PHP and ASP
being notable alternatives.  To use SSI:

1.  Bake your webmaster some brownies and ask to have
    it enabled (if it's even supported on your server)*
2.  Read <URL:http://www.apache.org/docs/mod/mod_include.html>
3.  Create a file under your web server with the snippet of HTML
    you want to include.
4.  Put in your HTML document(s):
    <!--#include virtual="/relative/URL/of/snippet.html" -->

There are plenty of other things you can do with SSI.

*Your webmaster may need to be convinced that SSI will not be a security
risk and will not have a major performance hit on your server.  This may
take more than one batch of brownies.  Always check first to determine
whether your webmaster would rather have chocolate chip cookies.


Thomas Dowling
OhioLINK - Ohio Library and Information Network
tdowling at ohiolink.edu



----- Original Message -----
From: Robin L. Zalben <zalbenrl at alverno.edu>
To: Multiple recipients of list <web4lib at webjunction.org>
Sent: Wednesday, September 29, 1999 10:18 AM
Subject: [WEB4LIB] CSS Includes


> I read an article ages ago about Includes which allow you to put
> text into a page.  I can't find any information about how to do it and
> how it works.  What I want to do is have the header and footer of our
> web page in a separate file so that it can be consistant and also so
> that it can be updated with one file instead of editing every page.
>
> Does anyone out there know how this works?
>
> Thanks,
>
> Robin Zalben
> --
> ********************************************************
>
> Robin Zalben
> Reference/Automation Librarian
> Alverno College Library
> Milwaukee, Wisconsin
>




More information about the Web4lib mailing list