The feed structure and styles are intentionally kept minimal.
Based on:
- Darek Kay's RSS styling blog post
- the pretty-feed RSS stylesheet (especially the comment about required headers)
Benefits:
- possibility to add an intro about feeds for people who land on
/feed.xml - human-readable list of feed items
Drawbacks:
- according to pretty-feed, browsers won't automatically open the feed in the default newsreader. I think this is fine, because people who already have a newsreader should hopefully know how to add a feed by URL
- had to serve the feed with specific headers (done in Cloudflare Pages via the _headers file), otherwise according to pretty-feed Safari won't recognize the document
- had to duplicate some of the template's
headinto the XSL stylesheet (title, CSS import, color scheme meta tag...). This could technically be reused with templating... but I don't think I want to add .xsl to brut as a valid page extension
The feed structure and styles are intentionally kept minimal.
Based on:
- Darek Kay's [RSS styling blog post](https://darekkay.com/blog/rss-styling/)
- the [pretty-feed RSS stylesheet](https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.xsl) (especially the comment about required headers)
Benefits:
- possibility to add an intro about feeds for people who land on `/feed.xml`
- human-readable list of feed items
Drawbacks:
- according to pretty-feed, browsers won't automatically open the feed in the default newsreader. I think this is fine, because people who already have a newsreader should hopefully know how to add a feed by URL
- had to serve the feed with specific headers (done in Cloudflare Pages via the _headers file), otherwise according to pretty-feed Safari won't recognize the document
- had to duplicate some of the template's `head` into the XSL stylesheet (title, CSS import, color scheme meta tag...). This could technically be reused with templating... but I don't think I want to add .xsl to brut as a valid page extension