Drupal

I’ve finally started getting my hands dirty with Drupal over the last couple of weeks, going through the process of actually building a site versus adding a couple of pages and menu links here and there to see how it works, and now poking around under the hood to learn how to extend it.

Adding a bunch of pages in a row using the standard interface is usually a pain in any CMS, and Drupal is no exception: Click to expand all of the option fields, click through another screen to attach the new page to a menu, try and remember the weight of the last item you added, repeat.

Half the problem when trying to learn a new language or platform on your own is finding a practical application for it. You never get very far with “Hello, World”.

I’m really surprised there are no Drupal modules out there facilitating the import of existing content and/or menu structures. At least, none that I have been able to find other than the excellent WordPress Migration Utility . I used that to move the last 5 1/2 years’ worth of blog entries over to Drupal.

So, there’s my first practical application: a module that imports either a page hierarchy, creating a menu and stub Page nodes, or possibly even importing actual content.

I’m not sure what the import format will be. The smart way to develop this would be to make the import tool pluggable, so other people could write drivers to import whatever format they need. I think that’s overly ambitious for the first version of this plugin, but I’m beginning to get a sense of how that could be accomplished without too much trouble in Drupal.


31 January, 2009 It took me a while, but I did ultimately build just such a module. It’s in the Drupal contributions repository, and it’s called Bones.

Syndicate content

Twitter

  • Nothing says "this crappy joke that's been forwarded 27 times is not nearly as funny as the subject line says" like Comic Sans. #fb 4 years 46 weeks ago
  • Ah, southwestern New Hampshire, where it's hard to tell whether or not a guy's mullet is ironic. #fb 4 years 48 weeks ago
  • Pancake making hack: put the syrup in The oven at 200F along w/pancakes to keep everything nice and hot. #fb 4 years 48 weeks ago
  • Just finished cooking one of those meals that somehow completely destroys the kitchen. I'll be more organized next time. #fb 4 years 48 weeks ago
  • I wish the TSA would get on with it and just ban passengers from flights altogether. That will make us all safe. 4 years 48 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key