The #set command allows you to add your own variables that can be used with the #echo command. For format of a #set command is:
The #set command is extremely powerful as it provides a means of passing 'arguments' to recursively included SSI pages. This is because the #set command adds to the global variable environment, so a parsed document can set a variable then include another parsed document which uses this variable, or vice versa. For example:
Then we could use this complex standard title in a document "About Zeus" as follows:
Document body goes here.
Using the #set command allows the reuse of 'components' of HTML and is extremely useful in large web-site design.
Content Manager [Administrator] 16 December 2005
Comments are closed for this post.