How to map to a value in an array, like category[1] or tags[1]?

Summit - September 25, 2009 - 13:35
Project:Feed Element Mapper
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I have a simple rssfeed with more than one category:

      <category>NL</category>
      <category>Nederland</category>

I would like to map these categories both to different location fields with location_mapper:
NL -> To location:country_code
Nederland -> To location:country_name.

Would this be possible please?

Thanks a lot in advance for your reply
Greetings,
Martijn

#1

Summit - October 1, 2009 - 11:38
Title:(Location)mapper: How to map to a value in an array» How to map to a value in an array, like category[1] or tags[1]?

EDIT: I have noticed that taxonomy mapper is nicely mapping the array! great.

greetings,
Martijn

AttachmentSize
feedapi_mapper.JPG 74.43 KB
 
 

Drupal is a registered trademark of Dries Buytaert.