Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I didn't really know in which category to file this issue.
Well, if you try to read an image from a page where the URL is eg.: FeedsEnclosure-1169772738-etats-unis-le-retablissement-spectaculaire-d-une-fillette-de-9.jpg?x=205&y=232&q=75&sig=fk54itH5wV3tJLwG3yMm1g--#205,23
The image grabbing fails because of the file extension that is not detected.
However, I don't know what should be done in this case.
Comments
Comment #1
publicmind CreditAttribution: publicmind commentedThis should not happen as it is a valid URL. If you can elaborate the situation, I will be able to tell you more about it. The image URL you provided is that of the image on the webpage or the downloaded image? (because FIG uses FeedsEnclosure in the filename while downloading the images.)
Comment #2
publicmind CreditAttribution: publicmind commentedno response from the filer. open again if required.
Cheers,
Comment #3
paolodoors CreditAttribution: paolodoors commentedI'm having the same problem but I think that FileField is not accepting the image provided by FIG, the error I get when I try to import a feed is this:
The selected file FeedsEnclosure-4233260707_838b46a845_o_4.jpg?1284319803 could not be saved. Only files with the following extensions are allowed: png gif jpg jpeg.
Comment #4
Marko B CreditAttribution: Marko B commentedDo this in module. It will skip image validator and upload.
Comment #5
jmlavarenne CreditAttribution: jmlavarenne commentedI'm having the same issue and commenting out the validators does not solve my problem. I don't get the filefield error anymore, but neither do I get an image for the field.
Any idea how to solve this issue?
Comment #6
karengrey CreditAttribution: karengrey commentedMy xml feed has this kind of URL for the image:
http://somewebsite.com/propertylisting/img1/show/?520
And nothing happens. I dont get any errors, but the image is not saved.
Any ideas?
Comment #7
Marko B CreditAttribution: Marko B commentedJupiter, yes you are right, this validator removing doesnt solve problem, i forgot to tell later that it was just partial sucess here also. So i am still searching for solution for this.
Comment #8
publicmind CreditAttribution: publicmind commentedfinally after a long wait, committed the fix for this in dev. I haven't tested it out extensively, so would appreciate the feedback.
Regards,
Comment #9
Marko B CreditAttribution: Marko B commentedTested it, doesnt work in my case. URL has parametars but also jpg has .asp extension here so i get
The selected file getimage.aspximgid64491fmtid20 could not be saved. Maybe they did this to make harder leecheing or something, but take a look here and say is there some posibility to uplodad file that in fact is jpg but has this dumb ass extension
http://www.tportal.hr/sport/nogomet/112374/Dvije-strane-dva-uvjerenja-dv...
from this rss
http://www.tportal.hr/rss/sportrss.xml
Comment #10
publicmind CreditAttribution: publicmind commentedNothing else can explain that the fix works than this: http://publicmind.in/drupal/node/24585/feed-items
I tried it with the feed URL you provided, with
class = articleDetails
and zap, everything appeared magically.Regards,
Comment #11
publicmind CreditAttribution: publicmind commentedAn advice: Update your UrlToAbsolute package from here: http://sf.net/projects/absoluteurl
Regards,
Comment #12
Marko B CreditAttribution: Marko B commentedThanx, you are right, it works :-) Made a mistake somehow and downloaded dev from january. Thanx public :-)
Comment #14
tekket CreditAttribution: tekket commentedCommenting out validators(suggested in #4) helped me to download images from nonstandard url. Thanks.