WordPress Import from DOC/DOCX with Improved Post-import Formatting

Share on FacebookTweet about this on TwitterShare on LinkedIn

Wordpress logoWordPress is a free open source blogging tool and a content management system (CMS) based on PHP and MySQL, which runs on a web hosting service. Features include a plugin architecture and a template system. WordPress is used by more than 22.0% of the top 10 million websites as of August 2013. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites. It’s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.

 

Aspose.Words Cloud logoAspose DOC Importer WordPress plugin allows developers to get the contents from Microsoft Word (DOC/DOCX) documents without requiring Microsoft Office. This module demonstrates the powerful import feature provided by Aspose.Words. It adds a simple Aspose Doc Importer button to posts and pages. When users click the button, they get two options: importing from a local DOC file or from  Aspose Cloud Storage. They select a file, click Insert Doc to Editor and the content is inserted into the editor from the selected file without loosing format. This plugin uses the WordPress Media Up-loader for uploading local files. You can also select files from WordPress Media Gallery.

Installing the Aspose DOC Importer Plugin

You can download the Aspose DOC Importer plugin from one of the following locations:

Once downloaded, please follow these steps to install the module to your WordPress website:

  1. Log into your site as either Admin or another Super user level account.
  2. Navigate to the Plugin menu and select Add New.
  3. Type Aspose Doc Importer in the search box and Search Plugin. Or click the Upload menu and choose the ZIP folder you downloaded from the locations above.
  4. Click Install Now.
  5. After installation, click Settings to see the configuration page.

Using the Aspose DOC Importer Plugin

After you have installed the Aspose Doc Import plugin it is really simple to use it. Please follow these simple steps to get started.

  1. Make sure you are logged-in to a WordPress site as Admin level account.
  2. Make sure you have set up Aspose App Key & ID on the plugin configuration page. For further details on how to get app keys, click here.
  3. Navigate to the page or posts that you want to import contents to from the DOC using Aspose Doc Importer plugin.
  4. Click the Aspose Doc Importer button.
  5. Click Select Doc File.
    The WordPress Media Gallery pops up. Either upload a DOC file or choose from the Media Library.
  6. Click Use this Doc file for Importing.
  7. Click Insert Doc to Editor.
    It inserts the content from the DOC file to the editor.

Improvements

  1. All headings in the document are transformed to the <h1> , <h2> , <h3>  etc tags without any inline styling. Theme CSS for heading tags will be applied on the front end.
  2. All paragraphs in the document are transformed to the <p> tag without any inline styling. Theme <p> tag CSS will be applied on the front end.
  3. All list items from Document File are transformed to <li>tag without any inline styling.

Video

Please check the video below to see it in action.