Hi,
I have a XML with nice fields for country, region and place per node.
I would very much like to use this information to fill a hierarchical taxonomy.

How can I than plot the node to the regional place in the taxonomy :
- country
----region
--------place
and if it doesn't exist build this hierarchy based on the xml?

In the taxonomy mapper I think then it should be made possible to connect to another field in the same importer on another depth level?

Greetings, Martijjn

Comments

Summit’s picture

Hi,
I see there is lots of work done related to this: https://drupal.org/node/1152940.
My question is I think to use this termprocessor work also for the taxonomy.inc mapper on the nodeprocessor!

EDIT: also seeing this issue: https://drupal.org/node/1921098
EDIT2: I think I still have to do this, this way: https://drupal.org/files/WindowClipping%20%28811%29.png, right? like told on: https://drupal.org/node/1152940?

My futurerequest is to be able to use this termprocessor work also for the taxonomy.inc mapper on the nodeprocessor! And preferrably 3 levels deep.

greetings, Martijn

Summit’s picture

Hi,
Following this quest I have some results but all the time duplicate and multiplicate terms!
My way of working is:
1) Build Taxonomy processor based feed import Country - Region
2) Map Parent term to a XML field which holds the country
3) Map term to a XML field which holds the region
4) The countryterm name should already be in the vocabulary and run importer.
5) All kinds of duplicate region names now in the vocabulary within hierarchy under the country.
6) Needs term merge module to fix duplicates...

7) Build Taxonomy processor based feed import Region - Place
8) Map Parent term to a XML field which holds the Region
9) Map term to a XML field which holds the Place
10) The regionterm name is in the vocabulary because of step 4
11) All kinds of duplicate place names now in the vocabulary within hierarchy under the country.
12) Needs term merge module to fix duplicates...

I would very much not have to use 6) and 12). But whatever I do, set mapping to unique or not...still duplicates...
Using latest .dev. Please assist!

greetings, Martijn