importing content into drupal.

Posted by anru on Stack Overflow See other posts from Stack Overflow or by anru
Published on 2010-03-30T04:27:56Z Indexed on 2010/03/30 4:33 UTC
Read the original article Hit count: 359

Filed under:
|
|

I have a wordpress site with 5k post and each post has average 25 comments. so 125k total nodes have to be added.

I need import those posts and comments into drupal 6 .

I have written a script to import those post/comments into drupal by drupal's cron service.

but the cron service keeps time out. because import 125k nodes one by one is very slow. what can i do to imporve drupal importing speed?

i am use drupal built in node_save(), comment_save() method to do it.

I have not find out a way to use customized SQL query to increase importing speed yet.

I am execute my script through drupals's cron.php, that mean even i have set 'max_execute_time' to unlimited, but that only affects PHP , apache server has it own time out setting.

© Stack Overflow or respective owner

Related posts about drupal

Related posts about 6