wordpress / blogger-importer Goto Github PK
View Code? Open in Web Editor NEWThe WordPress Blogger Importer.
Home Page: https://wordpress.org/plugins/blogger-importer/
The WordPress Blogger Importer.
Home Page: https://wordpress.org/plugins/blogger-importer/
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:
blogger-importer/blogger-importer.php
Lines 116 to 119 in 89d7180
As reported on: https://core.trac.wordpress.org/ticket/52084
Fatal error: Declaration of WP_SimplePie_Blog_Item::get_id($hash = false) must be compatible with SimplePie_Item::get_id($hash = false, $fn = 'md5') in plugins/blogger-importer/blogger-importer-blogitem.php on line 111
Also reported in: https://core.trac.wordpress.org/ticket/49143
i have tried unsuccessfully to import a google blogger blog into WP several times.
As the comment says:
blogger-importer/blogger-importer.php
Line 655 in 89d7180
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.
#8 -> PR to fix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.