WordPress.org

Ready to get started?Download WordPress

Forums

HTML Import 2
[resolved] Import fails -- no error (3 posts)

  1. dcsolida
    Member
    Posted 1 year ago #

    When I try importing the whole directory it runs through in no time, says it went successful, but doesn't import a thing. When I try importing a single file from the same directory but on my local Mac the importer hangs at "Importing HTML file..."

    Could this be because I'm using html exported from Wikispaces? Below is a sample of the code, one of the shorter pages. I've tried various settings on the importer and haven't found anything that works.

    Any help would be appreciated,

    David

    <html>
      <head>
        <title>IS Self Help - AL</title>
        <link rel="stylesheet" href="static/style.css" type="text/css" />
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
      </head>
      <body>
        <div class="wiki" id="content_view" style="display: block;">
    <h2 id="toc0"><a name="x-Atomic Learning"></a>Atomic Learning</h2>
     <br />
    <hr />
    <br />
    <h3 id="toc1"><a name="x-Atomic Learning-About"></a>About</h3>
     Atomic Learning is an online training resource that provides short and understandable video tutorials. These tutorials can help answer a range of questions from " How do I do that" to " How do I apply that." Through the use of their online tutorial library, Atomic Learning makes it easier to integrate new technology into the classroom.<br />
    <br />
    To access Atomic Learning for OWU, log into <a class="wiki_link_ext" href="https://my.owu.edu" rel="nofollow" target="_blank">myOWU</a>. <span style="background-color: rgba(255,255,255,0.918); color: #222222; font-family: arial,sans-serif; font-size: 13px; text-align: start;">Open the 'Faculty and Staff' or 'Student' drop down menu (as appropriate), and choose</span><br />
    <span style="background-color: rgba(255,255,255,0.918); color: #222222; font-family: arial,sans-serif; font-size: 13px; text-align: start;">'Atomic Learning'.</span><br />
    <br />
    Site Quick Reference Guide: <a href="files/Site%20Comp%20-%20Quick%20Ref%20-%20Port.pdf">Site Comp - Quick Ref - Port.pdf</a><br />
    Getting Started Guide for OWU:<a href="files/Getting%20Started%20Guide%20OWU.pdf">Getting Started Guide OWU.pdf</a><br />
    <br />
    <hr />
    <br />
    <h3 id="toc2"><a name="x-Atomic Learning-External Links"></a>External Links</h3>
     <br />
    <a class="wiki_link_ext" href="http://www.atomiclearning.com/k12/en/aboutus" rel="nofollow" target="_blank">Atomic Learning</a><br />
    <span class="wiki_link_ext"><a class="wiki_link_ext" href="http://%20https://my.owu.edu" rel="nofollow" target="_blank">myOWU</a></span><br />
    <br />
    <hr />
    
    <h3 id="toc0"><a name="x--Still need help?"></a>Still need help?</h3>
     <ul><li>For assistance please contact the <a class="wiki_link" href="contact.html">help desk</a>.</li><li>Questions or comments? See the discussion button at top right? It's the one with two dialogue balloons with a number beside them. You may add comments and questions there. (You will need to be signed in to OWU Wikis to do so.)</li><li>Would you like to be notified of changes to this page or subscribe to discussions about it? See the ellipsis on the bar at top right? Click that and select the "Notify" link on the menu that appears. (You need not sign in for all options.)</li><li>Could you use some online technical training? Try <a class="wiki_link_new" href="Atomic%20Learning.html">Atomic Learning</a>.</li></ul>
        </div>
      </body>
    </html>

    http://wordpress.org/extend/plugins/import-html-pages/

  2. dcsolida
    Member
    Posted 1 year ago #

    This might help--
    From the HTTP error log on the linux server that hosts WP...

    PHP Fatal error: Class 'DOMDocument' not found in /[ourServer]/wp-content/plugins/import-html-pages/html-importer.php on line 341, referer: http://[ourBlog]/wp-admin/admin.php?import=html

    I'll be able to investigate more tomorrow...

    David

  3. dcsolida
    Member
    Posted 1 year ago #

    Well we got it to work (mostly). Here's what we learned:

    The directory and, recursively, any subdirectories that the plugin will be importing the HTML files from must have global read permission.

    The web server's PHP installation must have the XML libraries installed.

    The one remaining issue will be a separate thread.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic