Rory's Blog
Home
Blog
Projects
Facebook
Google+
Github
RSS

Blog Scripts: So Close

10/19/15

scripts/publish.js now takes in a views style file (a DRY post), moves it to the relevant published area (for blog posts, views/blog), generates the html for that file into the mirrored area of public/blog, updates the "database" with the newly published file, and generates the new index.html.

For the last hour or so I was rushing to get RSS population into that list of things done, but I had a choice between hacking something together really quick, and trying to make it somewhat well-designed. Making it well-designed led to the creation of more modules, and refactoring the already-made modules.

Meaning that completetion of this final piece of publishing automation will have to wait until another day.

I'm excited to see how it turns out.