View Single Post
Old 11-06-2011, 05:24 PM   #4
NotTaken
Connoisseur
NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.NotTaken is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4640
Join Date: Aug 2011
Device: kindle
another update

Thanks kovid, I really appreciate all the work you do on calibre.

I've made a few changes to the recipe:
  • Added a few extra guards to make it more robust
  • Got rid of the "Caption:" label
  • Added a postprocess parse to remove the captions that resulted from when an image fetch failed
  • Stop adding empty captions
  • Changed "feedsportal" rss feeds to Independent.co.uk equivalents

I noticed that their web server frequently times out when processing a request (probably initial teething problems with the new site). This resulted in a lot of captions being added without an image. Hopefully the post process parse should take care if this issue.
Attached Files
File Type: zip independent-new.recipe.zip (2.4 KB, 230 views)

Last edited by NotTaken; 11-06-2011 at 05:37 PM.
NotTaken is offline   Reply With Quote