Parse feed (Atom)
Parses the XML of an Atom feed and returns a structure with feed data and items
- Parameters
- Advanced call ?
Function ParseFeedAtom(Val XMLText) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| XMLText | --xml | String | ✔ | XML content of Atom feed |
Returns
Structure Of KeyAndValue - Feed structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
FeedXML = "";
Result = OPI_RSS.ParseFeedAtom(FeedXML);
- Bash
- CMD/Bat
oint rss ParseFeedAtom \
--xml "/tmp/1xzrji0j.2jr.xml"
oint rss ParseFeedAtom ^
--xml "/tmp/1xzrji0j.2jr.xml"
Result
{
"title": "Test Atom feed",
"id": "https://example.com/feed",
"link": "https://example.com",
"updated": "2026-07-19T17:06:28",
"entries": [
{
"title": "First record",
"id": "https://example.com/entry1",
"link": "https://example.com/entry1",
"updated": "2026-07-19T17:06:28",
"summary": "First record summary",
"content": "Full content of the first record",
"author": "First Author",
"published": "2026-07-19T17:06:28"
},
{
"title": "Second record",
"id": "https://example.com/entry2",
"link": "https://example.com/entry2",
"updated": "2026-07-19T17:06:28",
"summary": "Second record summary",
"content": "Full content of the second record",
"author": "Second Author",
"published": "2026-07-19T17:06:28"
}
]
}