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

  • Found my misplaced Hero 329! It had been in the truck for a few weeks. #fountainpen 4 years 33 weeks ago
  • Note to speakers & writers of the English language. It's D-R-A-W-E-R, not "draw". They speak english in what? 4 years 33 weeks ago
  • How to compile + install xdebug for entropy.ch PHP5 on OS X Leopard: http://is.gd/4WkwW 4 years 33 weeks ago
  • RT @ebertchicago: Martin Scorsese's list of the Top 11 Horror Films of All Time. http://j.mp/2AfcFX (yep, The Changling is on it) 4 years 33 weeks ago
  • @krazykatmama it's OK, our neighbor saw my plight on Facebook and within 10 minutes came over and brought us cupcakes! 4 years 34 weeks ago

Older

Contact

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