Follow a status page or feed
Updated
A Ripple source can follow a feed: a status page, a changelog, a project's releases on GitHub, or any RSS, Atom, RDF, or JSON feed. Ripple checks the feed about every 5 minutes, and each new post arrives in the source as a message, so an outage or a release reaches you the way everything else in Ripple does. See it at work.
Follow a feed
Choose New source, type the site's address where the name goes, such as githubstatus.com, and choose Follow. Ripple finds the feed, names the source after it, and gives it the site's logo or icon. The feed's newest post arrives a moment later. The posts before it don't, so a new source never starts with a backlog.
To make a source you already have follow a feed, open its page, choose Feed under Ways to send, and enter the address. A source follows one feed at a time: following another replaces it, and Stop following ends it. Inbox can't follow a feed.
Any of these addresses works:
| Give Ripple | Example | It follows |
|---|---|---|
| A feed's address | example.com/ | That feed |
| A page or site with a feed | githubstatus.com | The feed the page names in its head, or one at a usual address such as /history.atom or /feed |
| A GitHub repository | github.com/ | Its releases |
You can leave out https:/. Ripple fetches feeds only over https, so it reads http:/ and feed:/ addresses as https:/.
Follow from code
Give feed when you create a source with an API token whose access is Everything. The name is optional:
Without a name, the source takes the feed's title, less what only describes the feed: GitHub's Release notes from next.js becomes next.js releases, and a status page's GitHub Status - Incident History becomes GitHub Status. If one of your sources already has that name, the new one is numbered, such as GitHub Status 2. A name you choose must be free, as for any source.
Ripple answers 201 Created with the source, whose feed says what it follows:
checkedAt is when Ripple last read the feed, and problem is null until the feed has a problem. A source that follows no feed has "feed": null.
To make an existing source follow a feed, or change the one it follows, send feed in a PATCH. To stop, send null:
Ripple finds the feed before it changes anything, so a request that names no feed changes nothing:
| Error | When |
|---|---|
400 invalid_feed | There's no feed at the address, or Ripple can't reach it. The message says which, such as “Ripple couldn’t find a feed at example.com.” or “example.com isn’t on the public web.” |
400 built_in_source | The source is Inbox, which can't follow a feed |
429 source_creation_rate_limited | Each lookup counts as one of the 30 attempts a minute an account can make to create a source, since it fetches from the web. Wait the Retry-After seconds. |
Follow from the terminal
The CLI takes --feed when it creates or changes a source. A name is optional here too:
To change the feed a source follows, or stop following it:
ripple sources get shows the feed a source follows, and any problem with it.
Follow from an AI agent
Ask an AI agent connected with Everything to follow a status page or a project's releases. create_source takes feed, and its name is optional; change_source takes feed, or null to stop following. Like any new source, the AI agent makes it only after you agree.
What arrives
Each post becomes a message in the source:
- Title: the post's title.
- Text: the post's text as Markdown. A post longer than a message can hold ends with a Continue reading link to it.
- Link: the post itself, one click from the message. Like a feed's address, an
http:/link opens as/ https:/./ - Picture: the post's lead picture, when its text has none of its own.
Posts arrive like any other message: with the source's default alert and sound, and within the send limits. To keep a busy changelog from notifying you, set its source's default alert to quiet.
Updates and edits
A status page adds to an incident's post as it unfolds. When a post keeps all its earlier text and adds more, only the new part arrives, as a reply in the post's thread, so an incident reads as one conversation. Some status pages, such as those on incident.io, show only an incident's latest update instead. When such a post is dated later and its first two paragraphs change, the new ones arrive the same way: a new status and its message, without the list of affected components below them. If you've moved that thread to Trash, an update arrives on its own under the post's title. Any other change to a post's earlier text is an edit, and sends nothing.
How much arrives
A check delivers at most 5 new posts and updates, oldest first, so the newest lands on top. If more posts are new, as when a feed comes back after an outage, the older ones are skipped, never sent later. Updates past the 5 arrive with the next check. Ripple doesn't check a disabled source's feed, or the feed of a source in Trash, until it's turned back on or restored.
When a feed has a problem
When a feed fails 3 checks in a row, its source shows what's wrong on its page and wherever its state shows, and Ripple keeps trying, less often each time, down to once a day. A passing outage never shows. The API reports it as feed.problem:
| Problem | Shows | What happened |
|---|---|---|
unreachable | Can’t reach feed | The site didn't answer, or answered with an error |
refused | Feed refused | The site turned Ripple away, with 401, 403, 418, 429, or 451 |
not_found | Feed missing | The address answers 404 Not Found |
gone | Feed removed | The address answers 410 Gone |
not_a_feed | Not a feed | The address no longer holds a feed |
too_large | Feed too large | The feed is over 5 MB |
A feed that answers 410 Gone shows its problem at once, and Ripple stops checking it. To follow it again, follow its address anew. When a feed moves for good (301 or 308), Ripple follows it to its new address on its own.
How Ripple checks feeds
This section is for the people who run a site that Ripple users follow. Ripple, the notification service at ripple.do, reads each feed once for all the Ripple sources that follow it, no more often than every 5 minutes. Every request sends this user agent:
The count is how many Ripple sources follow that address. Ripple never tells a site who follows it.
- Https only, public addresses only. Ripple fetches only
httpsaddresses, follows at most 3 redirects, and only tohttps, and connects only to public IP addresses. - Conditional requests. Ripple sends the
ETagandLast-Modifiedof your last answer asIf-None-MatchandIf-Modified-Since. Answer304 Not Modified, and the check costs nothing more. A feed that sends neither is read again, but Ripple does nothing more when it's the same as last time. - Your cadence. Ripple waits longer between checks when you ask.
Cache-Controlmax-ageors-maxage,Expires, and RSSttlcount for up to an hour, since they're often set far longer than a site means. To slow Ripple down for longer, answer429or503withRetry-After, which counts for up to 24 hours. Errors and refusals slow it down too, down to once a day. - Size and time. Ripple accepts gzip, deflate, and brotli, reads up to 5 MB of feed, and gives up after 10 seconds.
- Stopping. Answer
410 Gone, and Ripple stops checking the address for good. Ripple users who still want your posts have to follow the feed again.
Following an address that isn't a feed itself tries up to 5 more addresses to find one, starting none after 15 seconds: first the feeds its page names with <link rel="alternate">, then a few usual addresses such as /feed and /history.atom. A GitHub repository's address goes straight to its /releases.atom.