PubRepeater Glower
This SiteGlow Glower is used to define an ST attribute named $items$
that contains a list of Publication objects that match certain level,
ranking and time filters. This list can then be used to create navigation menus and web maps
automatically.
Syntax
where
| Parameter | Type | Definition |
|---|---|---|
| dataSource | String list | Comma-separated list of Publications from which to start filtering (see details). |
| levelFilter | Integer |
Represents how many level of descendants (of each Publication included in the dataSource above)
to include in $items$. It must be a positive integer, where 0 represents the start level and
the special asterisk character * represents an unlimited number of levels.
|
| rankingFilter | String list | Determines how to filter the Publications in the dataSource
according to their depth and ranking (see
details). |
| timeFilter | String list (see below) | Determines how to filter the Publications in the dataSource
according to their publication date (see
details). |
DataSource
The dataSource is a comma-separated list of Publications in the following format:
where aN can be any of the following strings:
where [UrlIdOrUrlTextId] is a variable representing the UrlId or UrlTextId of a Publication, and the suffix
.Publications that the child Publications (and not the Publication itself)
whould be used.
The dataSource will be the combination of all Publications represented in the list. The list will
be evaluated in order and allows duplicates. For example, the following string:
will retrieve a list combining all of the root Publications, the publication with
UrlId of 123, the children publication of the
Publication with UrlId of 123, the Publication
with UrlTextId of XXX, and the children
Publications of the the Publication with UrlTextId of YYY.
RankingFilter
The rankingFilter is a comma-separated list of one or more depth-ranking pairs, in the following format:
where depth represents a range of depths at which to apply the ranking
filter, in the following format:
where n and m are integers that represent the starting and ending
depths, and * represents an unlimited depth.
and ranking represents the minimum ranking that a Publication must have to pass the
ranking filter, in the following format:
For example, to include all publications up to level 1 (children) with a ranking of
High and above, and also publications beyond level 2 (grandchildren and their
descendants) with a ranking of Lead and above, use the following string:
TimespanFilter
The timespanFilter is a comma-separated list of one or more depth-timespan pairs, in the following format:
where depth has the same meaning as with the rankingFilter above, and
timespan represents the time, measured form the time at which a page is being rendered
and going back in time, during which a Publication must have been published in order to pass the filter.
A timespan must be in any of the following formats:
For example, to include all Publications up to level 1 (children) that have been published in the last four days, as well as publication for levels 2 and below that have been published in the last hour and a half, use:
To include all publications in any level that have been published in the last hour::