RSS Bug Fixes

site-update

I improved the formatting of the description of posts in the RSS feed. Previously, it was regular HTML, which doesn’t unfurl well on Mastodon (likely for security reasons).

So I made it plain text, converted html entity encoded characters, and truncated the result down to 200 characters. Ah, much nicer.

Though I had a pretty good idea of what needed to be done, based on a similar problem on the post list page. But, after digging around, I couldn’t find the template for the RSS to make the change.

Claude to the rescue, turns out that it uses a built in template for RSS; the fix is to add a new template to override the default. It took Claude a few minutes get things figured out but it ended up being a plugging a copy of the default template, with a one line change.