Monday, January 05, 2009

Importing Mephisto comments into Disqus

I’ve switched to Jekyll for managing my blog. It’s funny how things come full-circle. Once you get the power of a really good editing environment (this time for me, it’s Emacs, but it could just as easily have been vim) you stop wanting to write words anywhere else.

Jekyll doesn’t do comments, obviously, since it’s really a static site generator, so I hooked up Disqus. There’s a little Sinatra app to import comments into Disqus, but it only works via RSS, and Mephisto doesn’t export all the comments into the RSS feed, just the 10 most recent.

So I hacked it to use a local MySQL database of comments instead. It’s presented here and as a gist for your enjoyment.

Liquid error: No such file or directory - posix_spawnp

Discussion

Follow me on Twitter. I don't have comments enabled, because I remember when we didn't have blog comments, and we did just fine, thank you very much.