smlogo picture
 
fatpage picture
 

Object Info:

Type: script
Size: 6K
Updated: 12/10/97
 

renderFat
datedLink
Border
structuredNP
siteContents
navBar
pageList
pageTable

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.


This is a fat web page containing user.html.macros.datedLink. This script is approximately 6K in size. In Frontier 4.2.3, choose the Get Page Data command from the Scripts menu to copy the script [user.html.macros.datedLink] into your object database. In Frontier 5a22, save the page to disk as html source, and then open it in Frontier using the "Open..." command in the File menu. More info on fat web pages is available here.

[Home] / Products & Services / Stuff to Download / webTools for Frontier

< Prev | Next >

by Tom Clifton, © 1997 ES Designs
email: tclifton@es-designs.com