Download & Extend

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

Project:Feed Element Mapper
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

Comments

#1

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