Coder Social home page Coder Social logo

blogger-importer's Issues

Only pictures of the 20 most recent posts are downloaded

Hi,

I'm in the process of migrating a blog from blogger to WordPress but I noticed that lots of pictures linked in the blogger XML file are missing from the WordPress media library.

The function process_images downloads images per batch of 20 posts and looks like it has been defined to be called in a loop. But it seems that it's called only once:

if (Blogger_Importer::IMPORT_IMG)
{
$this->process_images();
}

Failure during import when processing invalid links

As the comment says:

@unlink($tmp); // clean up, copied this from other examples but how is this supposed to work if $tmp is an error??

…this line can’t work.

I actually had an error reported here (invalid link), and because of @unlink($tmp);, the import process crashes. I think it will be better to just ignore the link and continue with the next image (replace that line with return $tmp;?).
There are other similar lines in that function, they probably deserve to be fixed the same way as well.

fails to import blogger blog

i have tried unsuccessfully to import a google blogger blog into WP several times.

  • i exported the blogger blog xml file (approx. 250 mb)
  • in tools>blogger importer>run importer>browse to xml file>upload file and import
  • after some time the page changes to a blank page with Import Blogger in the upper left
  • no files are uploaded and nothing is imported
  • tech support at A2 hosting duplicated the problem but report the logs did not indicate what the problem is and recommended i contact you for support. any help will be greatly appreciated as i have thousands of posts over nearly 10 years to move to WP.
    thanks, dewey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.