前言介紹
- 這款 WordPress 外掛「Attachment Importer」是 2014-02-15 上架。
- 目前有 4000 個安裝啟用數。
- 上一次更新是 2014-09-25,距離現在已有 3873 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 26 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
image | import | importer | attachment | attachments |
內容簡介
這是什麼?
我發現 WordPress Importer 外掛在匯入文章和評論時非常好用,但在匯入大型網站的大型附件(例如圖片)時有所不足。我的匯入常常會逾時並崩潰。我寫了這個外掛來協助自己的博客遷移,但我希望您也會覺得有用。
使用方法
作為預備工作,使用 WordPress Importer 匯入您的 WXR 文件,但不要選擇下載和匯入附件選項。我發現最多可匯入 15MB 的檔案,只要不匯入附件即可。
切換到附件匯入屏幕。
选择您的 WXR 匯出文件。
选择您想要成为下载的图像所有者的用户。默认值:当前用户。
坐下來让导入程序运行。该过程可以只需 10 秒钟导入 10 张图像,或者需要大约两个小时导入 2000 张图像。这些时间取决于托管您的 WordPress 网站的服务器。
如果在過程中出现任何错误,請在完成後重新運行文件。该插件会忽略符合以下标准的文件:
同樣的名字
相同的文件名
相同的上載日期
相同的文件大小
其運作原理
此外掛將使用FileReader 分析 XML 文件,然後使用 AJAX 请求 WordPress 执行单独上传。
許可證
附件匯入 - 一個用於使用 WXR 文件從另一個博客匯入附件的 WordPress 外掛程式。
版權所有(C)2014 Toasted Lime
本程序是自由軟件;您可以在自由軟件基金會發布的 GNU 通用公共許可證下重新分發和修改它;無論是本授權條款的第 2 版還是任何稍後版本。
本程式是按 "原样" 提供的,作者不为适销性或特定目的的适用性而提供任何明示或暗示的保证。有关详细信息,请参阅 GNU 通用公共许可证。
您应该已收到附带此程序的 GNU 通用公共许可证的副本;如果没有,请到 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 写信。
本許可證和版權適用於與此外掛綁定的所有資源,除以下情況外:
此外掛的部分內容使用下列程式碼:
WordPress Importer,它按 GNU GPL v2 分發,版權所有(C)2013 wordpressdotorg。
jQuery UI Smoothness Theme,它按 MIT License 分發,版權所有(C)2014 jQuery Foundation 和其他貢獻者。
更新版
0.6.0
不應經常收到 "遠程服務器沒有回應" 的消息。
0.5.6
無效的文件類型产生不致命错误。
0.5.5
增加了整体进度條。
改善程序对重大错误、AJAX 失败或导入文件中没有附件等事件的响应方式。
0.5.4
修正了读取导入文件中命名空间的问题,该问题导致程序在 FireFox 和 Internet Explorer 中无法工作。
将插件从 Media 菜单移动到 Import 菜单。
0.5.3
新增五秒延迟在圖像 AJAX 請求之間的選項
原文外掛簡介
What is this?
I found the WordPress Importer plugin is good for importing posts and comments, but is lacking when it comes to importing large attachments (like images) from large sites. My import would often time out and crash. I wrote this plugin to help with my own blog migrations, but I hope you find it useful too.
Usage
As a prerequisite, import your WXR file using the WordPress importer, but do not select the option to Download and Import Attachments. I have found that an import file up to 15MB big will work as long as you don’t import attachments.
Navigate to the Attachment Importer screen.
Select your WXR export file.
Select the user you would like to be the owner of the downloaded images. Default: current user.
Sit back and let the importer run. The process can take as little as 10 seconds for 10 images, or about two hours for 2000 images. These times depend on the server that hosts your WordPress site.
If you receive any errors during the process, try running the file again after it finishes. The plugin is programmed to ignore files that match the following criteria:
Same name
Same file name
Same upload date
Same file size
How it works.
This plugin uses FileReader and to parse the XML file in the browser, then uses ajax to request WordPress perform individual uploads.
License
Attachment Importer – A plugin for WordPress to import attachments from another blog using a WXR file.
Copyright (C) 2014 Toasted Lime
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
The license and copyright applies to all resources bundled with this plugin, except as noted below:
Portions of this plugin use code from:
WordPress Importer which is distributed under the terms of the GNU GPL v2, Copyright (C) 2013 wordpressdotorg.
jQuery UI Smoothness Theme which is distributed under the terms of MIT License, Copyright (C) 2014 jQuery Foundation and other contributors.
Changeset
0.6.0
Should not get “Remote server did not respond” as often.
0.5.6
Invalid file type produces non-fatal error.
0.5.5
Added an overall progress bar.
Improve how the program responds to events like fatal errors, AJAX failure, or if there are no attachments in the import file.
0.5.4
Fixed issue reading namespaces in import file that caused the program not to work in FireFox and Internet Explorer.
Moved plugin to Import menu from the Media menu.
0.5.3
Added option to add five second delay between image ajax requests
Reformat Readme
Added jQuery tooltip
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Attachment Importer」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.5.2 | 0.5.3 | 0.5.4 | 0.5.5 | 0.5.6 | 0.6.0 | trunk |
延伸相關外掛(你可能也想知道)
Export media with selected content 》在 WordPress 的匯出畫面中,當選擇一種文章類型時,預設情況下不會將其連結的媒體(附件)包含在內。本外掛程式則新增了一個「匯出選定內容時包含媒體」的選...。
File Upload Types by WPForms 》WordPress 檔案上傳類型外掛, 您是否希望您的 WordPress 網站接受更多類型、更自由地上傳檔案?我們創建了『File Upload Types』外掛,讓任何人都可以輕鬆地...。
Lightbox with PhotoSwipe 》這個外掛在 WordPress 中整合了擴展版的 PhotoSwipe 4 或官方發行的 PhotoSwipe 5。發布或頁面中所有連結的圖像將使用 PhotoSwipe 顯示,而不管它們是圖片庫...。
Responsive WordPress Slider – HG Slider 》HG Slider 在您的 WordPress 管理員中創建一個新的「Slides」區域,並允許您輕鬆設置網站周圍的多個幻燈片。它使用標準的 WordPress 用戶界面,因此您(以及...。
Download Attachments 》Download Attachments 是 WordPress 的新型下載管理工具,它可以簡化界面、提供拖放和 AJAX 驅動的 metabox 來插入和管理您的媒體庫文件,然後通過自動或手動...。
Document Gallery 》這個外掛可讓使用者毫不費力地建立文件和其他附加媒體的圖庫,就像現有的圖像附件圖庫選項一樣。, 觀看以下視頻以瞭解 Document Gallery 如何運作:, , 在設...。
DeMomentSomTres WordPress Export Posts With Images 》DeMomentSomTres WordPress Export Posts With Images是為了因應DeMomentSomTres數位行銷代理公司的客戶需求而開發的。該客戶有一個非常龐大的部落格,需要將...。
Media Deduper 》媒體 Deduper 可以從您的 WordPress 媒體庫中找到並刪除重複的圖片和附件。安裝後,您將在媒體部分中擁有一個新的「管理重複項目」選項。, 在 Media Deduper ...。
File Away 》從您的伺服器目錄或頁面附件上傳、管理和顯示檔案,以時尚的清單或可排序的資料表方式呈現,還有更多更多的功能。。
Import External Images 》此外掛會將文章中所有連結的圖片下載到本地並該圖片添加至相簿附件中。, 特色功能, 感謝, 此外掛是基於 http://www.bbqiguana.com/ 的「Add Linked Images to...。
GD bbPress Attachments 》GD bbPress Attachments是一款易於使用的WordPress和bbPress插件,可用於實現bbPress論壇主題和回復的文件上傳。您可以從主插件設置面板控制文件大小,或者您...。
WP Attachments 》WP Attachments 是一個 WordPress 的外掛,可增強下載體驗和檔案管理的功能。它為附件添加了一些功能,並自動在文章和頁面中顯示它們。, 當您上傳一個檔案時...。
Sensei LMS Media Attachments 》Sensei LMS 媒體附件讓您可以將媒體檔案附加到 Sensei LMS 課程和課程主題。, 例如,您可能會有一些閱讀材料是以 PDF 格式提供給您的學生。, 有了 Sensei LMS...。
WP Document Revisions 》WP Document Revisions 是一款文件管理和版本控制外掛,適用於時間敏感和任務關鍵項目。團隊可以共同編輯任何格式的文件,包括文字文檔、電子表格、圖像、樂...。
Fix Media Library 》Fix Media Library 外掛程式可以解決 wp-content/uploads 資料夾與資料庫中的不一致問題,並且修復損毀的 Media Library 資料庫紀錄。此外,這款外掛還能夠有...。