I've been using XPath + Feeds to pull entries from Petfinder's XML API for several years. We run an animal rescue organization.

Recently, I tried to upgrade Feeds and XPath and the feeds still pull, but do not pull the images.

When I try to just pull the image path, it properly fills a "text" field, but it will not upload the image like it used to do in the past if I try to put it into an image field.

This happens both with image fields restricted to "1" or "unlimited". The same thing is true with file fields. It will not upload at all.

It's only XPath that is affected; when I try to pull as CSV parsed feed with uploads, it works properly with the latest version of Feeds.

I had to dig through backups on my HDD to restore everything back to the previous versions to get it to work again.
The only version that works with uploading images is:
Feeds 7.x-2.0-alpha8+41-dev + Feeds XPath Parser 7.x-1.0-beta4+3-dev

Something after that breaks it.

I don't even get an error; when I do an error check it is properly getting the URL from the image. I've tried setting XPath to just pull one image, or multiple. Nothing works. It will write it to a text field or text area, so it is properly reading the information.

Here's the feed:
http://api.petfinder.com/shelter.getPets?key=4d5deb46677f29608d12bb551e7...

I have a node set up with all the fields properly matched within feeds to the correct xpath fields.

On images, it's pulling:
media//photos//photo[@size='x']

I've also tried:
media//photos//photo[@id='1'][@size='x']

Just in case it was a multiple file problem; but neither work.

Every other field pulls properly.

Many thanks for your assistance.

Comments

jibrille created an issue.