Forums

Blogger Importer
Blogger Importer Won't Import Comments (12 posts)

  1. beautybeneaththedirt
    Member
    Posted 9 months ago #

    I recently started a new WP blog and tried to import the content from an old Blogger account using the blogger importer (version 0.4). The posts imported without any problems, but the comments are missing.

    The username & time of post meta data is present, but the actual text is no where to be found and the avatar images are blank.

    I've tried deleting and reimporting all the comments, but it didn't work. Again, no comment body text and no avatar images. Has anyone else had this problem before?

  2. Marventus
    Member
    Posted 9 months ago #

    Hello, there.

    Your comments should be imported as well, or at least that was my experience with many Blogger to WP migrations.
    I don't really know what could be causing the issue, though.
    In this thread, a user who had the same pb suggests moving from Blogger to WP.com first, and then from WP.com to your self-hosted blog.
    I hope this helps.

    Cheers!

  3. beautybeneaththedirt
    Member
    Posted 9 months ago #

    Yeah, that worked, thanks for the help, but what a cumbersome work around.

    I went in and deleted all the comments, imported the blogger account to a wordpress.com blog, and then imported the the .com account into the .org account. It basically just filled in the blanks for the comments and didn't overwrite what was already there. So far, it looks ok, no avatar images, but the comment text is present.

    Definitely a bug that needs fixing in the future.

  4. Marventus
    Member
    Posted 9 months ago #

    I'm glad you were able to fix your pb. I agree with you that this is a bug that should be fixed.
    If you want, you can try to contact the plugin author and point to all the threads in the Forums that discuss this issue, so he/she can identify the issue and fix it if he/she wants to.
    Good luck with your new blog!

  5. Marventus
    Member
    Posted 9 months ago #

    Hi again,

    Since you were able to figure this out, could you please mark this thread as resolved?

    Thanks a lot!

  6. songdogtech
    Member
    Posted 9 months ago #

    @Marventus:

    you can try to contact the plugin author and point to all the threads in the Forums that discuss this issue

    The import plugin developer is WordPress itself: http://wordpress.org/extend/plugins/blogger-importer/

    See http://core.trac.wordpress.org/

  7. Marventus
    Member
    Posted 9 months ago #

    @songdogtech:

    The import plugin developer is WordPress itself:

    You are absolutely right. Do you know if this issue is being currently addressed in Trac?

  8. denharsh
    Member
    Posted 8 months ago #

    This is major bug...It's importing comments but all comments are blank..Any working solution for this?

  9. Marventus
    Member
    Posted 8 months ago #

    Hi,
    If you are having the same problem as the OP, you should try the link I shared above: basically, importing to a WP.com blog first and from there to a self-hosted blog seems to solve the missing comments pb.
    Cheers!

  10. denharsh
    Member
    Posted 8 months ago #

    @Marventus
    I tried that too and comment for imported to WordPress.com like my self hosted blog but all comments were blank with no text in it.

  11. metrocreativegroup
    Member
    Posted 8 months ago #

    We are experiencing this issue as well it hasn't been fixed yet. Are there any other work arounds?

  12. metrocreativegroup
    Member
    Posted 7 months ago #

    I did some debugging in the plugin code and may have a fix.
    In the file blogger-importer.php in the wp plugins directory on line 632 in the import_comment function, change:

    $comment_content = addslashes( $this->no_apos( @html_entity_decode( $entry->content, ENT_COMPAT, get_option('blog_charset') ) ) );

    to

    $comment_content = addslashes( $this->no_apos( @html_entity_decode( $entry->summary, ENT_COMPAT, get_option('blog_charset') ) ) );

    The "content" index is now "summary" in the AtomEntry object.

    This worked for us and has allowed us to import comments with no other changes to our setup.
    Hope that is helpful.

Reply

You must log in to post.

About this Plugin

About this Topic