You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add experimental live feed loader for runtime RSS/Atom feed loading
Adds a new `liveFeedLoader` for Astro's experimental live content collections feature. This allows RSS/Atom feeds to be fetched at request time rather than build time, enabling real-time content updates without rebuilds.
Features:
- Runtime feed loading with `liveFeedLoader()`
- Support for RSS, Atom, and RDF feeds
- Collection filtering (limit, category, author, date ranges)
- Individual entry loading by ID or URL
- Structured error handling with `FeedLoadError` and `FeedValidationError`
- TypeScript support with proper generics
- Comprehensive test coverage (18 test cases)
Demo:
- Added live news collection using BBC Science & Environment RSS feed
- Created news listing and individual article pages
- Demonstrates proper error handling and server-side rendering
Requirements:
- Astro 5.10.0 or later
- Experimental live content collections enabled in astro.config.mjs
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update demo
* Update changeset
* Remove doc
* Update demo and readme
* Update
---------
Co-authored-by: Claude <noreply@anthropic.com>
Adds a new `liveFeedLoader` for Astro's experimental live content collections feature. This allows RSS/Atom feeds to be fetched at request time rather than build time, enabling real-time content updates without rebuilds.
8
+
9
+
**Features:**
10
+
11
+
- Runtime feed loading with `liveFeedLoader()`
12
+
- Support for RSS, Atom, and RDF feeds
13
+
- Collection filtering (limit, category, author, date ranges)
14
+
- Individual entry loading by ID or URL
15
+
- Structured error handling with `FeedLoadError` and `FeedValidationError`
16
+
- TypeScript support with proper generics
17
+
18
+
**Requirements:**
19
+
20
+
- Astro 5.10.0 or later
21
+
- Experimental live content collections enabled in `astro.config.mjs`
0 commit comments