alexwlchan / alexwlchan.net

Source code and plugins for my website, a static site built with Jekyll
https://alexwlchan.net/
MIT License
50 stars 13 forks source link

Add the trailing slash to `id`/`base` elements in the RSS feed #787

Open alexwlchan opened 7 months ago

alexwlchan commented 7 months ago

This will make them match the real URLs. I'll have to do this carefully to avoid sending all my old posts back into people's feed readers.

alexwlchan commented 2 months ago

I've got a trailing slash being added to new RSS feed entries – anything after "documenting my DNS".

https://github.com/alexwlchan/alexwlchan.net/blob/3de6bb63523aa008174d2813694d16f7a3f58a4e/src/_includes/rss_feed_entry.xml#L12-L28

That means about half the posts have it, half don't – I need to wait a bit longer before I can remove the date-based workaround and just have the new way.

alexwlchan commented 1 month ago

Don't forget this is used in the TIL feed as well!

alexwlchan commented 1 month ago

Tip: if you want to check whether this is done yet, search for <id> in the compiled RSS feed.

I'm still about a dozen posts away in the articles feed, slightly less in the TIL feed.