HI,
I am working on importing a set of data in (at the moment) XML using Feeds, Feeds XPath Parser, and Feeds Tamper.
I have everything working except for one field which, in my Event node content type, is an entity reference to a Region content type. I have yet to figure how to map one to another in terms of the settings in Feeds XPath Parser and Tamper...
In the data the Region number ranges from 1 to 13 while the entity IDs for the Region nodes range from 8 to 20, so
Region 1 has an entity ID of 8,
Region 2 has an entity ID of 9, etc
to
Region 13 has an entity ID of 20
i.e region # + 7 = entity ID
I've looked through the docs on the Feeds based module(s) and Entity Reference and I'm pretty much lost... Does anyone have an idea?
Thanks,
Eric
Comments
Apply a patch
check out http://drupal.org/node/1616680, I think that is the functionality you're looking for
-cdmo
Thanks
Hi,
Thanks, that looks like it should work.. Will need to do a Feeds Tamper to change the Region Number to an Entity ID, but that should be trivial...
Eric
__________
Eric Aitala - ema13@psu.edu
Penn State
224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485