1

I've taken over a small website (link here, in case it helps) which is currently composed of largely static HTML files (with a few PHP includes thrown in to generate menus and footers, etc). I want to migrate it into Drupal, as I'm fairly familiar with this and it'll make the site more manageable. My question is: what's the best way to do this?

I've found plenty of modules to migrate sites from CMSes like WordPress, but none to import static files organised in directories. Some research turned up the Migrate and Feeds modules, but I'd like some guidance on whether to use something else, or whether to use these, and if so how. Should I write a perl script to pull out the content and titles and current paths or pages into a CSV of some format? Presumably others have done this, so it'd be interesting to see best practice, or examples...

Many thanks

2

I'm surprised that you didn't find Import HTML yet. Personally, I haven't used it since the Drupal 5 days, but just give it a try and see if it does what you need.

  • Thanks a lot, somehow that didn't turn up when I searched. I'll look into it and see if it meets our requirements... – tog22 Nov 24 '11 at 13:50
  • No problem. I'd love to read how it works for you. – marcvangend Nov 24 '11 at 14:05
  • 1
    Well, this was clearly the right option as I've had it working a few times and it's done a good job. That said, user beware: getting the module to work consistently has been a challenge. – tog22 Feb 6 '12 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.