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

  • RT @usonian: New post: Ship in the Clouds: Clawhammer Banjo Tablature http://tinyurl.com/y8uvxoc 4 years 28 weeks ago
  • New post: Ship in the Clouds: Clawhammer Banjo Tablature http://tinyurl.com/y8uvxoc 4 years 28 weeks ago
  • RT @godfly: Employee. You are the engine that drives this economy. Too bad you’re not the driver. 4 years 28 weeks ago
  • Hey FYE: reason your Keene store might be closing: your 30% off liquidation prices are still about 20% more than Amazon. Good riddance. #fb 4 years 29 weeks ago
  • Haw. Did a google search including the word 'bathtub'. Sponsored ad next to results: "Dinner with John Lithgow" #fb 4 years 29 weeks ago

Older

Contact

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