Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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 '13 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 '13 at 20:13
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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