This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

%iKnow.Model.listRSS

class %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.

Property Inventory

Parameters

parameter XMLNAME = rss;
Inherited description: 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.

Properties

property listerClass as %String (MAXLEN = 250, XMLPROJECTION = "attribute") [ InitialExpression = "%iKnow.Source.RSS.Lister" , ReadOnly ];
Inherited description: 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 methods: listerClassDisplayToLogical(), listerClassGet(), listerClassIsValid(), listerClassLogicalToDisplay(), listerClassLogicalToOdbc(), listerClassNormalize(), listerClassSet()
property serverName as %String (MAXLEN = 250, XMLPROJECTION = "ATTRIBUTE");
Name of the server the RSS is hosted on, for example "feeds.bbci.co.uk"
Property methods: serverNameDisplayToLogical(), serverNameGet(), serverNameIsValid(), serverNameLogicalToDisplay(), serverNameLogicalToOdbc(), serverNameNormalize(), serverNameSet()
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 methods: textElementsDisplayToLogical(), textElementsGet(), textElementsIsValid(), textElementsLogicalToDisplay(), textElementsLogicalToOdbc(), textElementsNormalize(), textElementsSet()
property url as %String (MAXLEN = 2000, XMLPROJECTION = "ATTRIBUTE");
URL of the RSS XML on the server, for example "/news/world/rss.xml"
Property methods: urlDisplayToLogical(), urlGet(), urlIsValid(), urlLogicalToDisplay(), urlLogicalToOdbc(), urlNormalize(), urlSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window