> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RSS and Atom feeds

> Observe one RSS 2.0 or Atom 1.0 feed.

Mount `@bijectionhq/app-feeds` to read one reviewed HTTPS document once per
minute. Choose `rss` or `atom` when you initialize the source. Bundling
requires the release-produced XML parser in `@bijectionhq/library-formats`.

## Mount and bind

```ts bijection/app.ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { app, label } from "@bijectionhq/bijection";
import feeds, { feedReceiver } from "@bijectionhq/app-feeds";

const news = label();
const releases = feedReceiver("https://releases.example.org/atom.xml", news);

export default app({ news, releases, feeds: feeds({ data: news, provider: releases }) });
```

Grant `feeds.operator`, call `feeds.source.initialize` with
`{ format: "atom" }`, and read an entry with `feeds.entries.get({ key })`.

Pass the same label to the receiver binder and as the app's `data`, or
`label.public` for public storage. For a private feed, pass a `secret()` as
the third argument to `feedReceiver` and set its bearer value with
`bijection secret set <path>`.
The receiver accepts one fixed URL without query, fragment or user
information. Install a fresh source for a different feed or format.

## Keys, limits and continuity

* RSS 2.0 uses `guid`, falling back to `link`. Atom 1.0 uses the Atom
  `id` and requires `updated`. The app returns the selected fields as
  JSON text. Feed links and escaped markup are publisher-supplied data.
* Each pass reads at most 36 KiB of UTF-8 XML and up to 128 keyed entries
  in one continuation commit. Malformed XML, DTDs, XHTML text constructs,
  and duplicate or oversized keys refuse the pass.
* Each poll observes the current document. The connector has no provider
  cursor, archive traversal, conditional polling or deletion by absence.
  Entries remain when they age out of the window. `entries.list` has a
  separate Bijection paging cursor for the mount's retained rows.
* `source.health` reports progress and failures. Use its revision for
  `source.poll`, `source.pause` or `source.resume`.

Live feed acquisition remains unverified.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.