このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Attachment Importer

説明

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

  1. 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.
  2. Navigate to the Attachment Importer screen.
  3. Select your WXR export file.
  4. Select the user you would like to be the owner of the downloaded images. Default: current user.
  5. 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.
  6. 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

インストール

  1. Either a) download from the WordPress plugin repository, or b) upload the attachment-importer directory to your plugins directory.
  2. Navigate to Plugins -> Attachment Importer and activate.
  3. Go to Tools -> Import -> Attachment Importer to run.

評価

Thank you so much!!!!

I found this plug-in as I was having trouble moving data on a shared server that can not be migrated.
Importing of media that has failed many times is proceeding smoothly.
Thank you for a wonderful plugin !!

It went beyond my expectations!

I`ve been searching for a solution to deal with faulty demo content importing processes, and the Attachment Importer plugin works flawlessly! Literally, it saved me hours of work!

What I would love to see though is an update, just to get rid of that “2 years” notice from the plugin page.

Definitely useful in a tight situation

I am adding this plugin to my arsenal of website development plugins.

I had to transfer post and pages that were previously migrated from an old wordpress structure.

Many media files from the exported website were showing to be an item in the media library however were not in the file structure returning 404 errors which caused the import to be a mess!

I kept having timeout issues when importing the large XML file, I even split it into small 200k files without any luck. This plugin helped me isolate the attachment import process which allowed me to import the whole large XML export XML without attachments. I then imported a separate XML that only contained the attachments for the posts and pages with https://wordpress.org/plugins/wp-attachment-export/.

This plugin ran in the background processing the attachment imports without any timeout issues!

Great plugin, please keep updating!

Did not work for me.

Error: “There were no attachment files found in the import file.”
Maybe because of Umlaute somewhere in the file …

24件のレビューをすべて表示

貢献者と開発者

Attachment Importer はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Attachment Importer” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。