🧩 RSS Feed Structure
This feed follows the RSS 2.0 specification with a few extensions (atom
, slash
).
It includes a root <rss>
element, a <channel>
section (feed metadata), and multiple <item>
elements representing individual articles.
🗂️ 1.
<channel>
— Feed Metadata
Element | Description |
| The feed’s name (usually the website or publication name) |
| A short summary of the feed |
| Date when the feed was generated |
| The software used to create the feed |
| The main website URL |
| A self-reference link to the RSS feed itself |
📰 2.
<item>
— Individual Article
Each <item>
represents one article. Here’s how each tag maps to our app’s parsing model:
App Field | RSS Source | Notes |
id |
| Unique identifier (usually the article URL) |
title |
| Article title |
description |
| Short HTML excerpt (often wrapped in CDATA) |
content |
| Full HTML content, if available |
published |
| Publication date (RFC822 format) |
links |
| Main article link |
categories |
| Article categories or tags |
authors |
| Author(s), if present |
enclosures |
| Attached media (e.g., cover image) |
🖼️ Example Parsed Output
Given this RSS snippet:
<item>
<title>Lorem ipsum dolor sit amet</title>
<author>
<name>Author</name>
<uri><http://example.wordpress.com></uri>
</author>
<description><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit.]]></description>
<pubDate>Tue, 07 Oct 2025 12:53:22 +0200</pubDate>
<link><https://example.com/posts/1></link>
<guid><https://example.com/posts/1></guid>
<category scheme="<https://example.com/>" term="Lorem Ipsum" /> <enclosure type="image/jpeg" length="1" url="<https://example.com/img1.webp>"/>
</item>
Mobile app would parse it as:
{
"id": "<https://example.com/posts/1>",
"title": "Lorem ipsum dolor sit amet",
"description": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>",
"content": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>",
"published": "Tue, 07 Oct 2025 12:53:22 +0200",
"links": [{ "url": "<https://example.com/posts/1>" }],
"categories": [{ "name": "Lorem Ipsum" }],
"authors": [{name: "Author"}],
"enclosures": ["<https://example.com/img1.webp>"],
}
To go further, check the full mapping here: https://www.npmjs.com/package/react-native-rss-parser#parsed-model