Blogger Importer 能協助使用者將 Google Blogger 網站的資料匯入至 WordPress 網站中。
可匯入的項目
- 分類 (即 Blogger 的標籤)
- 文章 (已發表、已排程或草稿均可)
- 留言 (僅會匯入未標示為垃圾留言的項目)
- 圖片
無法匯入的項目
- 網頁
- 小工具/小工具資料
- 範本/主題
- 單則留言及作者個人頭像
參考專案
- https://www.simplepie.org/
下列參考專案用於實作圖片及連結的匯入運作方式
- https://wordpress.org/plugins/remote-images-grabber/
- http://notions.okuda.ca/wordpress-plugins/blogger-image-import/
- https://wordpress.org/plugins/cache-images/
- https://wordpress.org/plugins/tumblr-importer/
- https://core.trac.wordpress.org/ticket/14525
- https://wpengineer.com/1735/easier-better-solutions-to-get-pictures-on-your-posts/
- https://web.archive.org/web/20211121020918/http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
- http://wordpress.stackexchange.com/questions//media-sideload-image-file-name (not working)
- https://code.tutsplus.com/a-guide-to-the-wordpress-http-api-the-basics–wp-25125t
已知問題
- 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.
篩選器及動作
使用者可以新增這些動作及篩選器以擴充匯入程式的功能,而不需修改程式碼。
import_start
動作:匯入程式開始處理新的部落格記錄後,便會執行這個動作。
import_done
動作:匯入程式完成處理部落格記錄後,便會執行這個動作。
Filter – blogger_importer_congrats – Passes the list of options shown to the user when the blog is complete, options can be added or removed.
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。