0

I created an importer to fetch data from an http xml file. To create the importer I'm using Feeds and Feeds XPath Parser

So far so good. Thing is that the xml file has several images to import in a single multivalue image field of my nodes.

Then I guess I have to concatenate these images into one value and then after populate my field. To do this I'm using Feeds Tamper. This one allowed me to REWRITE the multivalue image field using tokens where I set one token for each image. It seems simple but it doesn't work. What am I missing here?

Is there any other way to do this?

Image capture of the xml: https://drive.google.com/file/d/0B71-gfIvQWAUU3ZpWVpVZzJjTFk/view

  • How did you give the path to the images? In a similar scenario I had to use public://path/.. which means sites/default/files/path/.. and I concatenated the images by using semicolon. – Stefan Korn Feb 23 '15 at 14:19
0
  • For Multi-Valued field you could use Explode Plugin in feeds Tamper
  • Also Use Trim Plugin to Remove white spaces if any in Image URL.

  • Reference: Feeds Example

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.