Results very inconsistent. Can we get some debugging feedback?

cbrantley - November 15, 2009 - 03:10
Project:FeedAPI ImageGrabber
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:publicmind
Status:active
Description

I'm using the latest versions of everything. I've gotten this module to work in some situations, but never the way I'd like (or expect) and the results are very inconsistent. I love the idea behind this module and would LOVE to use it but when images aren't grabbed I don't have any feedback to tell me what went wrong. It would be great if we had some log entries or debugging info that would tell us why images were not grabbed so we can adjust settings accordingly.

Thanks! Awesome module!

#1

publicmind - November 15, 2009 - 03:33
Title:Results very inconsistent. Can we get some debugging feedback?» Results very inconsistent. Can we get some debugging feedback?
Assigned to:Anonymous» publicmind

cbrantley,

Can you explain more on the unexpected behavior of the module? The module does a very simple thing, either selects the first or the largest image on the page as per the settings for the feed.

As far as debugging information is concerned I was not sure if people would be interested in such kind of debugging information. I personally use a script which records all the activities of the imagegrabber module and mails me the results along with any errors, after each cron run. I will keep it as a feature request for the next version.

Although, if you are not getting an image for your feed item, here are a few reasons:

  • Original article doesn't contain any image greater than minimum size (100 x 150 pixels) between the tags you specified. #623514: Minimum Image Size
  • The webpage failed to respond within the MAX_TIME (i.e. currently 10 sec).
  • The selected image downloading failed within the MAX_TIME (i.e. currently 10 sec)
  • Image size is greater than 1 MB

I will make all these options configurable in the next version, on a per feed or on overall basis, depends which will be more efficient.

publicmind

#2

peterparker - November 28, 2009 - 15:29

cbrantley,

I feel your frustration. I have been playing around with this module for a few weeks now, and was frustrated by missing images. I keep a block on my front page which shows a teaser image and the title of the blog entry.

Today I decided to edit the feed items to manually upload the images. Much to my surprise I found that the images WERE downloaded, and are shown in the edit page but NOT in any other place. Removing the image and re-uploading it manually solves the problem on a one by one basis, but perhaps this is a clue to what might be going on.

All of my feeds are from blogspot, and I think I have narrowed the problematic images down to those which appear in the original blog in the form of a link (to the larger image).

#3

publicmind - November 28, 2009 - 16:14

Hi gomerpyle,

thanks for making a point. please file a bug report describing the problem along with the necessary information to reproduce the error. are you using the latest version of feedapi imagegrabber?

what versions of the supporting modules you are using? Please provide all the necessary information especially the blog url you are facing issues with, so that I can debug in a better way and can improve the module.

Also, as I posted above, I will make sure the users get the debugging information regarding the failure of imagegrabber for a node in the coming release of the module.

Thanks,
publicmind

 
 

Drupal is a registered trademark of Dries Buytaert.