Writing RSS
Until now I've maintained a feed.xml RSS at the root of the site by manually updating the static file directly. This is do-able, but the effort involved kept me from wanting to make updates. In an effort to provide a more useful RSS feed, I've made a new helper bash script and updated my site build script as well.
The new features include:
log.sh
script that prompts me for a title and description and sets up source folder and files scaffolding. Afterwards I can just update a single content.htm file with whatever I want to say in my log posting- The files made by log.sh include all the bits and pieces needed to add the post to my RSS, including the current date/time stamp
build.sh
has been updated to generate a log index listing page, the RSS feed, and a page for the posting
The build script is still super fast, so I'm optimistic that it will scale well over time, but so far I've not tried to look for any speed optimizations to the scripts. I'm not an experienced bash scripter, so they are written in a way that makes sense to me. So far so good - for now.