WordPress.org

Ready to get started?Download WordPress

Forums

Blogger Importer
[closed] Migrate Image Files Blogger WordPress (60 posts)

  1. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    What about images?

    If you do not migrate these with a separate tool then these will be lost when you delete your old blogger blog.

    What is the separate tool to import images files from Blogger to WordPress?

    http://wordpress.org/extend/plugins/blogger-importer/

  2. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Brad,
    I am currently (if a bit slowly) working on a version of the blogger importer that handles images.

    You can try the following plugins.

    http://wordpress.org/extend/plugins/remote-images-grabber
    http://notions.okuda.ca/wordpress-plugins/blogger-image-import/

    Cheers,
    Andy

  3. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    Thanks Andy.

    How about WordPress.com to WordPress.org?

    Is there a plugin that exports images from WordPress.org?

    Considering you can't access the WordPress.com servers, how would you export the images so they display after closing down the WordPress.com site?

  4. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    I believe the "Blogger Image Import" mentioned above can pull files from other servers. If you know the name of the server with the source files then you enter that in the box and pull the files across.

  5. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    A very rough beta version of the importer with images can be found at

    http://core.trac.wordpress.org/ticket/4010

    I can pretty much guarentee it won't bring over all images and it also generates some "blank" images but for those who are interested or want to help with testing it's available for review.

  6. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    There is a new BETA version that processes the images over at http://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.zip

  7. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    Thanks

  8. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Brad, did that version work for you? How many posts/images did you pull across? Any comments or issues?
    Cheers,
    Andy

  9. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    Hi Andy

    Worked well and i wrote a post about. Handy tool.

    Appreciate you guys devloping this tool. http://wpsites.net/best-plugins/new-blogger-importer-plugin-also-imports-image-files-to-wordpress/

    I only tested it on 2 posts as a demo so i could write the tutorial.

    If i pick up a job to do this, i will let you know if there's any issues on larger imports.

    Do you also have one for WordPress.com image files?

  10. gillespieza
    Member
    Posted 1 year ago #

    I've just tried the version linked on trac (http://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.zip) but it stops every 25 posts and I have to hit continue. I'd really rather be able to hit "Import" and go away for a cup of coffee than be tied to my desk watching a massive import go in chunks of 25...

  11. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Gillespiaza,
    there are two settings in the file blogger-importer.php that affect this. Firstly is the batch size which is not surprisingly 25, I'd actually suggest you don't change that one.

    define('MAX_RESULTS', 25);

    There is a second setting which is the number of seconds before that continue button appears. It's something that's been there since the early versions of the plugin, I suspect the idea is that it does not overload google or your server. However you could change that to say 300 which would give you plenty of time for a coffee.

    define('MAX_EXECUTION_TIME', 20);

  12. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Brad,
    I'm not sure about larger imports as my largest is about 350 posts and about 800 images.
    I'm afraid it does not work for the WordPress.com importer but it should be reasonably straight forward for a coder to pick up the files and apply the same principles to that there are still a couple of issues to work out but hopefully there will be a fix for those later today.
    Cheers,
    Andy

  13. Mercifull
    Member
    Posted 1 year ago #

    I tried using the beta today and it did not work. Version 0.5 works fine at importing posts. However when I tried to run 0.6 I get the following error on the import page:
    Warning: Division by zero in /.../wp-content/plugins/blogger-importer/blogger-importer.php on line 617
    Pressing the [import] button does nothing.

    Any ideas?

  14. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    The good news is that I know what that error is and have a fix for it in my latest dev release. The bad news is that I've managed to introduce a few other bugs that I'm trying to fix before I upload a new version.

    The line 617 reads:

    $c1 = ($blog['comments_done'] / $blog['total_comments']) * 100;

    so if you swap that with:

    if ($blog['total_comments']==0) {
       $c1 = 100;
    } else {
       $c1 = ($blog['comments_done'] / $blog['total_comments']) * 100;
    }

    Then that should sort you out.

  15. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Mercifull that issue should be fixed in the latest beta.

    http://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.zip

    Gillespiaza, I've seen similar issues today when the wp_debug flag is turned on. I'm working on fixing that but if you could let me know that setting is turned on for you and can you also try again with the latest beta?

  16. mbselmy
    Member
    Posted 1 year ago #

    Hi Andy,

    First of all, thanks all envolved on this implementation. Very handy!!
    I just tried this yesterday, but for some reason the importing stops in the middle of the process.

    I tried to find out what was causing the problem. Using firebug I found a message about a class that was not found, called "FB" on line 1112 under blogger-importer.php...

    line 1112 = FB::log($newcontent);

    Any help, advice?
    Thanks in advance
    --
    Magdy

  17. mbselmy
    Member
    Posted 1 year ago #

    Sorry for posting again, but found another message:

    <b>Notice</b>: ob_clean(): failed to delete buffer. No buffer to delete in <b>/.../wp-content/plugins/blogger-importer/blogger-importer.php</b> on line <b>590</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/blogger-importer/blogger-importer.php:590) in <b>/.../wp-content/plugins/blogger-importer/blogger-importer.php</b> on line <b>591</b>
    {p1:100,p2:"9 of 9",p3:"0 posts skipped",c1:100,c2:"62 of 62",c3:"0 comments skipped",i1:86,i2:0,l1:0,l2:0}

  18. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Magdy, that first on is simply a case of deleting the rogue line. It's there to help debugging and I forgot to take it out.
    The second is something that was put in to actually suppress the error you are seeing. I think something changed in a recent WordPress release, you should be able to make it go away by switching out of debug mode, needs a bit more investigation.

  19. mbselmy
    Member
    Posted 1 year ago #

    Thanks for replying Andy!
    So for the second issue, maybe downgrading WordPress can possibly bypass this?
    I'm using 3.5.1.

    Thanks
    --
    Magdy

  20. mbselmy
    Member
    Posted 1 year ago #

    One more thing... I was testing now, and the process finally complete after removing the code from line 1112.

    But doesn't import all the images I have... So I tried again, and now Inspector gives me a message on the first request: 500 Internal Server Error...

    Where to go now?
    Well thanks again for helping!
    bye
    --
    Magdy

  21. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Was there something specific about the images that it did not process?
    If the images did not transfer because the source server was unavailable or busy then selecting refresh and re-importing will just process the remaining images.
    What is Inspector?

  22. mbselmy
    Member
    Posted 1 year ago #

    Hi Andy.
    Sorry don't know from where I took Inspector... It's Firebug

    I have almost 300 images, when the progress bar achieve 103 images downloaded, stops. Using Firebug, I found a request in red: 500 Internal Server Error. (This is locally using Mamp)

    On the server when achieve 103 images, the conitnue button appears, I press continue, the label change to "importing...", then continue shows again. Forever... Pressing the continue button, does not mean that images are being downloaded...

    Hope theres a way to bypass this...
    Thanks for your attention.
    Bye
    --
    Magdy

  23. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, I see.

    The 500 internal server error is normally a php compile error e.g. a serious fault in the code.
    You can normally see what those are if you turn debug mode on, but that would cause a problem with the other issue.

    So I've uploaded a new version with the FB: issue fixed and a work around for the other issue. You should be able to run this one with debug on and see what the actual error is.

    http://core.trac.wordpress.org/attachment/ticket/4010/blogger-importer.zip

  24. neha_joshi_rocks
    Member
    Posted 1 year ago #

    One word solution to your problem.

    http://wordpress.org/extend/plugins/seo-blogger-to-wordpress-301-redirector/

    I used official blogger importer to copy all my 2200 posts and thousands of comments.
    After that I used this plugin to copy all images from picasa to my wordpress image gallery and this plugin also updates all post with picasa image link to my downloaded images link.
    I copied 2200+ images without any error.

    One real kickass plugin.

  25. mbselmy
    Member
    Posted 1 year ago #

    Andy, I'll try this one.
    Thanks.
    --
    Magdy

  26. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Neha,
    thanks for the input. Yes, I realise that there are other plugins that process the images, it's worth noting that that one you've highlighted is not just limited to picasa but can do images regardless of how they were linked on blogger.

    What I've tried to do with the blogger importer is to take the best features from the different image importers and produce one integrated plugin that does posts, comments, geo tags, links and images.

    mbselmy, would be interested to know how you get on and if there's anything from that plugin that can be utilised in this one.

    Cheers,

    Andy

  27. mbselmy
    Member
    Posted 1 year ago #

    Hi neha_joshi_rocks

    I already tried SEO Blogger to WordPress 301 Redirector.
    But I got a problem with images coming from ggpht.com not being downloaded. And unfortunately SEO Blogger download the images with the size they appear on the post. And I need them with the original size, so I can rebuild the images and featured images. Without posting everything again...

    Thanks for sharing.
    --
    Magdy

  28. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    The ggpht.com issue in SEO Blogger to WordPress 301 Redirector should be easy to fix but bringing down the full size images is more challenging hence why the blogger importer code is more complex that that one.

    I'm wondering if you've got a disk space issue error that's not being trapped very well?

  29. mbselmy
    Member
    Posted 1 year ago #

    Hi Andy,

    I tried this new one. Everything goes fine importing, process complete... but still imported only 103 images from a total of 213 (I took the time to count, to be more accurate).
    Not all of them came in original/full size, but most of them came.

    I think Disk space is not an issue... but what do you mean with not trapped very well?

    Still searching for a way to bypass this.
    Thanks for taking the time.
    Bye
    --
    Magdy

  30. Workshopshed
    Member
    Plugin Author

    Posted 1 year ago #

    Did the progress bar say "103" or "213" ? If you hover over the progress bar for the images does it says "xx images skipped" ? The only images it intentionally skips are those of 1x1 pixels.

    Do you have an example of one that did not transfer? If possible can you snag the full <a href="xxxx"><img src="yyy"></a> from the imported post. Are these particularly large files or a particular type?

    By "not trapped very well" I mean it would download the image, realise it had not worked and skip the image rather than reporting anything useful back to the user.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags