metalsmith-dayoneto add Day One data to a metalsmith blog.
Over the past year I've found that Day One is a great app to keep me "journaling". It's easy to use and has a lot of great features that I use to write. It keeps everything private which is what I want most of the time, but I do use it to flesh out ideas for things I might blog or for memories that I might want to share.
This left me wanting to ability easily publish a subset of entries.
Day One does have an export feature, but I found that the publishability of the exports left a lot to be desired. It can do text or HTML, but both of these end up with just one page, even if you export hundreds of entries.
But there's also a JSON export option! Which meant all I had to do was spend a few nights writing (and rewriting and rewriting) some code, and I'd soon be able to publish a site about all the cute things my daughter does.Read more