Conduit API
Case Study
Web Page API -> AddRSS
 
This function is used to add a Customized Button to the Toolbar. Clicking this button will cause a menu to open, containing the title and links of the RSS feed.
 
AddRSS(buttonLabel,
buttonIcon,
rssFeedUrl,
buttonNewMessagesIcon,
optionsDisplayText,
optionsDisplayIcon,
refreshIntervalInMinutes,
uniqueComponentID)
 
Parameter Description Range Type
buttonLabel The text to display on the button not null or empty string
buttonIcon The URL of the icon which is displayed on the button not null or empty string
rssFeedUrl The URL of the RSS feed not null or empty string
buttonNewMessagesIco This parameter is currently not in use -- --
optionsDisplayText Optional. The text to display in the toolbar's options dialog. When the parameter is left empty, the button label text is displayed in the toolbar's options dialog not null or empty string
optionsDisplayIcon Optional. The icon to display in the toolbar's options dialog. When the parameter is left empty, the button icon is displayed in the toolbar's options dialog not null or empty string
refreshIntervalInMinutes Optional. Indicates how often the RSS feed refreshes itself (the default is 120 minutes) >0 int
uniqueComponentID The Browser Component's (RSS feed) unique ID, used to prevent duplicates. If the parameter is left empty a unique ID is automatically created not null or empty string
 
An object that contains the following fields:
Field Name Description Type
returnValue Indicates whether the operation was successful.
True - The function adds a customized RSS button to the toolbar successfully
False - The RSS button is not added to the toolbar. Check the value of the errorCode to determine the specific reason for the function failure
boolean
errorCode
Specific error code. See Error Code Table for additional information.
int
 
This function must be called with at least one of the following parameters (which contain a value): "ButtonLabel" and/or "ButtonIcon". If both parameters are left empty the button will not appear on the toolbar.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains a button that when clicked upon will insert an RSS item to the Conduit demo toolbar.