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 06-07-2011, 09:35 PM   #1
lucina
Junior Member
lucina began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2011
Device: Kindle DX
oldest_article questions

Hi all.
I tried my best to find the answer to these questions, and I failed, so if anybody has access to documentation, she/he can add the answers there too.
1. Does oldest_article in RSS conversion accept non-integer values? Are they any good? (That is, are they used as fractions of a day, rather than rounded?)
2. The default recipes for daily newspapers use "2" in oldest_article. Should it not be 1? You would think that the last 1 day mean the last 24 hours, which nicely coincides with the typical update interval. Or is my thinking wrong?
3. Are times in RSS feeds respected? Also, those times have timezone information. Is the timezone take into account?

I have a suggestion. Some RSS feeds use UUIDs to prevent duplicate downloads. Could it be possible for Calibre to use them?

Thanks for the great program.
lucina is offline   Reply With Quote
Old 06-07-2011, 11:03 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Moderator Notice
Moved to Recipes sub-forum.
DoctorOhh is offline   Reply With Quote
Advert
Old 06-08-2011, 04:06 PM   #3
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 lucina View Post
1. Does oldest_article in RSS conversion accept non-integer values? Are they any good? (That is, are they used as fractions of a day, rather than rounded?)
I'm not sure, but the recipe schedule download time will interact with the oldest_article to produce partial days.

I don't know the answers to the rest. You can run tests to answer them, or look at the code, but I wouldn't bother. The variation in timing of different feed suppliers is so great that you can't accurately predict what will/won't be picked up. Just add a day or two and make sure you pick it up.

Quote:
I have a suggestion. Some RSS feeds use UUIDs to prevent duplicate downloads. Could it be possible for Calibre to use them?
There is code in the code sticky to do this and there are some threads discussing alternative methods.. I wrote similar code and didn't like it much. It would occasionally fail, and you had to download and read every single issue to see all articles. I preferred to just read the latest issue and skip any old articles by title.
Starson17 is offline   Reply With Quote
Reply


Forum Jump


All times are GMT -4. The time now is 12:54 PM.


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