From BC$ MobileTV Wiki
Revision as of 22:01, 7 May 2010 by (Talk)

Jump to: navigation, search

Server Side Include HTML (also commonly abbreviated to SHTML or abbreviated SSI) is HTML plus some additional server-side processing components/utilities. The only difference between regular HTML and SHTML is the extra letter in the extension (.shtml) and the following types of code:

<!--#directive parameter=value parameter=value -->


Where "directive" is not literally an operator or reserved keyword, but an indication of where directives should be placed in the SHTML syntax. They are placed in HTML comments so that they can be ignored by browsers/devices which don't understand SSI.


<!--#include file="addedfile.txt" -->
<!--#exec cgi="/cgi-bin/foo.cgi"-->
<!--#config timefmt="%y %m %d" -->
<!--#if expr="${Sec_Nav}" -->
<!--#include virtual="" -->
<!--#endif -->


External Links


  1. What is SHTML?:
  2. Full reference available at: wikipedia: Server Side Includes

See Also