Switched to wordpress (again)

So, after almost 3 years running Drupal 6 for my blog, I switched back to WordPress.

It just feels a lot easier to blog with it. I still really enjoy Drupal and use it for a lot of projects. It just wasn’t the best fit for my blog at this time.

My biggest issue with WordPress was its lack of official PostgreSQL support which was a bit of an issue as I’m avoiding MySQL as much as possible. After some poking at it, I actually managed to get PG4WP to work on a recent WordPress installation.

To make the transition as seamless as possible I also wrote a Python script which takes all Drupal “stories” and convert them into WordPress “posts”. It also handles categories and comments (including threading). It’s a bit hackish and could certainly be made a lot faster by reducing the number of queries.
Code can be found on Launchpad here: drupal2wordpress

So now, everything is imported in an all new WordPress instance, URLs should be mostly compatible. Now, back to blogging!

This entry was posted in Planet Revolution-Linux, Planet Ubuntu and tagged . Bookmark the permalink.

3 Responses to Switched to wordpress (again)

  1. Topwpthemes says:

    That code will be useful for me. I have to convert some posts from drupal to wordpress. Thanks.

  2. Sandeep says:

    hi,
    how did you get pg4wp working ?
    I am trying it out using WP 3.0.2 and at wp-admin/setup-config.php?step=2 , I get a blank page.

    The logs arent showing me anything either.

    help!

    1. If I remember well, I had to edit:
      wp-admin/install.php

      and comment the line saying:
      require_once(dirname(dirname(__FILE__)) . '/wp-includes/wp-db.php');

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.