The attached patch allows feeds_querypath_parser to support returning multiple values for mappings.

With XML like so:

<?xml version="1.0" encoding="UTF-8"?>
<photos>
  <photo>
    <title>photo title</title>
    <subjects>
      <subject>Some person</subject>
      <subject>Other person</subject>
    </subjects>
  </photo>
</photos>

The context would be "photos photo" and the field source would be "subjects subject" and the mapper would get an array of values.

Comments

twistor’s picture

Status: Needs review » Fixed

Thanks a bunch. This has been lurking in the back of my mind.

Committed: http://drupal.org/cvs?commit=430352

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.