Updates

RSS feed mishaps!

Apr 29, 2025

I tried implementing an RSS feed. This was 4 more hours of work than I anticipated.

RSS feed?

Yes! You can find it over here. To be clear, it’s actually an atom feed. But it should work? Hopefully?? I’ll find out when I try it out after pushing my site 🤞

Mishaps?

Oh. Yeah. So turns out svelte 5 rendering output doesn’t generate valid XML, which is what RSS feeds use. This lead to multiple hours of frustration. Eventually I ended up figuring it out, but I had to render my markdown with another package instead of svelte and mdsvex. As well as import.meta.glob all my stuff twice. One time to get all the metadata, another to get the raw contents.

I did some other dirty hacks to get this to work, and none of them are robust. So let’s push it to my site and see if it works! (Please work I don’t have another 4 hours to spare) (I mean, I do) (but I’d rather not, y’know?)

Update

I had to spend a few more moments ironing out the kinks. Html wasn’t being escaped properly so my posts had no preview. It’s escaped now! Hopefully I won’t have to look at this again for a While.

© Fulmine 2024 - All Rights Reserved 🫐🐉