Description
Generate a syndication feed, converting one or more objects to XML and returning it.
Parameters (* denotes an optional parameter)
Ids*
A comma-separated list of database ids of the object(s) to export in the feed.
PubDest (Required if there is no ids parameter)
This string parameter contains the path of the publishing destination to export in the feed (used when there are no explicit object ids)
Name*
Name of the XML export configuration to use to convert the feed object(s) to the feed XML representation
Pars*
This optional parameter contains a list of name-value pairs in the format 'name1:value1;name2:value2...'; For example, 'folderId:30;cmd:up' defines a 'folderId' parameter with value 30 and a 'cmd' parameter with value 'up'.
Examples
Example 1:
http://server/gnn/do.ashx?cmd=feed&pubdest=/Image&name=RSS20&pars=item:html
where '/Image' is the path of a publishing destination, and 'RSS20' is the name of an xml export configuration found in the GN4 configuration (loaded as feed_rss20.xml), and item is a parameter required by the XmlExportOptions defined in the configuration RSS20.
Example 2:
http://server/gnportal/do.ashx?cmd=feed&name=html&ids=2316,2315
This displays the xml of objects with ids of 2315 and 2316, filtered by the xml transformation named html.
Note that using the feed command and passing ids is very similar to using the objsnav command.