EnigmaCurry/blogofile — pull request #115 by kstrauser (2011-11-09 20:42:23+00:00)
Title: Adds drupalmigrate.py

The drupalmigrate.py controller (and post_build hook) ease migration from Drupal to Blogofile (as per [my writeup on how I did it](http://honeypot.net/2011/11/07/migrating-drupal-to-blogofile/). It has two parts:

1. makeindex() builds an index of links to all of the nodes in the configured Drupal database where there's no Blogofile post with the same permalink.
1. makerewriterules() creates a set of Apache RewriteRule directives so that you can install Blogofile and Drupal inside the same Apache domain, with Blogofile-generated files filling all possible requests and the rest "falling through" to Drupal.

I use this file to "overlay" my new Blogofile site over my thousand-node Drupal site so that they appear to be one and the same, and all old Drupal content is still fully accessible even as I add new Blogofile posts.