How can I convert (move) individual HTML webpages in bulk into Drupal Forum?
What I have is just the 1000s of html pages which consist of question and answers. Now how can I move then into into Drupal Forum.
This is how my question/answer html pages looks like this:- drive.google.com/file/d/0B4RFn3PmjNy9YTNkbE5mejBfV1U/view?usp=sharing

So now what I have to do exactly? I just want to move the questions and answers. Don't want user login details or anything else. I have thousands of pages like this

The question title is in between the tags < title> and < /title> (also present in between < h1> and < /h1> tags).

The question description is in between the < div id="summaryDescription">

All the answer descriptions are in between div classes < div class="postContent">

Only these above 3 are I needed [I don't want the user informations, it can be null or just from the account named anonymous).

Now how can I create the php script (I tried reading this simplehtmldom.sourceforge.net/manual.htm but I can't understand any).

How can I make an sql query out for all those files? Then how to send them to server via shell?

Please guide me. Thanks in advance.

Comments

VM’s picture

The question is better served in the post installation forum. Please edit and move. Also of note, you did not tag the thread with which version of Drupal you are deploying. As the difference between Drupal 7 and Drupal 8 are likely to be different, the version is important.