Script to convert Drupal to Nikola - original courtesy of blog.johanv.org