entimp
10-30-2003, 10:58 PM
Intro (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-25590.html) - Pt 2 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-2-the-ssi-25616.html) - Pt3 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-3-the-code-for-our-example-25644.html) - Pt4 - Pt5 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-5-yay-it-is-all-over-30535.html)
At long last part 4 and then maybe part 5.
Yeah I am getting my finger out! ;)
The last section looked at the code we are going to use. We need to chop it up, save it with the correct extensions and then deploy it. It is wise to use names that make sense when you save these files as you are going to repeat the use of them. If you can come up with better names for yours files then credit to you, but these work for me.
When saving them create a new folder called 'includes' and save them all to there.
Save this as: meta_and_header.asp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>Bioology for Newbies</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="title" content="Biology for Newbies... a new biology resource">
<meta name="description" content="Biological resources.">
<meta name="keywords" content="biology, science, evolution, genetics, blah, blah,">
<meta name="owner" content="email@address">
<meta name="author" content="authors names">
<meat http-equiv="charset" content="ISO-8859-1">
<meta http-equiv="CONTENT-LANGUAGE" CONTENT="English">
<meta http-equiv="VW96.OBJECT TYPE" CONTENT="Homepage">
<meta name="rating" content="General">
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="2 weeks">
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2">
<img src="image_files/header.jpg" alt="Page logo">
</td>
</tr>
<tr valign="top">
<td width="200" align="left" valign="top">
Save this as: nav.asp
Navigation<br>
<br>
<a href="fambiologists/list.asp">Famous Biologists</a><br>
<a href="links/links.asp">Biology Links</a><br>
<a href="j_articles.asp">Journal Articles</a><br>
<a href="gallery.asp">Gallery</a>
Save this as: before_content.asp
</td>
<td>
There is no save for the content area, yet anyway. I hope you saw this coming.
Save this as: after_content.asp
</td>
</tr>
<tr>
<td colspan="2">
For the footer area there is no code either... yet!
Save this as: end_page.asp
<td>
</tr>
</table>
</body>
</html>
Ok we have our includes and are ready to use them. See the next part.
Intro (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-25590.html) - Pt 2 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-2-the-ssi-25616.html) - Pt3 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-3-the-code-for-our-example-25644.html) - Pt4 - Pt5 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-5-yay-it-is-all-over-30535.html)
At long last part 4 and then maybe part 5.
Yeah I am getting my finger out! ;)
The last section looked at the code we are going to use. We need to chop it up, save it with the correct extensions and then deploy it. It is wise to use names that make sense when you save these files as you are going to repeat the use of them. If you can come up with better names for yours files then credit to you, but these work for me.
When saving them create a new folder called 'includes' and save them all to there.
Save this as: meta_and_header.asp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>Bioology for Newbies</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="title" content="Biology for Newbies... a new biology resource">
<meta name="description" content="Biological resources.">
<meta name="keywords" content="biology, science, evolution, genetics, blah, blah,">
<meta name="owner" content="email@address">
<meta name="author" content="authors names">
<meat http-equiv="charset" content="ISO-8859-1">
<meta http-equiv="CONTENT-LANGUAGE" CONTENT="English">
<meta http-equiv="VW96.OBJECT TYPE" CONTENT="Homepage">
<meta name="rating" content="General">
<meta name="robots" content="index,follow">
<meta name="revisit-after" content="2 weeks">
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2">
<img src="image_files/header.jpg" alt="Page logo">
</td>
</tr>
<tr valign="top">
<td width="200" align="left" valign="top">
Save this as: nav.asp
Navigation<br>
<br>
<a href="fambiologists/list.asp">Famous Biologists</a><br>
<a href="links/links.asp">Biology Links</a><br>
<a href="j_articles.asp">Journal Articles</a><br>
<a href="gallery.asp">Gallery</a>
Save this as: before_content.asp
</td>
<td>
There is no save for the content area, yet anyway. I hope you saw this coming.
Save this as: after_content.asp
</td>
</tr>
<tr>
<td colspan="2">
For the footer area there is no code either... yet!
Save this as: end_page.asp
<td>
</tr>
</table>
</body>
</html>
Ok we have our includes and are ready to use them. See the next part.
Intro (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-25590.html) - Pt 2 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-2-the-ssi-25616.html) - Pt3 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-3-the-code-for-our-example-25644.html) - Pt4 - Pt5 (http://www.htmlforums.com/all-around-tutorials/t-ssi-server-side-includes-tutorial-pt-5-yay-it-is-all-over-30535.html)