HI I'm not sure if the issue is with FIG or XPath XML Parser - I've posted this same issue on the XPath XML Parser forum http://drupal.org/node/1874026.
If I use the Feeds RSS parser I am able to use http://drupal.org/project/feeds_imagegrabber to download images from the RSS Description field. Hover if I switch to Feeds XPath XML Parser - which I need in order to download files in enclosures - Feeds Image Grabber no longer downloads images from the Body field.
Does anyone know how XPath XML Parser may be interfering with feeds_imagegrabber? Are there any test i could do to figure out what is interfering with what?
The error message I get back is
Invalid enclosure http://sitename.com/sites/default/files/images/donate.png
However http://sitename.com/sites/default/files/images/donate.png is the correct address for the original image.
thank you for this module - when I used it with RSS it worked great. The problem is I need to parse a huge custom XML doc, so can't use RSS.
Comments
Comment #1
rooby CreditAttribution: rooby commentedI notice there is a patch in #1874026: Add feed URL as mapping source..
Does that look like solving the problem?
Comment #2
ibapi CreditAttribution: ibapi commentedNo, still doesnt working with XPath XML Parser, this is really huge problem.
Comment #3
rooby CreditAttribution: rooby commentedStatus back to active based on last reply.
Comment #4
benjaminbradley CreditAttribution: benjaminbradley commentedI'm trying out this combination (Feeds XPath XML Parser with Feeds Imagegrabber) and it looks like the Imagegrabber module doesn't recognize the xpathparser source type at all. When I add the mapping to my feeds import with a FIG field as the destination, the source is listed as "XPath Expression" instead of "xpathparser:N" (where N is the integer index) and the new field mapping never appears in the XPath XML parser settings where one would normally enter the XPath expression for the source field value.
Comment #5
STNyborg CreditAttribution: STNyborg commentedIt would really be nice if this little module would be able to sniff out the image tags in my XML feeds. Has anyone found a solution for this?
Comment #6
sawabe CreditAttribution: sawabe commentedFeeds + FeedsEx (XML Xpath Parser) + TAMPER + FIG
feeds_imagegrabber.module
function feeds_imagegrabber_feeds_set_target($source, $entity, $target, $page_url) {
$page_url is actually an array, but processed like a string for both stable and dev versions. Worked for me if add smth like this from the beginning of the function: