b/rb/log 1: first steps
it generated this page!
mood: triumphantcodingblog/reblogdevlogi've written, on cohost and on here, about my plans to create a blogging-focused social media-ish site. vaguely akin to write.freely, but rather than wholly rejecting the social aspects, cherry-picking the parts i like.
for now, suffice to say that the first part of this plan is building a static site generator, and the first part of that is building a single-purpose generator for this very blog.
which… i've now started! this page, specifically, was generated by the very first version, which currently just slaps together some html into a sort of homegrown template. it's not pretty, and it won't update my atom feed or index page yet, but it's only a first step -- and it's a good one, i think. it runs as fast as i'd hope given it's only processing four files through a fixed pipeline!
so anyway, the dev log. not much to report: this is the first, after all. i'm parsing post file headers for metadata like the title and post date, and spitting that out into html and an atom file. the rest of this week i'm hoping to implement as-is files and posts, and start building some struct
s to represent those transformations, which can then be parsed out of the yaml.
we'll see where i am this weekend. as promised, there's no schedule. but i'd like to write devlogs semi-regularly. maybe every tuesday, maybe every week-or-so, maybe just when i implement something worth talking about.
1. i don't intend to use yaml forever; the language i want to use is my own, vastly simplified one that looks aesthetically similar. but while i'm the only user i don't mind making decisions i know i'll break later.