Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: formatted the 'Channel Link Attribute' section

...

RSS

Channel Link Attribute

<!--
An optional "channelLink" attribute may can be set on the above outer tag to
set the channelof the configuration file to customize the RSS channel element's link attribute.

Metadata available for replacement in this attribute is:

...

In addition to other characters, the value of the channelLink attribute can contain the following metadata keys surrounded by square brackets:

No Format

[BaseUrl] - replaced by the base URL of the CAS Product Server web application
[ProductType] - replaced by the value of the 'channel' parameter in the request URL
[ProductTypeId] - replaced by the value of the 'id' parameter in the request URL
[TopN] - replaced by the value of the 'topn' parameter in the request URL

An example is shown below:

No Format

<cas:rssconf xmlns:cas="http://oodt.apache.org/ns/cas"
  channelLink="[BaseUrl]?channel=[ProductType]&amp;id=[ProductTypeId]"> 

Namespace Definitions

Namespaces are defined using a <namespace>> element with a prefix attribute (for the namespace prefix) and a uri attribute (for the namespace URI). For example:

...