A channel which renders news feeds in the portal.
Static channel parameters to be supplied:
1) "xmlUri" - URI representing the news feed. RSS and Atom are supported.
(See Rome's documentation for specific version information.)
2) "viewNum" - Maximum number of news articles to list.
3) "cacheTimeout" - the amount of time (in seconds) that the contents of the
channel should be cached (optional). If this parameter is left
out, a default timeout value will be used.
4) "upc_localConnContext" - The class name of the ILocalConnectionContext
implementation.
Use when local data needs to be sent with the
request for the URL.
5) "upc_allow_xmlUri_prefixes" - Optional parameter specifying as a whitespace
delimited String the allowable xmlUri prefixes.
Defaults to "http:// https://"
6) "upc_deny_xmlUri_prefixes" - Optional parameter specifying as a whitespace
delimited String URI prefixes that should block a URI
as xmlUri even if it matched one of the allow prefixes.
Defaults to ""
7) "restrict_xmlUri_inStaticData" - Optional parameter specifying whether
the xmlUri should be restricted according to the allow and
deny prefix rules above as presented in ChannelStaticData
or just as presented in ChannelRuntimeData. "true" means
both ChannelStaticData and ChannelRuntimeData will be restricted.
Any other value or the parameter not being present means
only ChannelRuntimeData will be restricted. It is important
to set this value to true when using subscribe-time
channel parameter configuration of the xmlUri.
As of uPortal 2.5.1, the xmlUri must match an allowed URI prefix.
By default http:// and https:// URIs are allowed. If you are using the
empty document or another XML file from the classpath or from the filesystem,
you will need to allow a prefix to or the full path of that resource.
|