Availability
$WBGETRSS is available for use with all WBSP commands.
Syntax
$WBGETRSS{URL|ArrName|limit|show}
$WBGETRSS[URL|ArrName|limit|show]
Parameters
URL - The Internet address of the RSS
feed you want to include in your page. It can be either absolute
(containing entire address including protocol, server, path and resource) or
relative (to document root of virtual server if it starts with slash /
character, or to the directory where the WBSP file is located).
ArrName - name that will be used as prefix for all variables where
RSS feed content will be stored.
limit - optional parameter.
Contains the number of items to be included in arrays
show - optional
parameter - if set to true (T,ON,1) WhizBase will show the last index
(length-1) of resulting array
Returns
Set of four (4) arrays:
ArrName_title() - containing values of all
<title> nodes
ArrName_link() - containing values of all <link>
nodes
ArrName_description() - containing
values of all
<description> nodes
ArrName_pubdate() - containing
values
of all <pubDate> nodes
Example
After running this example, the resulting page in browser may look like this: