1. This procedure is for Commonspot v4.6.2.50 sites migrating to Drupal 6.x
  2. Move page_dump_rss_file.cfm to the customcf directory at the top of the commonspot site.
  3. Point browser at page_dump_rss_file.cfm. It writes an rss feed called page_dump_rss_file.xml into the /upload directory and shows a link to it.
  4. Log in to Drupal as the admin of the site.
  5. Make sure you have the right Drupal modules enabled. See the list here.
  6. Import the content type 'Imported Page' (csf1). Here is the exported version.
  7. Import the 'Importer Operations' view. Here is the exported version. This adds a menu item at Administer > Content Management > Importer Operations. Name the view importer_operations .
  8. Go to 'Importer Operations' and edit the view. Go to the Default Settings for the view and click on the button next to 'Style: Bulk Operations'. Then scroll down and check off the following 'Selected operations:

    Import image files. (_feednodefixer_operations_imageimport)
    Import images that did not make it into the gallery. (_feednodefixer_operations_moreimageimport)
    Import uploaded files. (_feednodefixer_operations_fileimport)
    Make local links point to Drupal pages and uploads. (_feednodefixer_operations_fix_links)
    Remove all the weird characters from migrated nodes. (_feednodefixer_operations_fix_characters)

  9. Install cs-rss-drupal.php in your Drupal root directory
  10. ssh to your Drupal root directory and type

    php cs-rss-drupal.php http://<your domain name here>/upload/page_dump_rss_file.xml

  11. The script runs and spits out a lot of progress information.
  12. Check out your Drupal site. You should have a new item in the Navigation menu called 'Imported Site'. This has a submenu for images (a node for each image from your site), a submenu for uploads (a node for each uploaded document), and another submenu named for your site containing all the pages.
  13.  Go to 'Importer Operations' view. Home > Administration > Content Management > Importer Operations
  14. Select all the rows and execute Remove all the weird characters from migrated nodes.
  15. Select all the rows and execute Import Image Files.
  16. Select all the rows and execute Import images that did not make it into the gallery.
  17. Select all the rows and execute Import uploaded files.
  18. Select all the rows and execute Make local links point to Drupal pages and uploads.
  19. Do the post-import steps.
  • No labels