RSSProvider Class (Component)

The RSSProvider class is used to retrieve news stories from an external RSS feed using categories and sources offered by each individual provider. The Updated event is called whenever a change occurs in the referenced data.

Typically, you will use the Toolbox to add a component to your EasyLanguage document.  Click and drag the name RSSProvider into your document from the Toolbox.  The name of the provider appears in the component tray at the bottom of your document. By default, the name is truncated to “RSSProvider”followed by a number to identify multiple instances of the component.  

To reference a property value for a RSS provider object in EasyLanguage code, use RSSProvider1 followed by a 'dot operator', and the property name. Available RSSProvider properties, including inherited properties, will appear in the Autocomplete list.

Value1=RSSProvider1.News.Count];   // gets the number of RSS news items currently in the News collection.

For general information about providers, refer to Provider Classes.

Namespace: tsdata.marketdata

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Address string Gets or sets the url address of the RSS feed.
Public property Data object Gets the collection of news items. See News.
Public property Interval int Gets or sets how often RSS server(s) is refreshed in minutes. Default is 5 minutes.
Public property Load bool True indicates that the Provider will load RSS news.
Public property News object Gets the collection of news items. See News.
Public property Proxy string Gets or sets the url of a proxy server, if any. Leave empty for none.
Methods
  Name Description
Public property Create Initializes a new instance of the class.
Public property getNews Returns the collection of available news items from News.
Events
  Name Description
 Public event Updated Occurs whenever a News object is updated. See NewsUpdatedEventArgs for the properties returned by the handler's args parameter.