- This procedure is for Commonspot v4.6.2.50 sites migrating to Drupal 6.x
- Move page_dump_rss_file.cfm to the customcf directory at the top of the commonspot site.
- 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.
- Log in to Drupal as the admin of the site.
- Make sure you have the right Drupal modules enabled. See the list here.
- Import the content type 'Imported Page' (csf1). Here is the exported version.
- 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 .
- 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:
Panel 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) - Install cs-rss-drupal.php in your Drupal root directory
- ssh to your Drupal root directory and type
Panel php cs-rss-drupal.php http://<your domain name here>/upload/page_dump_rss_file.xml
- The script runs and spits out a lot of progress information.
- 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.
- Go to 'Importer Operations' view. Home > Administration > Content Management > Importer Operations
- Select all the rows and execute Remove all the weird characters from migrated nodes.
- Select all the rows and execute Import Image Files.
- Select all the rows and execute Import images that did not make it into the gallery.
- Select all the rows and execute Import uploaded files.
- Select all the rows and execute Make local links point to Drupal pages and uploads.
- Do the post-import steps.