How would I import nodes and select a specific non-unique term from a hierarchy?

Notes:
- I can re-create the CSV to meet the requirements.
- Currently the terms already exist in the database and I currently do not have the TID for each. Plus also exporting them and mapping each TID to each would be insane.
- Only 1 node per term
- The existing terms could be deleted and re-created if necessary.

Vocab Example
-----
Brown
- 2 legs
- - Bird
- - Kangaroo
- 4 legs
- - Dog
- - Cat
Black
- 2 legs
- - Bird
- - Kangaroo
- 4 legs
- - Dog
- - Cat
White
- 2 legs
- - Bird
- - Kangaroo
- 4 legs
- - Dog
- - Cat

Comments

IamOnStage created an issue. See original summary.

MegaChriz’s picture

I've no time to investigate this issue at the moment. Perhaps the module posted in #2212587-33: Reworked to support multiple hierarchy imports, work with Feeds 7.x-2.0-alpha8 could help? That module claims to support importing nodes with hierarchical terms.

From the project page:

The terms are expected to present as an array; use a module such as Feeds Tamper to explode a string such as Clothes > Children > Blue or Clothes,Children,Blue into an array structure. You can also achieve this through a custom feeds parser, or hook_feeds_after_parse().

IamOnStage’s picture

Status: Active » Closed (won't fix)

Amazing, thanks MegaChriz, I will check it out. I will post my findings here for future enquiries.