Blogger to Drupal, some meat

Ok, so here’s some meat. I’m not there yet because this script doesn’t import comments, nor have I shared my blog tagger with you (need to find/document that) but this might help those impatient among you.

Click to view import_post_to_drupal.php

Good luck.

Oh, by the way (and this had me stumped for a bit) you need to paste this into Drupal as PHP content. You can’t do that until you go into Administer -> Site Building -> Modules and enable the “PHP Filter” module. Once you’ve done that you should be able to select “PHP Code” as an input type when you create a page or story.

4 Comments

  • By Anonymous, March 24, 2008 @ 6:33 pm

    I’ve yet to try this, but a big thanks for sharing the open source joy!

  • By Geshan, July 14, 2008 @ 8:19 pm

    Where do I put my blog’s URL?

  • By Guru, July 14, 2008 @ 8:38 pm

    You put it in the form that comes up when you browse to the node. It’s the input element called “go” that you can see in the source.

  • By Seth, November 26, 2008 @ 11:35 am

    So I take it that there is no way to import blogger entries into Drupal?

Other Links to this Post

RSS feed for comments on this post. TrackBack URI

Leave a comment

WordPress Themes