Plugin / HTML Import 2

Stephanie Leary

Description

Description

Imports well-formed static HTML files into WordPress. Requires PHP 5.

This plugin will import a directory of files as either pages or posts. You may specify the HTML tag (e.g. <body>, <div id="content">, or <td width="732">) or Dreamweaver template region (e.g. ‘Main Content’) containing the content you want to import.

If importing pages, the directory hierarchy will be preserved. Directories containing the specified file types will be imported as empty parent pages (or, if an index file is present, its contents will be used for the parent page). Directories that do not contain the specified file types will be ignored.

As files are imported, the resulting IDs, permalinks, and titles will be displayed. On completion, the importer will provide a list of Apache redirects that can be used in your .htaccess file to seamlessly transfer visitors from the old file locations to the new WordPress permalinks. As of 2.0, if you change your permalink structure after you’ve imported your files, you can regenerate the redirects—the file’s old URL is stored as a custom field in the imported post.

Options:

  • import files into any post type (posts, pages, or custom post types set to public)
  • import linked media files (images, documents, etc.) to the media library
  • select content, title, and custom fields by HTML tag or Dreamweaver template region
  • remove a common phrase (such as the site name) from imported titles
  • remove the imported title from within the content area
  • upload a single file or scan a directory for files to import
  • specify file extensions to import (e.g. html, htm, php)
  • specify directories to exclude (e.g. images, css)
  • if importing pages (or any hierarchical post type), specify whether your top-level files should become top-level pages or children of an existing page
  • specify index file names (e.g. index.html, default.htm) whose contents should be used for the directory parent pages
  • set tags, categories, and custom taxonomies
  • choose status, author, and timestamp
  • use meta descriptions as excerpts
  • clean up imported HTML and strip unwanted tags and attributes in content and custom fields
  • fix internal links in imported files to match new permalinks
  • import the entire file and generate the title from the filename
  • preserve the original filename as the imported page’s slug
  • choose the date from an HTML tag or Dreamweaver region (uses strtotime(); results may vary)
  • import additional HTML tags or Dreamweaver regions as custom fields
  • option to remove imported title from within content area
  • fallbacks: if your chosen tag/area is empty or does not exist, the importer will select <body> for content and <title> for the title
  • use a custom field named ‘post_tag’ to import tags from a portion of the file

See the User Guide for details on all the options.

Thanks

Thanks to…

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.