GW-Blog

Nonsense from the mind of Jeff Armstrong

Previous: Bringing the Rainbow Up Again
Next: Too Busy To Post

Implementing RSS

Posted on February 13, 2017

Looking at my logs on this server, I've seen a number of RSS feed requests based on the old Wordpress addresses. I thought it would be nice to implement an RSS feed in GW-Blog ! Everything necessary waspresent, namely dated posts, so how hard could it be?

I did run into some minor issues because the GW-Blog software had no concept of a home URL or a blog title. Adding those, though, actually led to a fun improvement: arbitrary, user-defined tags in the templating engine. A blog directory now must contain a config.ini file that provides the name and URL of the blog, but it can also include arbitrary key-value pairs for the templating engine. Very cool !

GW-Blog should now produce a posts.rss file, and it can provide a complete posts history for that tiny fraction of the world who wants to read this nonsense.

Previous: Bringing the Rainbow Up Again
Next: Too Busy To Post