
內容簡介
Blogger Importer 是一個 WordPress.org 外掛,可以將 Google Blogger 網站的部落格資料匯入到 WordPress.org 的網站上。
匯入的內容
分類
文章(已發佈、排程和草稿)
評論(非垃圾評論)
圖片
未匯入的內容
頁面
小工具/小工具資料
樣板/主題
評論和作者頭像
參考資料
http://www.simplepie.org/
以下是用於實現圖片和連結的參考資料
https://wordpress.org/extend/plugins/remote-images-grabber
https://wordpress.org/extend/plugins/cache-images/
https://wordpress.org/extend/plugins/tumblr-importer/
https://core.trac.wordpress.org/ticket/14525
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/
已知的問題
一些使用者報告說,IFrame 被從文章內容中剝離了。
更好的大型轉移和圖片轉移表現的請求。
檢查重新匯入的行為,特別是計數是否正確。
使用正確的參數使用 get_posts 或 get_comments,以取得計數和存在的項目,而不是使用 SQL。
錯誤的通知,PHP 通知:無法將資料轉換為 UTF-8。您必須安裝 iconv 或 mbstring 擴展。即使已安裝了 iconv,仍可能與 Blogger 報告 0 個評論有關。
當匯入器正在運行時,無法使用停止按鈕停止它。
Blogger 的評論計數包括那些未連結到文章的評論,例如該文章已被刪除。
過濾器和動作
這些動作和過濾器已添加,以便您擴展匯入器的功能,而無需修改代碼。
動作 - import_start - 當匯入器開始處理新部落格的記錄時執行。
動作 - import_done - 當匯入器完成處理部落格的記錄時執行。
過濾器 - blogger_importer_congrats - 傳遞顯示給使用者的選項清單,可添加或刪除選項。
外掛標籤
開發者團隊
原文外掛簡介
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)
Images
Items not imported
Pages
Widgets/Widget Data
Templates/Theme
Comment and author Avatars
Reference
https://www.simplepie.org/
The following were referenced for implementing the images and links
https://core.trac.wordpress.org/ticket/14525
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
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.
