deprecatedclass %iKnow.Model.listRSS
extends %iKnow.Model.list
Subclass of %iKnow.Model.list dedicated to represent lists for the
RSS Lister. This class has its own set of properties representing the specific Lister
paramaters of the RSS Lister and hence is more easy to use than the generic list class.
Any <parameter> elements nested within this element will be overwritten with the values
specified for the corresponding shorthand attributes.
See also %iKnow.Source.RSS.Lister for more details on these Lister
Parameters.
parameter XMLNAME = "rss";
This parameter provides the default XMLNAME for the class. If it is
empty then the class name will be used to construct a default XML name.
The default XMLNAME is used as the top level tag
when exporting objects and the export context
did not provide an XML container name.
property listerClass
as %String(MAXLEN=250,XMLPROJECTION="attribute") [ InitialExpression = "%iKnow.Source.RSS.Lister",ReadOnly ];
The Lister class to use for loading data defined in this list element. This class should
extend %iKnow.Source.Lister. The Lister class defined here dictates the contents
of the parameters property.
property serverName
as %String(MAXLEN=250,XMLPROJECTION="ATTRIBUTE");
Name of the server the RSS is hosted on, for example "feeds.bbci.co.uk"
property textElements
as %String(MAXLEN=2000,XMLPROJECTION="ATTRIBUTE");
Which RSS item elements to use as the text body for this source. Defaults to "description",
but combinations such as "title,description" or "description,content:encoded" are convenient
alternatives.
property url
as %String(MAXLEN=2000,XMLPROJECTION="ATTRIBUTE");
URL of the RSS XML on the server, for example "/news/world/rss.xml"