What Are Server Side Includes (SSI)?
Server Side Include Data File You need to make a .txt data file with the text and or HTML that you want to be added to pages with the Server Side Include Tag on them. This file can contain any code that could be on a web page including but not limited to: images, video, audio, hyperlinks, forms, tables, JavaScript, Java Applett code, ActiveX Object Code, VBScript, Shockwave, Flash, banners, Random Graphics, Random HTML, and animations. After you have made the Server Side Include Data File you will need to upload it via FTP or FrontPage to your web site. Server Side Include Tag The Server Side Include Tag tells the server where the contents of a Server Side Include Data File should be used at a particular place within an HTML file and the path to that Data File. The contents of the Data File will replace the SSI tag so that you will not see any evidence of the use of SSI when viewing your web pages through the browser. Server Side Include Tags will work in all .htm or .html web pages. Wherever you wish the text and or HTML code in the Server Side Include Data File to appear in your web pages you would place a Server Side Include Tag. Example Server Side Include: <!--#include virtual "/mypath/myfile.txt"--> You need to place the path to the Server Side Include Data File between Quotes.
SSI could also be a great way to allow non-web authors to edit/change content. A web page can be made with all of the HTML formatting, fonts, images, themes, effects, etc.. in place with an SSI Tag for the content. A text file would then be made available to the non-web author for editing with a text editor. This would allow for content changes without the risk of damaging the HTML design. ©1995-2001 InfoDial, Inc.
|