@jasikpark/astro-openring
v0.0.1
Published
A custom Astro content loader that combines multiple RSS/Atom feeds into a single collection. Mimics the behavior of [openring](https://git.sr.ht/~sircmpwn/openring) / [openring-rs](https://github.com/lukehsiao/openring-rs), a tool for generating webrings
Downloads
115
Readme
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.
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
}),
});