Today, I finally finished my custom Drupal module which imports (existing) Joomla! MxComments into the Drupal database. I did it because CyCo didn't want to lose the old comments ;-) ! Unfortunately, nobody created a Drupal module for this operation before ... :-( ...
I was planning to share this module with the community, so I posted a suggestion/request to have my own developer space: http://groups.drupal.org/node/49188.
But I received only 1 reaction. I wasn't planning to integrate my component with other components, although I agree it would be better. But I didn't want to spend too much time on development. My module is used for a 1-time-operation, so I didn't want to go very fancy :-)
If people are interested in my module, feel free to drop a comment/mail. I can documentate the whole migration process on my wiki.
Briefly, I ...
- ... selected all MxComments from Joomla! database
- ... converted them into the $comment array of Drupal
- ... used the http://api.drupal.org/api/function/comment_save/6 operation to insert the comment in the database using the Drupal API
- ... finally, I ran a database query to update the node_comment_statistics table
Meanwhile, I closed my old website (http://www.jochus.be/www/). It will be removed in the near future ...
Comments
nice ;D
strange nobody wrote something like that before...
Add new comment