Join
Sign In
Sign Out
Support
Help
Community
Conduit
Mobile
Wibiya
How it Works
Benefits
Features
Showcase
Contact Us
Conduit API
Using Advanced APIs
+ Methods
EBOpenPopHtml
Introduction
HTML App
Introduction
Introduction
Developing the game
Gadget
+ Methods
ChangeHeight
ChangeSize
CloseFloatingWindow
GetCurrentHeight
Introduction
+ Methods
AddAlert
AddApplicationMenuItem
AddCommandMenuItem
AddGadget
AddGadgetMenuItem
AddLinkButton
AddLinkMenuItem
AddRadioStation
AddRSS
GetAllToolbarsInfo
GetInfo
GetSupportedUserAddMenu
IsSupportedFunction
IsVisible
Refresh
Error Code Table
Code Usage
HTML Apps Height
XML Specifications
Create HTML component
Code Example
Glossary
+ Methods
CrossDomainHttpRequest
GetInfo
SendNotification
RegisterForMessaging
SendMessage
JSInjection
ChangeWidth
DeleteGlobalKey
DeleteKey
GetCurrentWidth
GetMainFrameTitle
GetMainFrameUrl
GetSearchTerm
GetVersion
OpenGadget
RefreshComponentById
RefreshToolbar
RetrieveGlobalKey
RetrieveKey
SelfNavigate
StoreGlobalKey
StoreKey
+ Events
EBKeyChanged
EBTabRestored
EBDocumentComplete
EBGlobalKeyChanged
EBNavigateComplete
EBSearchTermChanged
Code Usage
Code Usage
Flash plugin behavior
Embeding Flash
+ ASP.Net
+ ExternalMenu
+ Constructors
ExternalMenuCtor
+ EM_Button
EM_Button
+ Properties
ButtonTooltip
DefaultButtonText
DefaultIconUrl
+ EM_Menu
+ Constructors
EM_MenuCtor
EM_Menu
+ EM_MenuItem
+ Constructors
EM_MenuItemCtor
+ EM_Data
EM_Data
+ EM_Link
+ Constructors
EM_LinkCtor
EM_Link
+ Enums
LinkType
+ Properties
Target
Url
+ EM_PopHtml
+ Constructors
EM_PopHtmlCtor
EM_PopHtml
+ Properties
Height
Url
Width
+ Enums
DataType
+ Properties
Link
PopHtml
Type
EM_MenuItem
+ Properties
Caption
Data
IconUrl
+ EM_Separator
+ Constructors
EM_SeparatorCtor
EM_Separator
+ Properties
Caption
Hint
IconUrl
MenuItems
+ Enums
MenuType
ExternalMenu
+ Methods
GetXml
+ Properties
Button
ExternalInterval
Menu
Type
Live Demo Usage
Targets
Detecting Flash version
Conduit API
Code Usage
Security Settings
Show Hide mechanism
Where to go from here
Toolbar
Facebook
Case Study
Introduction
Introduction
Online users
Add user Login
Add Quick Search
Add user Messages
Web Page API -> AddRSS
- Description
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.
- Syntax
AddRSS(buttonLabel,
buttonIcon,
rssFeedUrl,
buttonNewMessagesIcon,
optionsDisplayText,
optionsDisplayIcon,
refreshIntervalInMinutes,
uniqueComponentID)
- Parameters
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
- Return Value
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
- Remarks
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.
- Code Example
This example contains a button that when clicked upon will insert an RSS item to the
Conduit demo toolbar
.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Conduit Toolbar API - AddRSS</title> </head> <body> <div><input type="button" value="Add Rss" onclick="AddRssToToolbar()" /></div> <br /> <div id="result"></div> </body> </html>
- Code Usage
See code usage
See live demo usage
Live example