Commanding Chaos for Coworking, Open Source and Creative Communities

Migrating old HTML files into Drupal | Four Kitchens: the Drupal experts

Thu, 06/07/2012 - 12:10 -- rprice

The migration we’ll setup will specifically target the hxxxx.html files, as it’s a pretty common requirement to migrate hundreds or thousands of semi-structured files like this.

The main workhorse is the extremely well-architected Migrate module. If you haven’t yet discovered the wonders of it’s elegant abstraction and flexibility, my suggestion is to watch the presentations on the project page to gain a firm understanding of how it works. I won’t go into the basics here, as I’m going to cover only tips related to importing static HTML.