Get feed item structure (Atom)
Gets the structure of parameters of an Atom feed item
- Parameters
- Advanced call ?
Function GetFeedItemStructureAtom(Val Clear = False, Val AsMap = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
| AsMap | --map | Boolean | ✖ | True > returns fields as map |
Returns
Structure Of KeyAndValue - Feed item fields structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_RSS.GetFeedItemStructureAtom();
- Bash
- CMD/Bat
oint rss GetFeedItemStructureAtom \
--empty false \
--map true
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>"
}