Get feed item structure (RSS)
Gets the structure of parameters for an RSS feed item
- Parameters
- Advanced call ?
Function GetFeedItemStructureRSS(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.GetFeedItemStructureRSS();
- Bash
- CMD/Bat
oint rss GetFeedItemStructureRSS \
--empty false \
--map true
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>"
}