$WBGETATOM - get Atom feed

Availability
$WBGETATOM is available for use with all WBSP commands.

Syntax
$WBGETATOM{URL|ArrName|limit|show}
$WBGETATOM[URL|ArrName|limit|show]

Parameters
URL - The Internet address of the Atom 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 Atom 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 five (5) arrays:
ArrName_title() - containing values of all <title> nodes
ArrName_summary() - containing values of all <summary> nodes
ArrName_updated() - containing values of all <updated> nodes
ArrName_content() - containing values of all <content> nodes
ArrName_link - set of four (4) sub arrays:
ArrName_link_replies() - containing values of all <link> nodes with rel atribute set to "replies"
ArrName_link_edit() - containing values of all <link> nodes with rel atribute set to "edit"
ArrName_link_self() - containing values of all <link> nodes with rel atribute set to "self" or empty ("")
ArrName_link_alternate() - containing values of all <link> nodes with rel atribute set to "alternate"

Example

[FormFields]
wb_command=R
<!--WB_BeginTemplate-->
<html>
<head>
  <title>Atom</title>
</head>
<body>
$wbsetv[lastAtom|$wbgetatom[http://www.blogger.com/feeds/6469594030329284280/posts/default|AtomFeed|5|T]]
$wbsetv[loopcounter|0]
$WBWHILE[$wbgetv[loopcounter]<=$wbgetv[lastAtom]|
<a href="$wbgetv[AtomFeed_Link_Alternate($wbgetv[loopcounter])]" target="_blank">$wbgetv[AtomFeed_Title($wbgetv[loopcounter])]</a> $wbgetv[AtomFeed_Updated($wbgetv[loopcounter])]<br>
$wbsetv[loopcounter|$wbcalc[$wbgetv[loopcounter]+1]]
]
</body>
</html>

After running this example (retrieving posts from blog.whizbase.com), the resulting page in browser may look like this:

Sending an email with embedded images using WhizBase 2011-08-11T11:39:48.072+02:00
How to collect data from web visitors and save them in your database 2011-05-25T09:53:37.552+02:00
Whiz your database to the web, now as a SaaS! 2011-05-18T14:57:12.996+02:00
Create an AJAX supported registration form with WhizBase 2011-03-30T10:43:08.184+02:00
Whizbase fast tutorial 2011-03-23T11:40:35.143+01:00