Astro openring Loader#
A custom Astro content loader that combines multiple RSS/Atom feeds into a single collection. Mimics the behavior of openring / openring-rs, a tool for generating webrings from RSS feeds.
NPM: https://npmjs.com/package/@jasikpark/astro-openring
pnpm add @jasikpark/astro-openring
Example Usage#
const openringCollection = defineCollection({
loader: openringLoader({
feeds: [
"https://tangled.org/calebjasik.jasik.xyz/astro-openring/feed.atom",
"https://jasik.xyz/rss.xml",
],
skipURLs: ["https://example.com/blog-post-with-weird-rss-feed-item"],
numArticles: 50, // Total number of articles to fetch
perSource: 5, // Number of articles to get from each feed
}),
});