Is there a better walkthrough to setting up Migrate than this documentation on Drupal.org? I have followed those directions, and I can't get my classes to show up in the UI. Is there anything clearer?

And how would I go about using Migrate, once it's set up, to parse a series of XML documents (one list XML that includes an additional document per node) into nodes which I can then manipulate in Views?

EDIT Now I've gotten my XML read and fields set up (I think), but now I can't get the nodes to save. The import has the correct number of nodes, but they don't ever get imported. The wine examples in the documentation didn't say anything about using prepareRow() or anything when you are using XML. Where are my nodes? Can I pull out that data with Views even if nodes don't import? My end use for this is to arrange everything with Views.

  • Frankly I didn't find any documentation better than that. You have to follow carefully the instructions about files naming and classes naming. About your migration task: it can be done.
    – ermannob
    Jan 14, 2013 at 19:08
  • I'm wondering if there is a problem with the way I named my files. I tried to follow that tutorial exactly.
    – dodododo
    Jan 14, 2013 at 20:13

1 Answer 1


Yes, look at the Beer examples that come in the migrate module itself. If you want some example code and usage with some explanation I find the BTMash blog posts useful. While the BTMash blog is D7 based -- the hooks and usage of Migrate is widely similiar between D6 and D7.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.