Ive setup feedapi and feedmapper to map enclosed images on feed items to a remote_link and have remote_file download the images to an imagefield. This seems to work fine for the most part however i run into this error pretty often which haults the feeds from refreshing during a cron run. From what i can tell all my images comign in are valid jpegs . The error message isnt very helpful..to me anyways...

The selected file c1a048327a5d8df89801c3b5b3afeea6.html; charset=utf-8 could not be saved.

* Only files with the following extensions are allowed: jpg jpeg png gif .
* Only JPEG, PNG and GIF images are allowed.

Comments

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

My guess is the mapper is putting a normal html file link into the remote_link and next the remote_file module is trying to put that html file into an image field which will never work. What are your mapper settings?

I know I should update the module to a real remote _FILE_ instead of image only :-)

malukalu’s picture

field_remote_feed_link : mapped to the enclosure jpg link
feld_remote_feed_image : field that remote_file uses to add the image

Seems to work on some feeds and crash out in the middle of others. is there a way to get it to output the feed node title in a debug message so i can find the rss feed item that causes it...see if i can fix it at the source.. ( using yahoo pipes)

Krummrey’s picture

I'm doing basically the same thing.

The error occurs when you're trying to map anything but an image.

I get that error when my pipes are broken because the image in question has been removed. Then my pipe points to an image that isn't there. I haven't figured out how to avoid it. Since it happes after the pipe has run.

clemens.tolboom’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I guess this is not fixable. The closure is trying to map something other then an image.