Skip to main content

Get feed item structure (RSS)

Gets the structure of parameters for an RSS feed item

Function GetFeedItemStructureRSS(Val Clear = False, Val AsMap = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values
AsMap--mapBooleanTrue > returns fields as map
Returns

Structure Of KeyAndValue - Feed item fields structure

1C:Enterprise/OneScript code example
Result = OPI_RSS.GetFeedItemStructureRSS();
oint rss GetFeedItemStructureRSS \
--empty false \
--map true
Result
{
"title": "<item title>",
"description": "<item description/content>",
"link": "<item URL>",
"pubDate": "<publication date>",
"author": "<authors email>",
"guid": "<unique identifier of the item>"
}