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

  • Can't we all agree that "parumpapapum" 1) doesn't sound like a drum 2) is annoying, and never play that song again? #fb 5 years 3 weeks ago
  • New post: Learning and Overthinking on the Internet http://tinyurl.com/ylktjnb 5 years 3 weeks ago
  • RT @hodgman: is BLACK FRIDAY the national holiday of the Church of Satan? Or they day we all get blown up by a terrorist blimp? 5 years 3 weeks ago
  • protip: If you were hosting your grocery store's web site on Geocities, you need to find a new host. 5 years 3 weeks ago
  • RT @ hotdogsladies Y'know, it's okay to learn new things; even after you graduate and don't have to. 5 years 3 weeks ago

Older

Contact

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