Linux 软件免费装

WordPress Importer Extended

开发者 nkuttler
更新时间 2011年5月24日 17:29
捐献地址: 去捐款
PHP版本: 3.1 及以上
WordPress版本: 3.2

标签

plugin admin development import developer theme development content generation reset plugin development WXR auto import

下载

0.2 0.3

详情介绍:

Well, the WordPress importer is kinda flawed, but as a developer I use it quite often. One of the more annoying things is that you can't simply import a file that's on the server. This plugin makes this possible. Please make a full backup of your WordPress install before attemting such an import. Another feature is the auto-import of files during the plugin activation. This is especially useful in combination with the WordPress Reset plugin. Just reset the blog and auto-import all the content you need. Right now you'll need my patched version of the reset plugin that you can download from the plugin page on my site. More recommended developer tools: Other plugins I wrote

安装:

You have to install the normal WordPress Importer plugin before you can do anything with this one. For manual import
  1. Make a full backup of your WordPress install.
  2. Unzip
  3. Upload to your plugins directory
  4. Enable the plugin
  5. Add define('WP_LOAD_IMPORTERS', true); to your wp-config.php file. Remember to disable this after the import has finished.
  6. Add define('WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS', true); to your wp-config.php file if you with to download the attachments.
  7. Go to Tools->WordPress Importer Extended and enter the path to your WXR file (relative from the WordPress root directory).
For automatic import on activation Upload the plugin. Then you have to set <?php define( 'WP_LOAD_IMPORTERS', true ); ?> in your wp-config.php file. To specify which files to import use for example <?php define('WORDPRESS_IMPORTER_EXTENDED_AUTO', 'wp-content/test-data.2011-01-17.xml'); ?> Then you just need to activate the plugin to start the import. The recommended method is to use the WordPress Reset plugin and to configure this plugin and the normal WordPress Import to autostart by adding this to your wp-config.php: <?php define( 'WORDPRESS_RESET_REACTIVATE_PLUGINS', 'wordpress-reset/wordpress-reset.php,wordpress-importer/wordpress-importer.php,wordpress-importer-extended/wordpress-importer-extended.php' ); ?> If you wish to download the attachments specify define('WORDPRESS_IMPORTER_EXTENDED_FETCH_ATTACHMENTS', true);

更新日志:

0.3 ( 2011-05-24 ) 0.2 ( 2011-05-23 ) 0.1 ( 2011-05-22 )