Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2011, 08:17 AM   #1
edzard
Member
edzard began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2011
Device: Nook
question about news downloads

Hello everybody,

First of all, thanks for the work you've done on making our e-readers so much more useful. I have been playing around with the news function of callibre, and I've selected that some sites will be downloaded and synchronized daily. This works excellently. However, the program does not download only the new articles that have been posted since the previous download, but it downloads all articles up to the maximum specified in the sync options.

I would like to set the news sync so that it only downloads new articles. Is this possible? Right now I set callibre that it keeps copies for one day in order to reduce the amount of duplication, but there must be a more elegant way. Is there an option somewhere so it only downloads the articles that have been newly added since the last download?

Thanks!
edzard is offline   Reply With Quote
Old 10-10-2011, 09:35 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by edzard View Post
Hello everybody,

First of all, thanks for the work you've done on making our e-readers so much more useful. I have been playing around with the news function of callibre, and I've selected that some sites will be downloaded and synchronized daily. This works excellently. However, the program does not download only the new articles that have been posted since the previous download, but it downloads all articles up to the maximum specified in the sync options.

I would like to set the news sync so that it only downloads new articles. Is this possible? Right now I set callibre that it keeps copies for one day in order to reduce the amount of duplication, but there must be a more elegant way. Is there an option somewhere so it only downloads the articles that have been newly added since the last download?
There is code in the code sticky to do this. I believe it's triggered by the URL for each article. There's no global option, so you need to modify all recipes you want to use this on. If a recipe/ebook creation fails after the feed page is fetched, the article will still be marked as having been retrieved, so you will miss it on the next fetch.
Starson17 is offline   Reply With Quote
Advert
Old 10-11-2011, 07:23 AM   #3
edzard
Member
edzard began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2011
Device: Nook
Found the code. Thanks!
edzard is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
News downloads don't complete phisalis Conversion 24 05-01-2012 11:52 AM
automating news downloads jimh12345 Recipes 8 07-07-2011 04:09 PM
Calibre question regarding automated news downloads Mark Rehorst Amazon Kindle 0 05-14-2011 02:27 PM
Downloads yesterdays news deppeler Recipes 0 01-12-2011 11:56 AM
Sllooooowwwww news downloads syfr Calibre 8 01-22-2010 07:28 AM


All times are GMT -4. The time now is 07:24 AM.


MobileRead.com is a privately owned, operated and funded community.