feat: make the capsule subscribable over Gemini

Link labels in every capsule index are now ISO 8601 and lead with the date,
which is what Gemini's subscription convention reads a feed entry from: the
first ten characters of a label must parse as YYYY-MM-DD or the line is
ignored. The board's `09 Oct 26` parsed as nothing, so the front page, the
archive and all six areas registered zero entries and the capsule was
invisible to every aggregator in Geminispace. `/archive` now carries 36.

The Connect page advertised `/feeds/all.rss.xml` and `/feeds/all.atom.xml`,
which exist only in the HTML build and 404 over Gemini. That paragraph now
sits behind an itsybitsy `only html` format gate, with prose outside it that
is true on both faces. The gate can only cut that way round: Pelican does not
implement the directive and renders it as an inert comment, so a gate
subtracts from the capsule and never from the site.

Also adds dormant `SMOLNET_COMMENTS` support, for a per-article thread link
gated to the text formats. Off until kapara is deployed, since setting it
would put a dead link under every article.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
randogoth 2026-10-09 17:19:50 +03:00
parent 17f3a4e79e
commit 9817e7190c
3 changed files with 69 additions and 4 deletions

View file

@ -19,5 +19,10 @@ Slug: connect
## Feeds
<!-- only html -->
This site has [RSS](/feeds/all.rss.xml) and [Atom](/feeds/all.atom.xml), and so
does every area. Readers are better than algorithms.
does every area.
<!-- end -->
Over Gemini there is no XML and none is needed: every listing is ISO dated, so a
client can subscribe to the main menu, the archive or a single area as it
stands. Readers are better than algorithms.