Closed (fixed)
Project:
Feeds QueryPath Parser
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Sep 2010 at 21:42 UTC
Updated:
15 Oct 2010 at 00:00 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| feeds_querypath_parser-parse-multiple-values.patch | 981 bytes | joshuajabbour |
Comments
Comment #1
twistor commentedThanks a bunch. This has been lurking in the back of my mind.
Committed: http://drupal.org/cvs?commit=430352