Drupal Blog by graham.taylor

Importing Nodes Using The Batch API

For a recent custom module I was building I was faced with the challenge of having to create a bunch of nodes from data stored in an XML file.

I decided not to use Feeds or Node Import modules for a couple of reasons –

  1. The XML structure was fairly custom (it was coming out of one of our internal .net databases – euugh!)

First of all, I’d like to say hello fellow drupalers! This is my first post here, (and also my first ever blog post!) since Greg opened up drupaler.co.uk as a collaborative blog for Drupal developers.

Subscribe to Drupal Blog by graham.taylor
© 2010 Greg Harvey. Drupal theme by Kiwi Themes.