Blogger 导入工具 WordPress 插件
描述
The Blogger Importer imports your blog data from a Google Blogger site into a WordPress.org installation.
Items imported
- Categories
- Posts (published, scheduled and draft)
- Comments (not spam)
- 图片
Items not imported
- Pages
- Widgets/Widget Data
- Templates/Theme
- Comment and author Avatars
Reference
- http://www.simplepie.org/
The following were referenced for implementing the images and links
- https://wordpress.org/extend/plugins/remote-images-grabber
- http://notions.okuda.ca/wordpress-plugins/blogger-image-import/
- https://wordpress.org/extend/plugins/cache-images/
- https://wordpress.org/extend/plugins/tumblr-importer/
- https://core.trac.wordpress.org/ticket/14525
- http://wpengineer.com/1735/easier-better-solutions-to-get-pictures-on-your-posts/
- http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
- http://wordpress.stackexchange.com/questions//media-sideload-image-file-name
- http://wp.tutsplus.com/tutorials/plugins/a-guide-to-the-wordpress-http-api-the-basics/
Known Issues
- Some users have reported that their IFrames are stripped out of the post content.
- Requests for better performance of larger transfers and tranfers of images
- Review of behavior when it re-imports, partiularly are the counts correct
- Review using get_posts or get_comments with the appropriate parameters to get the counts and exists instead of using SQL
- Incorrect notice, PHP Notice: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. This occurs even when Iconv is installed, could be related to Blogger reporting 0 comments
- When the importer is running it’s not possible to stop it using the stop button
- Blogger’s count of comments include those not linked to a post e.g. the post has been deleted.
Filters and Actions
These actions and filters have been added so that you can extend the functionality of the importer without needing to modify the code.
Action – import_start – This is run when the import starts processing the records for a new blog
Action – import_done – This is run when the import finishes processing the records for a blog.
Filter – blogger_importer_congrats – Passes the list of options shown to the user when the blog is complete, options can be added or removed.