datedLink
Page Updated: 12/11/97
Introduction
The macro datedLink generates a glossPatch entry for a web page, plus the modification or creation date for that page. The glossPatch entry generates a relative link to the page during rendering. In its simplest form datedLink produces a relative link along with the modification date of the page.
Example 1
datedLink("digital data handling"):
Digital Data Handling (2/25/97)
Alternatively, you can show the creation date for a page.
Example 2
datedLink("digital data handling",useDate:"CD"):
Digital Data Handling (8/8/96)
This version of datedLink supercedes previous versions of modDate released here.
Details
datedLink v1.5b1. See script comments for version history.
The datedLink macro uses three parameters to build a link. The syntax is:
datedLink(glossEntry, useDate, glossTitles)
glossEntry is a string value containing a glossary entry of the page that you wish to generate a link to.
useDate is a string value, that controls which date is shown next to the link. A string values of "CD" will cause the macro to place the page's creation date after the link. A string value of "MD" will cause the macro to place the page's modification date after the link. The default value is "MD"
glossTitles is a boolean that controls whether the navigation bar is build from glossary entries as titles or as object names. Since the nextPrevs outline lists object names, you need to resolve these to page titles to work with glossary entries generated by the stock Frontier pageFilter. useTitles allows for this resolution. The default is true.
|