Thursday, February 21, 2013

Migrating content from Drupal 6 or 7 to Blogger

I have a task in front of me to migrate a blog site from Drupal to Blogger, and fortunately I just found that someone had written a script to do exactly this.  The task is a subset of the larger "Migrate From Drupal" task in that it is a conversion from a Drupal blog to specifically a Blogger blog.  That's a little different from the model I've envisioned so far, which is an export of content from a Drupal site into a neutral format that could conceivably be imported into any other website platform.  The latter, exporting into a generic website content format, would be preferable but in the meantime I do need to convert this specific Drupal site into a Blogger site.

Blog post: http://christophe.vandeplas.com/2011/05/migration-from-drupal-to-blogger.html

Script: https://github.com/cvandeplas/inet_scripts/blob/master/drupal_to_blogger.php

The interesting thing about this script is that it doesn't even attempt to work with the Drupal API.  It just goes into the database and pulls out data.  So obviously it's going to miss any CCK fields you've defined.  On the other hand the script is simple enough for someone to add to the queries to pull in data from CCK fields.  (note: the script is Drupal 6, so CCK is the correct term)

Another guy took the above and created a Drupal 7 version

Blog: http://nschloe.blogspot.com/2012/08/drupal-to-blogger-migration.html

drupal2blogger: https://github.com/nschloe/drupal2blogger

Another blog post gives detailed instructions on its use: http://www.elaboratelymundane.com/2012/12/drupal-to-blogger-migrate.html

Another fellow concocted a Rube Goldberg style method where you would move the Drupal content to a Wordpress site using the RSS feed importer in Wordpress, then use a Wordpress to Blogger service to import that to Blogger.

http://www.fingerbrain.net/2012/07/move-contents-from-drupal-to.html

The wordpress2blogger converter is here: http://wordpress2blogger.appspot.com/

Source code: http://code.google.com/p/google-blog-converters-appengine/

It's actually a generic blog converter doohickey and the matrix of conversions are here: http://code.google.com/p/google-blog-converters-appengine/wiki/ProductConversionsMatrix




8 comments:

  1. This post is much helpful for us. This is really very massive value to all the readers and it will be the only reason for the post to get popular with great authority.
    Web Designing Course in chennai
    Web Designing training in chennai
    CCNA Course in Chennai
    Cloud Computing Training in Chennai
    Data Science Course in Chennai
    Devops Training in Chennai
    Web designing Training in OMR

    ReplyDelete
  2. I have been following your post for a long time. I always found it very interesting and valuable. keep posting it is really helpful.
    Cloud Migration services

    Aws Cloud Migration services

    Azure Cloud Migration services

    ReplyDelete
  3. We are a part of the success story for many of our customer's successful cloud Migrations.

    Vmware Cloud Migration services

    Database Migration services

    ReplyDelete
  4. Thank you for the informative post about Security challenges in AWS , Found it useful . cloud migration services have now become secured and with no-risk
    Lia Infraservices

    ReplyDelete
  5. I am really impressed with the way of writing of this blog. The author has shared the info in a crisp and short way.
    Cloud Migration services


    Best Cloud Migration Tool

    ReplyDelete