Plugin / HTML Import 2

Stephanie Leary

Frequently Asked Questions (FAQ)

Unzip the files and upload the plugin directory to /wp-content/plugins/ Activate the plugin through the ‘Plugins’ menu in WordPress Go to Settings → HTML Import to begin. You must save the settings before proceeding to Tools → Import → HTML.
You didn’t find the right HTML tag that surrounds the content you wanted to import. Open up one of your old files in a browser and use its inspector (or Firebug) to select the content you want. Look for the tag that surrounds that content and find something unique about it. (An ID attribute is best, but anything unique will work. If it’s a table cell, a unique width will do just fine.) The enter the tag name, the attribute name, and the attribute’s value into the separate boxes in the Content section of the importer’s options page. See the User Guide for details and examples.
Yes! Let me know if you encounter any problems.
No. The importer simply extracts the relevant part of each HTML file and copies it into a WordPress post. You’ll need to create a custom theme if you want to preserve the site’s appearance as well as its content.
Yes, it has been used to import over a thousand pages, and did so in a couple of minutes. However, you might need to adjust PHP’s max_execution_time setting as described below.
The importer will attempt to work around your server’s max_execution_time setting for PHP (usually 30 seconds), but some servers don’t allow this. You can try to increase it by adding a line to your .htaccess file: php_value max_execution_time 160 If that gets you further but still doesn’t finish, just increase the number (it’s in seconds). However, note that your host might get irritated with you for hogging the server’s resources. If you have a lot of files to import, it’s best to install WordPress on your desktop (XAMPP for Windows and MAMP for Macs make it pretty easy) and run the importer there instead of doing it on your live server. It’s also quite possible that the script is trying to use more memory than your server allows. You can try to change that setting, too, in .htaccess: php_value memory_limit 1024M
The skipped directory setting just tells the importer where to look for HTML files. Linked images will be imported no matter where they’re located.
No. The files must be on the same server as your WordPress installation. I have no intention of ever making this plugin import files from URLs. You are welcome to fork the code if you want to add this feature.

Ratings

4.3
27 reviews

Rating breakdown

Details Information

Version

2.6

First Released

27 Jul, 2009

Total Downloads

212,156

Wordpress Version

3.0 or higher

Tested up to:

4.6.16

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.