• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Books
    • Content Strategy for WordPress (2015)
    • WordPress for Web Developers (2013)
    • Beginning WordPress 3 (2010)
  • Blog
    • Content Modeling for WordPress
    • WordPress Hidden Gems
    • Web Design
  • Work
    • Presentations and Interviews
    • on GitHub →
    • MLIS Class Projects (2019-2022)
    • Portfolio (2002-2019)
    • WordPress Plugins

Stephanie Leary

Writer, Front End Developer, former WordPress consultant

  • About
    • Press Kit
    • Presentations and Interviews
  • Contact Me

HTML Import now handles documents

June 19, 2012 Stephanie Leary 3 Comments

HTML Import 2.2 is now available, and it now handles linked documents! 2.0 introduced the image import feature, which uploads linked images to the WordPress media library. In 2.2, there’s an additional option to import linked files of any type. You can specify the allowed extensions — as with the HTML cleanup options, there’s a recommended list — so you can tailor this feature to your site’s needs without getting tripped up by WordPress’s idiosyncratic list of allowed MIME types.

Thanks to a bit of debugging by Travis Ward, the importer also corrects for links with encoded URLs that lead to unencoded file names (e.g. my%20file.doc now correctly locates my file.doc).

As always, support is available via the forum.

WordPress Plugins

This is an excerpt from Content Strategy for WordPress.My latest books are Content Strategy for WordPress (2015) and WordPress for Web Developers (2013). Sign up to be notified when I have a new book for you.

Reader Interactions

Comments

  1. Ronnie says

    July 1, 2012 at 11:37 am

    Hi there,
    I love your work and what you do with wordpress.
    I have working for ours now with the html import plugin but i can get it worked.
    I have 1 html file like a dictonary and i want to make a lot of post from it.
    Can you help me with that ?

    greetings from holland,
    Ronnie

    Reply
    • Stephanie says

      July 9, 2012 at 1:05 pm

      Hi, Ronnie. This importer creates one new post or page per file. It cannot be easily modified to do what you’re describing. You might take a look at other immporters, like the WordPress and Movable Type ones, that are designed to create many posts from one file.

      Reply
  2. al says

    November 3, 2012 at 4:41 am

    trying to import php pages – when I do the import they are blank.

    Reply

Leave a Reply to al Cancel reply

Your email address will not be published. Required fields are marked *

Footer

My Books

I’m a front end developer at Equinox OLI, working on open source library software. I was previously a freelance WordPress developer in higher education. You can get in touch here or on LinkedIn.

Copyright © 2025 Stephanie Leary · Contact