Skip to main content

Get feed item structure (Atom)

Gets the structure of parameters of an Atom feed item

Function GetFeedItemStructureAtom(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.GetFeedItemStructureAtom();
oint rss GetFeedItemStructureAtom \
--empty false \
--map true
Result
{
"title": "<item title>",
"id": "<unique identifier of the item>",
"link": "<item URL>",
"updated": "<update date>",
"summary": "<short description>",
"content": "<full content>",
"author": "<author's name>",
"published": "<publication date>"
}