Thursday, February 21, 2013

Generic blog conversion primarily in/out of Blogger

Description of Blogger import/export XML format: http://code.google.com/p/google-blog-converters-appengine/wiki/BloggerExportTemplate

Matrix of possible conversions: http://code.google.com/p/google-blog-converters-appengine/wiki/ProductConversionsMatrix

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

http://wordpress2blogger.appspot.com/

http://blogger2wordpress.appspot.com/

http://livejournal2blogger.appspot.com/

http://movabletype2blogger.appspot.com/

http://groups.google.com/group/google-blog-converters

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