httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@summittravel.com (Paul Robinson)
Subject Re: SSI
Date Mon, 11 Jan 1999 15:24:10 GMT
This is how I have used it. Don't know if it will help you much, but it
may give you some idea:


This is my ".x"  file which sits in my "xdata" folder:
file name: mainfooterlinks.x

<FONT SIZE="-2">
<A HREF="cruise.shtml">Choose To Cruise</A><B> | </B>
<A HREF="domestic.shtml">Close To Home</A><B> | </B>
<A HREF="international.shtml">Around The Globe</A><B> | </B>
<A HREF="tips.shtml"><NOBR>Smart Tips</NOBR></A><B> | </B>
<A HREF="bookit.shtml"><NOBR>Book It Now!</NOBR></A><B> | </B>
<A HREF="index.shtml">Home</A><B> | </B>
<A HREF="smartspecials.shtml"><FONT
COLOR="#990000">Specials</FONT></A></FONT>
<P>
<FONT SIZE="-2">
<br>Web Site Design &copy;1998 Summit Travel Web Technologies.<br>
SMART TRIPS&reg; is a division of Summit Travel Group, Inc. 
<BR>
Problems with this site? Please notify: 
<A HREF="MAILTO:admin@summittravel.com" NAME="Summit Travel Group"
TARGET="_new">
Summit Travel Group</A></font>

This is how I use the above file in a SSI. By simply using <!--#include
virtual=.... and specifying the path to my file I can include it in any
document and then one change to the .x file changes throughout my project.
You will see how there are several other includes in this page.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<!--#include virtual="xdata/title.x" -->
<!--#include virtual="xdata/metatags.x" -->
</HEAD>
<BODY BACKGROUND="images1/bg.gif" BGCOLOR="#FFFFFF" LINK="#006633"
VLINK="#006633" ALINK="#FFFFCC">
<P>
<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="0" WIDTH="100%">
<TR>
	<TD align="center">
<!--#include virtual="xdata/mainfooterlinks.x" -->
	</TD>
</TR>
</TABLE>
</BODY>
</HTML>

My site www.smarttrips.com uses SSI throughout - very useful.
Let me know if I can help anymore, or if this wasn't the answer you were
looking for!

Paul.


Mime
View raw message