RSS Feed Best Practices (2022)
23 points by KomoD 3 hours ago | 5 comments

tjansen 26 minutes ago
As the author of an RSS reader, I would agree with most of that article, except the HTML / Styling section. It is full of misleading information.

1. You can use CSS, but expect that most readers will completely ignore it. Even widespread ones, like Feedly. Those that do support it will offer a small subset, like text styles, but don't expect positioning or flex-layouts to work. If you want to try the capabilities your reader, this is a test feed: https://test-rss.downread.com/styles.rss.xml

2. Don't just prefer inline CSS, use it, because any sane RSS reader will filter <style>.

3. Yes, semantic elements will generally work. And not only those listed, but also things like <table>, <figure>, and sometimes <aside>.

4. Agree about JavaScript. Don't use it.

5. Decent readers will support <video> and <audio>. But <iframes> are even better, as long as you use common providers, especially YouTube. X, Instagram and Facebook are also relatively widely supported.

6. Agree about forms. At best, they will be used as rendering hints, but forms won't work.

reply
marcelo-earth 5 minutes ago
I didn't know I could insert iframes, but now I see that I can I'll update my RSS feeds with this, thanks!
reply
simonjgreen 17 minutes ago
I’d be interested to hear a bit about your reader.

I keep coming back to RSS, but that sadly also means I keep forgetting about it. How do you build the habit and routine?

reply
talideon 53 minutes ago
I would add to this that tag URIs (see RFC 4151) are a fantastic way to mint entry IDs.
reply
edhelas 49 minutes ago
Yes, use Atom 1.0 <3
reply