Difference between revisions of "SHTML"
From BC$ MobileTV Wiki
(New page: '''S'''erver '''S'''ide '''I'''nclude '''HTML''' (also commonly abbreviated to ''SHTML'' or abbreviated ''SSI'') is HTML plus some additional server-side processing components/utilitie...) |
(→Tutorials) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''S'''erver '''S'''ide '''I'''nclude '''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: | '''S'''erver '''S'''ide '''I'''nclude '''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 --> | |
<ref>What is SHTML?: http://www.kennesaw.edu/webmaster/whatis/shtml.html</ref> | <ref>What is SHTML?: http://www.kennesaw.edu/webmaster/whatis/shtml.html</ref> | ||
Line 14: | Line 14: | ||
== Examples == | == Examples == | ||
− | + | <!--#include file="addedfile.txt" --> | |
− | + | <!--#exec cgi="/cgi-bin/foo.cgi"--> | |
+ | |||
+ | <!--#config timefmt="%y %m %d" --> | ||
+ | |||
+ | <!--#if expr="${Sec_Nav}" --> | ||
+ | <!--#include virtual="" --> | ||
+ | <!--#endif --> | ||
− | |||
Line 24: | Line 29: | ||
+ | |||
+ | == Tutorials == | ||
+ | |||
+ | * Apache - How to configure SSI: http://httpd.apache.org/docs/current/howto/ssi.html | ||
+ | * Server-side Includes: https://en.wikipedia.org/wiki/Server_Side_Includes | ||
== External Links == | == External Links == | ||
Line 30: | Line 40: | ||
* .shtml/.html/.htm File Extensions For Your Information: http://www.hwg.org/resources/faqs/shtmlFYIFAQ.html | * .shtml/.html/.htm File Extensions For Your Information: http://www.hwg.org/resources/faqs/shtmlFYIFAQ.html | ||
* An SHTML sample: http://faculty.washington.edu/brj/shtml/Link5.shtml | * An SHTML sample: http://faculty.washington.edu/brj/shtml/Link5.shtml | ||
− | |||
− | |||
Line 37: | Line 45: | ||
<references /> | <references /> | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | [[HTML]] | [[Apache]] | [[TCL]]/Tk |
Latest revision as of 00:01, 6 December 2017
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.
Examples
<!--#include file="addedfile.txt" -->
<!--#exec cgi="/cgi-bin/foo.cgi"-->
<!--#config timefmt="%y %m %d" -->
<!--#if expr="${Sec_Nav}" --> <!--#include virtual="" --> <!--#endif -->
Tutorials
- Apache - How to configure SSI: http://httpd.apache.org/docs/current/howto/ssi.html
- Server-side Includes: https://en.wikipedia.org/wiki/Server_Side_Includes
External Links
- SHTML explained: http://www.csse.monash.edu.au/~lloyd/tilde/InterNet/HTML/SHTML.shtml
- .shtml/.html/.htm File Extensions For Your Information: http://www.hwg.org/resources/faqs/shtmlFYIFAQ.html
- An SHTML sample: http://faculty.washington.edu/brj/shtml/Link5.shtml
References
- ↑ What is SHTML?: http://www.kennesaw.edu/webmaster/whatis/shtml.html
- ↑ Full reference available at: wikipedia: Server Side Includes