I need to import a whole bunch of non-WordPress posts in to Wordpress. I would hope it would be pretty straight forward as there are no pictures or anything; it's basically just a bunch of text. I'm testing out the WordPress Importer plugin but I'm not having much luck, even just using dummy data.
To remove all the variables, here's what I did... I exported all of my WordPress posts to the xml wxr file, removed all but one post with only text, replaced the post data with dummy text, resaved it and imported it.
After I click 'Upload Files and Import', the body of the import WordPress turns white and nothing happens. I find that the file has been imported as a txt file with the body of the xml document and is located under Media.
Can anyone offer any suggestions as to why this is happening.
Update - Debug info: Class 'DOMDocument' not found in /var/www/html/wp-content/plugins/wordpress-importer/parsers.php on line 61
Class 'DOMDocument' not found in /var/www/html/wp-content/plugins/wordpress-importer/parsers.php on line 61