We are using Feeds XPath Parser to import vehicle listings from autotrader using an xml upload they provide us. Everything works fine for all the vehicle listings except for the multiple "additional images".
The main image field (MainPhoto) imports perfectly but none of the additional images (AditionalPhoto) are imported. One of the problems seems to be that the main image is a unique value while the additional images are nested within as multiple occurrences of
Does anyone have any suggestions as to how we can tackle this?
Comments
Comment #1
Enzomaticus commentedI'm going to add more info for the sake of clarity.
An example from the xml file:
Our mapping looks like this :
context: //AD
Category: Category
Main Photo: MainPhoto
Additional Image 1: AditionalPhotos:AditionalPhoto[1]
Additional Image 2: AditionalPhotos:AditionalPhoto[2]
Is the mapping wrong or is this just not possible?
Comment #2
pefferen commentedYou only have to create one 'additional image' mapping, the xpath parser will loop over all the images(the XML tags are the same). Just make shure the filed you are posting to, can hold more than one entry.
map is like this:
AditionalPhotos/AditionalPhoto
good luck!
Comment #3
twistor commented