![]() |
tlaRevision
Insert Enterprise Standard Date/Time Between HTML Tag Pair Visual SlickEdit® - Slick-C Macro - Royalty Free - Send Comments |
PurposeInsert Enterprise Standard Date/Time Between HTML Tag Pair. This function stamps the current date/time between two delimiters found on any line anywhere in a file. These delimiters are of the form
This function also supports the delimiters used in an earlier (pre-XML era) implementation. These delimiters are of the form:
The reason you might want to do this is to automate the stamping of ASP and HTML files to provide a date/time visible to the website visitor that documents when the page was last updated. It is useful to have a "starter" string in the template that you use for module creation. An example of a "starter" string might be:
OperationThis function will convert:
To a string such as:
In addition, this function will convert the older style delimiters to the new style. It will convert a string of the form:
To a string such as:
ExampleOriginal contents of file ...
Contents after executing tlaRevision ...
And this would appear to the website visitor as ... Revised 2002.06.20 18:31 by AJL. Input ParametersNone. Return Codes
ReferenceThis function calls tlaDateTime. CompatibilityCurrent version verified under:
InstallationPerform the following steps:
PurchasetlaSlick is a Visual Slick-C module that contains all of the Slick-C macros on this website in a single easy to install package. The tlaSlick module can be purchased by selecting the Buy button on this page. tlaRevision is included as a function in tlaSlick.
|
Copyright © 1993-2005 Thom Little Associates, Ltd. revised One Central Square, Keene, NH 03431-3787 phone 603-357-7567 |