Docs

RSS Feeds & Sitemap

Orbiter automatically generates an RSS 2.0 feed for every collection and a unified XML sitemap covering all published entries — no configuration required.

How it works

The Orbiter Astro integration injects two route handlers into your site at build and dev time. They are added automatically when you add the integration to astro.config.mjs — you do not need to create any files or configure any options.

RSS feeds

GET /orbiter/rss/[collection].xml

Replace [collection] with any collection slug (e.g. /orbiter/rss/posts.xml). The response is a valid RSS 2.0 document. Only published entries are included. Each item contains:

RSS elementSource
<title>Entry's title field (or slug if no title field exists)
<link>Constructed from site.url + the collection's Preview URL pattern
<description>Entry's excerpt or description field if present
<pubDate>Entry's published_at timestamp
<guid>Entry's canonical URL

The feed's <channel> metadata is pulled from your pod's Settings:

  • Feed titlesite.name + collection name
  • Feed linksite.url
  • Feed descriptionsite.description (if set)

Sitemap

GET /orbiter/sitemap.xml

Returns a single XML sitemap that includes every published entry across all collections. Each <url> entry contains:

ElementSource
<loc>Canonical URL built from site.url + the collection's Preview URL pattern
<lastmod>Entry's updated_at timestamp in YYYY-MM-DD format

Collections that have no Preview URL configured in their schema are excluded from the sitemap — Orbiter cannot determine a canonical URL for them.

Settings that affect output

Both routes read from Settings → Site. Make sure these values are set:

SettingUsed by
site.urlRSS feed link, RSS item links, sitemap <loc>
site.nameRSS channel title
site.descriptionRSS channel description (optional)

No configuration needed

The routes are injected by the integration. No pages, API routes, or plugin options are required on your side. To verify the routes are live, visit /orbiter/rss/[collection].xml in your local dev server after starting astro dev.