Labeled hierarchy
This script renders the version of a page
specified with either a label or a time specification, given as
parameters.
Links in this page are modified to use the script itself,
and the same arguments.
In case only a label was given, it passes on a time specification
based on the time when the label type was last locked.
Examples of usage:
v CGS_1.00
and version current on
November 7, 2001
of Clearcase Global Service.
Assumptions/decisions:
- Files not bearing the label are treated via the time
specification.
- The label type or the time stamp is added to the title line.
- It is assumed that the label is found on each directory in the
access path (e.g. applied with apply_label on a derived object).
- This allows to bypass the doc config spec, and is thus
robust to changes.
- This assumption is usually not satisfied by floating
labels.
- Note that the path used for the file parameter may differ
from the one accessible by default.
- Non-local links, explicitly using any kind of scheme
(
http:
etc.) are left untouched.
- Internal links (within a page) are ignored (dropped). The reason
is that I don't know how to tell the browser to position itself
within a generated page.
Usability improvements,
Local ToC
Marc Girod
Last modified: Tue Nov 20 15:16:08 EET 2001