DuRSSPanel()

For use with DuAEF.DuScriptUI.
A Panel with which displays an RSS feed.
This is not a real class, and cannot be instanciated.
Use DuAEF.DuScriptUI.addRSSPanel to create an RSS Panel.
The DuRSSPanel inherits the Group object from ScriptUI and has all of its properties and methods.

new DuRSSPanel()

Properties:
Name Type Description
channel DuRSSChannel The RSS Channel displayed by this panel.
currentItem DuRSSItem The current RSS item displayed by this panel.
currentIndex int The current index of the item displayed by this panel.

Methods

static next()

Displays the next RSS item.

static previous()

Displays the previous RSS item.

static setCurrentIndex(itemIndexopt)

Changes the current RSS item.
Parameters:
Name Type Attributes Default Description
itemIndex int <optional>
0 The index of the item to display.

static updateRSS(rssUrlopt, rssArgsopt, rssUserAgentVersionopt, rssPortopt)

Updates the RSS feed and displays its latest item.
Parameters:
Name Type Attributes Description
rssUrl string <optional>
The url of the RSS server. Omit to use the url provided when creating the panel.
rssArgs string <optional>
The subdirectory/arguments to append to the url (without a leading '/'). Omit to use the arguments provided when creating the panel.
rssUserAgentVersion string <optional>
Your script version name and number to be used as a user agent to connect to the server. Omit to use the user agent provided when creating the panel.
rssPort int <optional>
The server port. Omit to use the port provided when creating the panel.