Guides
RSS feed
Where it is
The feed is /feed.xml on the newsletter's website: https://your-slug.example.com/feed.xml, on its own subdomain once you've added a domain. Without a shared domain, as on a self-hosted server, it is https://flockstack.io/archive/your-slug/feed. The website links to it in its footer and in the head of every page, so feed apps find it from the website's address alone.
<link rel="alternate" type="application/rss+xml" title="Your newsletter" href="https://your-slug.example.com/feed.xml">What it contains
The 30 latest issues, newest first, as RSS 2.0. Each item has the subject, the issue's address on the website, the date it went out, the author, a short description and the whole issue as HTML in content:encoded. Each item's guid is the issue's ID, so it stays the same when the website moves to your own domain.
Issues you unlist from the website (the campaign's archive setting) are not in the feed, and neither are issues that aren't free. Drafts and unsent issues never are. A website that is off, or that has no issue yet, has no feed.
Caching
Feed apps check often, so the feed answers ETag and Last-Modified, and a repeat request with If-None-Match gets 304 Not Modified without the body. It allows caches to keep the file for 15 minutes. A new issue shows up in the feed within that time.
Putting someone else's feed in an issue
The editor's /RSS feed block shows the latest items of any RSS or Atom feed: a link, a date, an excerpt and a picture for each, as many as you choose (up to 10), newest or oldest first. The feed is read when the issue goes out: the block becomes the items themselves in the saved issue, so every reader and the issue's page show the same ones. A test email reads the feed too, and a feed that can't be read stops the send before it starts.
Feeds are read over https only, from public addresses, up to 1 MB and 8 seconds, and FlockStack keeps what it read for 5 minutes. From the API, put <div data-rss="https://example.com/feed.xml" data-count="3"></div> in a rich campaign, and check a feed with preview_feed.
A series from a feed
A series turns a feed into an issue on a schedule: every day, on the days of the week you pick, or on a day of the month. When it is due, FlockStack reads the feed, takes the items published since the last issue (the first issue has the newest ones) and makes an issue of your introduction and those items. The subject and the preview text can use {{date}}, {{first_title}} and {{count}}.
Each issue waits as a draft for you to review, and you get an email when it is ready, or it is sent to the whole list by itself. With no new items nothing is made, and every run, skipped ones included, is in the series' history. Create them under Series in the dashboard, or with the create_series action.