Server Side Includes:
The solution to keeping links updated on all of your pages

A common problem with a site with multiple pages is keeping menus updated on all the pages without reediting every time you change a page in the site.

One solution is to have the site set up using frames with a menu in one frame and the pages displayed by the menu in another frame. However the disadvantage of this is that some browsers do not deal well with menus and in addition the spider programs from the search engines do not always index pages whose links are displayed in a menu.

If you are fortunate enough to host your pages with a IHP that allows "server side includes", such as QWK.net, you can set your pages up as shtml pages.

This page is a sample of server side includes in action (ssi). You can download it and look at it in your text editor


The header and doctype statements have to be in xhtml format as below:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">


and the file has to be saved as filename.shtml

the original of this file has the line:

<!--#include virtual="footer.txt" -->

Every thing dislayed below the horizontal line is brought onto the page by the server side inclusion in footer.txt which is at the next level up in the website

You indicate that the link is one level up by plaving two periods and a right slash in front of the link name:
../
Index to BATW.net
17 year Cicada Pages Bonnie Dalzell Art
Tutorials Miscellaneous Pages and Links
-->  
Nature, Natural History, Art Dog Related Links Computer related Links
Sans Souci Nursery
In Maryland, home of fine Irises, Dahlias and selected other plants for your garden.
Borzois.com
Borzoi information site. Including articles by Bonnie Dalzell on coat color and performance
Ubuntu Linux
Free! Easy to install, easy to use, independent of Micro$oft, open source operating system which can revive your older computer.
Pictures of 17 year Locusts (Cicadas) at Hydes Maryland in 2004.
Madagascar Coton de Tulear Club of America
An independent breed registry with scientific guidance to promote the breeding of temperamentally sound healthy companion dogs.
BATW.net, Bonnie Dalzell's computer related pages Includes Humor, HTML Lessons and Perl Lessons
Beautiful pictures of Trilobites from Ernst Heckel's Kunstformen der Natur. Bonnie Dalzell's collection of Borzoi Pedigrees online.
Over 50,000 pedigrees with ancestors color coded.
BATW.net, Web Page Construction Lessons
Bonnie Dalzell's online portfolio
Strange and Future Beasties
The Dog Dimension: Discussions of population genetics in relation to breeding fit, healthy dogs Bonnie Dalzell's Perl Scripts, Perl Lessons and Perl Links
  Silkenswift Borzoi pages Somewhat outdated website for Bonnie Dalzell's Borzois