Move Intense Debate Comment from Blogger to WordPress using Export XML ~ First WP plugin by iTg

intensedebate xml importer blogger to wordpress

intensedebate xml importer blogger to wordpressOkay, so after quite a bit of wait, here is our First WordPress Plugin… We have named it, IntenseDebate XML Importer and what it does is, imports your Blogger Intense Debate comment to your WordPress blog. This is very useful if you are migrating your blog from Blogger to WordPress and want to keep your Intense Debate comments while migrating.

Update- 13/8/2010: 20:00: We have released a version 1.0.5. I have fixed a major bug causing insertion of comments on wrong posts. This was happening when the importer was unable to find any post for the current title. It was importing comments to the previously found post then. I have fixed this issue. Also have added an Intelligent Title match option which will search the title instead of exactly matching it. As ID truncates the post title and replaces special characters, so I found this method to be very useful. You can also go with the Exact match if you want. Don’t forget to do a Simulation run before actually importing the comments. Also dont forget to watch the new video…

Update- 13/8/2010: We have released a version 1.0.4. Now the plugin is maintained over WordPress plugin repository. All the download links have been updated. Please redownload if you want. Thanks to Gautam for fixing the plugin and making it at per with current WordPress standard.

Previously, we were using Intense Debate as our Blogger commenting system. So all the comments were saved on Intense Debate database instead of blogger’s database. Now WordPress Importer does import comments from Blogger, but it is [and no point, on why it should be!] not designed to import comments from any third party services… So, once we shifted to WordPress, we really started worrying about loosing all our comments. Although Intense debate had a plugin to import comments to WordPress, but due to some reason, they had discontinued the service for some reason! Now that was really a thing to worry about…

So, I turned on my Komodo and started editing their existing plugin to work on the new system! After a few hours of work, [probably 1] I finally reconstructed the plugin to work for the new system!

Here is what it does…

  • You Take a backup of all your comments using the backup feature from Intense Debate;
  • You Install and run this plugin.
  • The plugin asks you to upload the Exported XML file containing the backup.
  • You upload it and it inserts all the comments into WordPress database based on the Title of the posts.
  • Also it stops the insertion of any duplicate comments, and it has a Simulation feature which will show you the result without actually importing the comments.

Quite effective right? Basically the algorithm was taken from the great plugin of Josh Fraser who coded it first for Intense Debate. We (me and gautam) have developed over it to make it more useful. Here is the complete method of using the plugin… But before a demo and download link. The demo is based on a post at inTechgrity where it shows our old imported comment! [You would probably like the post also 😉 ]. The download would take you to the plugin page on wordpress…

#0: Saving a backup XML from Intense Debate:

That’s it! Now move on to the next step

#1: Installing the plugin:

Updated 13.08.2010:

  • First download it from the link above! You will find a zip file! You dont need to unzip it… Just keep it handy.installing id plugin
  • Navigate to your WordPress Dashboard » Plugin » Add New » Upload and upload the zip file. Now activate the plugin.
  • Or you can also search it with the term “IntenseDebate XML Importer” directly from plugin directory and install.

That was easy, right?

#2: Using The plugin:

#2.1: Running a Simulation test before importing:

Since version 1.0.4 you can run a simulation before actually importing the comments. It will show the results without touching the database. To do this just follow these instruction…

  • Go to IntenseDebate XML Import from the Settings menu from the left menu bar.
  • Browse and upload your file.id import xml simulation mode Also check the Simulation mode.
  • Click on Import and it will show u all the results without actually importing anything.id import xml simulation mode result

#2.2: Actually Importing the comments:

  • Go to IntenseDebate XML Import from the Settings menu from the left menu bar.
  • Now simply click on browse and upload your XML file.id xml import mode Do not tick the Simulation Mode. Now wait for a little! It will show you the summary of the imported comment as below…
  • You should be now satisfied with the result 😉 .id import mode result If not then do drop us a mail and we will see what we can do!

And here is a video, showing you the Import with Simulation mode. Also it will explain the new added feature Intelligent Title matching.

#3: Some backend Features:

  • Automatically sets the timeout to 0 (ie unlimited), to avoid any time out error.
  • Check for duplicate comments in a better way.
  • Thanks to Gautam for adding translate ability to the Plugin. He did a lot to make the code at per with WordPress standard.

FAQs:

From where can I download the XML file?

From [Intense Debate] Dashboard navigate to your Site. Then from the sitebar Click on XML Export. From there save the generated XML file.

Can I use Intense Debate as my WP commenting system as well?

Of course you can! But before installing ID to your WP blog, make sure to run this plugin once! Else the comments for older posts won’t appear!

How can I move my Blogger Blog to WP without changing the Permalink structure?

Quite offtopic! But still… [HERE] is the perfect guide for you! Even I have followed the same. And if you still cant figure out how to do it, I would suggest you to ask these guys for a complete paid migration service. I personally know these guys, and they are really good at their services. Every penny you pay to them will be worth! BloggertoWP Service by rtCamp.

Do you accept Blogger to WordPress paid migration service?

Currently NO, in future maybe! I would suggest you to go for BloggertoWP.

So if I maintain the Permalinks, will the existing Intense Debate Account work?

Quite intelligent question! Even I thought the same. But the reality is it won’t work! When you install ID comment system from Blogger to WP then the comments according to the Permalink, remains stored inside ID database, not on WP database. So the comments would come on widgets by Intense Debate. But won’t be shown on the actual post pages. So, you should import the comments, then use delete the existing ID site, then reinstall to make it fully compatible!

Change Log:

Version 1.0.5 (13-08-2010)

  • Fixed a big bug which was casuing insertion of comments on previous posts when no posts were found for the title
  • Added an Intelligent Search option for better result

Version 1.0.4 (13-08-2010)

  • Added a simulation mode to test the import result without actually inserting the comments to the database
  • Fixed the duplicate comment bug a little more
  • Now the plugin will tell you how much memory it has used. Useful for people on shared hosting.
  • Set the time limit to 0 (unlimited) to avoid timeout error

Version 1.0.3 (12-08-2010)

  • It will show the link to the post where the comments have been imported
  • Will give a more precise result on how many comments out of the found comments have been imported to a particular post
  • Will also showthe total number of posts and comments found on the uplaoded XML file
  • Finds duplicated comments on the name, email and content basis. Removes the IP test and URL test. Dont know why, but Intense Debate shows a blank URL. So removed the URL test.
  • While finding duplicate Comments instead of perfect match I now use a MySQL Like method. It minimizes the chances of getting duplicate comments

Version 1.0.2 (11-08-2010)

  • Added the ability to translate the plugin
  • Cleanup of code

Version 1.0.1 (11-08-2010)

  • Initial release!

I hope this plugin was useful to you! We will put the plugin in WP directory very soon! Till then, you can download it from the link above! We have already put the plugin in WordPress plugin directory. You can browse it here. The previous download link is no longer maintained. If you face any trouble do ping us here! Also do give your feedback…

27 comments

  1. Josh Fraser

    Cool! It’s been years since I wrote that, so it was in much need of an update. Glad to see you were able to make use of my code as a starting point. Nice work.

    • Swashata Post author

      Thanks a lot Josh for your Reply! It was all your code which i have used 🙂 … Thanks again.. I hope the plugin will serve good to people migrating from blogger to wp

  2. Guilherme

    Many thanks, I´ve been looking for this tool, since I decided to migrate my blog from blogger to wordpress.

    I need help wiht some issue that I don´t know If you can help me. Some of my comments weren´t imported, because the tool didn´t found the equivalent post. But the permalinks are the same?

    Can I migrate it manually?

    Thanks

    • Swashata Post author

      Hi Guilherme! Thanks for your comment… Yes I know currently the plugin is unable to find all the posts for relevant comments… I am thinking of a solution! I will update the plugin after sometime where you will be able to either manually importing your comment or I will use another algorithm using post_meta to compare permalinks! Just stay tuned and you will receive an update with a few week! Right now I am busy with another plugin 🙂

  3. Julio-Debate Popular

    Very good tool, will consider it when I transferred to wordpress. I have already prepared or blog for this but still do not take that decision.

  4. Zash Zone

    thanks for the explain. but i still like using disqus instead of debate. because it’s more simple.

  5. Salil Tambat

    I’ve been trying to search a way to import my blogger comments to intense debate. Is there any way to do this?

  6. Jenny Stamos

    All right…I am not liking this result!

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1345359 bytes) in /home6/growinl7/public_html/wp-includes/wp-db.php on line 855

  7. Tanay

    Very useful, but it didn’t work correctly for me.
    I had 164 posts with 1167 comments on Blogger.
    On using this plugin, only 364 were imported (98 posts). How to solve the problem?

  8. Jennifer

    The file I download is this:

    IntenseDebate.xml.gz

    When I try to upload it, I pull an error that it is not a valid xml file. I’m thinking because of the .gz on the end? Why is IntenseDebate adding .gz on the end of the file and is there anyway around this?

    Help is appreciated! Thanks!

    • Suzanne

      I’m having the same issue…but I’m wondering if it’s because my original site is a iWeb site and not a Blogger site (which it seems like this plug in is designed for). Since the creators don’t seem to be replying to older posts, I’m wondering if yours was an iWeb site as well?? Still haven’t figured out how to move intense debate comments from iWeb to WordPress!

  9. Steve K

    Looks like there hasn’t been many followups in the last year or so. I’m trying to run the importer, but it’s bombing out and not able to import anything.

    arning: simplexml_load_file() [function.simplexml-load-file]: /tmp/phpVK44Jf:1227: parser error : EntityRef: expecting ‘;’ in /home/stevek/public_html/wp-content/plugins/intensedebate-xml-importer-blogger-to-wordpress/id_import_blg_wp.php on line 77

    Warning: simplexml_load_file() [function.simplexml-load-file]: 08/e-cigarette-news-roundup-aug-29-really.html?utm_source=twitterfeed&utm_medium in /home/stevek/public_html/wp-content/plugins/intensedebate-xml-importer-blogger-to-wordpress/id_import_blg_wp.php on line 77

    Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/stevek/public_html/wp-content/plugins/intensedebate-xml-importer-blogger-to-wordpress/id_import_blg_wp.php on line 77

    Warning: Invalid argument supplied for foreach() in /home/stevek/public_html/wp-content/plugins/intensedebate-xml-importer-blogger-to-wordpress/id_import_blg_wp.php on line 84

    I’m running WordPress v3.3 Is this plugin still being maintained?

    Thanks!

    Steve

    • Lindasy

      I’m getting the same error as Steve. Any fix for this?

      • Swashata Post author

        This plugin will be recreated within 1 more month. Sorry for the long delay

  10. Jeni

    Hi there, I have used this plugin successfully before, but now it’s not working. I have looked at the whole, long .xml file and all the information is there. But when I try the simulation, it looks like it only even *attempts* to import comments for two posts! I have a few thousand posts and comments here, but it seems like it’s ignoring all the rest of them – what’s happening?

    This is for gsheller.com.

    Thanks!

    • Jeni

      (there are no error messages or anything – it looks like a successful import, but only two posts are displayed)

      • sarahcontep

        Did you ever figure out what it was? It’s doing this to me too. Works perfect for me in simulation and does this one article/comment import in the real import.

  11. Tonya

    I have the same problem as above:

    “The file I download is this:
    IntenseDebate.xml.gz
    When I try to upload it, I pull an error that it is not a valid xml file. I’m thinking because of the .gz on the end? Why is IntenseDebate adding .gz on the end of the file and is there anyway around this?”

  12. sarahcontep

    Hi, Are you still helping out with the plugin?
    I can edit and had it work for 90% of my posts in the simulation mode but when I dropped it for the real import, it is not working. It is doing almost one article at a time and imports maybe one or two comments tops and I have to cut out what it imported and redrop it, sometimes it works soemtimes not. Do you know what would be the issue?

    Thanks

    • Swashata Post author

      Maybe a PHP memory or runtime issue. Try increasing both the variables.

Comments are closed.