Are there any widely used static site generators that connect natively to a DB to pull content into templates? I have a mysql db with structured content that I want to generate HTML from, and the usual suspects (staticgen.com) all expect content in text format.
I've written a small rails app, and used this rake task[1], to scrape the site, and s3_website[2] to push the site to S3.<p>Many people have recommended middleman[3]. While middleman is more flexible than other static site platforms, it still expects text files.<p>[1] <a href="https://gist.github.com/Eunoia/15ded6c0dc0d80cb5e0f" rel="nofollow">https://gist.github.com/Eunoia/15ded6c0dc0d80cb5e0f</a>
[2] <a href="https://github.com/laurilehmijoki/s3_website" rel="nofollow">https://github.com/laurilehmijoki/s3_website</a>
[3] <a href="https://middlemanapp.com/" rel="nofollow">https://middlemanapp.com/</a>