Use Keyword Expansion in HTML Files

See Also

Note   Do not use HTML keywords in non-HTML files.

Keyword expansion refers to VSS's ability to place certain information directly from the VSS database into your file for you. This can be handy, for example, if you want to place the string "Last modified on: date" in your Web pages. For more information, see How to Expand Keywords.

VSS HTML Keywords

HTML keywords are identical to traditional VSS keywords except that they have an extra dollar sign in front of them. For example, $$JustDate $ instead of $JustDate $.

Note   Keywords are case-sensitive, so be sure to capitalize them properly.

For example, you would place the following in a file:

Last modified on <!--$$JustDate:--!> <!--$--> 

Upon checkin, VSS would replace it with:

Last modified on <!--$$JustDate:-->5/16/96<!--$-->

The next time you check in the file, the 5/16/96 is replaced by the current date, and so on. This automates updating your HTML pages each time they are modified.