Thread: Empty news feed
View Single Post
Old 05-31-2011, 03:24 AM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Dec 2010
Device: kindle voyage
Empty news feed

I've got a recipe with only one news feed which only rarely has new articles. Calibre then creates an ebook with nothing inside and emails it to me. Is it possible to prevent this? When there are no new articles, I want no ebook to be generated. Strangely enough, when I add

remove_empty_feeds = True

to the recipe, it raises the error

File "/usr/local/lib/calibre/src/calibre/web/feeds/news.py", line 880, in build_index
raise ValueError('No articles found, aborting')
ValueError: No articles found, aborting

(calibre 0.8.3). I guess this is because there are no valid feeds inside, but this looks like a bug to me - when all feeds are empty, no ebook should be generated.
bubak is offline   Reply With Quote