Using Node to create HTML templates from BlogCFC entries
I am in the middle of moving my site over to static files ... more on that later though. For now I needed to convert all of my blog entries in to a basic HTML file with some Meta data at the top so Node.JS to the rescue.
I've created a project on Github called blogcfc2html which does the job quite quickly and efficiently. If you have a look you'll notice that I missed out on some of Node.js asynchronous functionality and used the blocking, synchronous, writeFileSync. The reason for this came down to trying to export 1200+ entries dating back to 2003 which ended up causing issues because of my systems "ulimit".