2019/02/13, fourth day in a row

RSS feed! rss feed

As I wrote the other day on dev.to (here), I've been subscribing to a lot of "web design" and various tech feeds recently. And I thought, why not have my own RSS feed for this wonderful hand-typed web-thing that I'm building at the moment? Today, as I was going to do some freeCodeCamp, I suddenly decided that I wouldn't go to bed before that RSS thing was made and published. I cheated a bit because I've been working in bed since 10pm (almost 2am now), but I'm happy to say that the thing is up and it works. I've loaded it in netNewsWire and I fixed one date error that I spotted (2019 instead of 2018 for a last November post).

My feed is here: rss feed :^)

Writing your own RSS feed is trivial. Of course, you're probably writing in an environment where you get RSS for free, but let's pretend you want to write the thing by hand (in emacs?) well, it's pretty easy. Since I registered all the past articles, there was a lot of manually copying urls, and pasting summaries, but now that I only have to do that once per update, I'm probably going to write an elisp script that does it automatically when I finish a post.

I found one amazing guide to write the xml code: the XML RSS w3schools tutorial. Then, there is the RSS official specification, where all the elements are thoroughly explained. The two documents are enough for anything you might need.

Notes