ok this is a final template to migrate from blogger to drupal, will write instructions later.
<?php $item=array(); $nid = 100; $cid = 100; <Blogger> $iid = '<$BlogItemNumber$>'; $nid++; $node=array(); <$BlogItemTitle$> ENDOFSTRING; <$BlogItemBody$> ENDOFSTRING; echo "INSERT INTO node (nid, type, title, uid, created, changed, comment, promote, teaser, body, revisions, format) <BlogItemComments> $comment=array(); $cid++; $comment=array(); <$BlogCommentBody$> ENDOFSTRING; <$BlogCommentAuthor$> ENDOFSTRING; </BlogItemComments> </Blogger> ?>Revision of new blogger migration template from Sat, 01/10/2005 - 3:21am
The revisions let you track differences between multiple versions of a post.
Comments
Successfully Tested here
Thanks Alaa for this solution, it has been successfully tested on my local drupal. Waiting to be done on my real drupal site.
Rami Sedhom
Thanks a lot ..
Thanks a lot ..
great festival thank you
fixed now, you have to add
fixed now, you have to add (nid) before the values() part
Alaa
"context is over-rated. who are you anyway?"
similar work
so i went the same way alaa did but i made my template neutral,
the best things in life are free --- so as myself
cool, I'll be moving to
cool, I'll be moving to 4.7 soon and I'll need that stuff.
what we need though is a migration script that works from within drupal and calls drupal api functions instead of going directly to the database and also to figure a way to automate this the way wordpress does.
Alaa
husband of the Grand Waragi Master
I'm also seeing the
I'm also seeing the problem reported by "noizy" about blogger constantly reporting 0% when republishing the index. It seems to hang if I try to preview the change. My guess is that perhaps blogger doesn't like the php code. I made the following changes to the template, then went and manually modified the html file that blogger posted.
<?php // strip "<?php" from top line of template // insert rest of template // strip "?>" from bottom line of template ?>
___
I'm having the same
I'm having the same problem as ramaz with this:
AIM - dolphinlabs Yahoo - tonyjohansen1980
Blogger to Drupal Data
Blogger to Drupal Data Migration. Wordpress creates a sample post, page, ... Blogger to Drupal Data Migration. At this point you can clean your data.
hello
Very useful tutorial. I am
Very useful tutorial. I am in the process of transferring one of my blogs. Thanks.
Plazma Kiralama
Thanks Guys
Thanks for sharing such a knowledgeable article with us specially who are new. I'm quite new to Drupal but what you write in this post is really good and enhance my knowledge. keep going....