![]() |
#1741 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Updated recipe for Sydney Morning Herald:
|
![]() |
![]() |
#1742 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#1743 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Mar 2010
Device: Sony PRS-300
|
|
![]() |
![]() |
#1744 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#1745 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2010
Device: nook
|
|
![]() |
![]() |
#1746 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
And how did you update the recipe?
Did you use this method: https://www.mobileread.com/forums/sho...&postcount=442 Last edited by kiklop74; 04-07-2010 at 08:43 AM. |
![]() |
![]() |
#1747 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2010
Device: nook
|
Quote:
|
|
![]() |
![]() |
#1748 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
|
Hi - I posted this in an Amazon forum and it was suggested I post my note here. I have a recipe which I use to download a daily paper (code for the main options shown below). I've been told that version 6.46 will archive older issues as new ones are delivered, whether or not they are emailed to the device or transferred via USB cable. I am not finding that to be the case. It will archive the issues if I email them to my Kindle, but if I transfer via the cable, the current issue just overlays yesterday's, and nothing goes to the archive. What am I doing wrong? This is the same whether I run the 6.46 Calibre on my XP machine or the Windows 7 machine.
For interface options I have 'download news automatically to device' checked, and I have unchecked the 'delete news from library' checkbox. import string, re class Gazette(BasicNewsRecipe): title = 'The Gazette' oldest_article = 2 timefmt = '' max_articles_per_feed = 100 no_stylesheets = False use_embedded_content = False encoding = 'cp1252' publication_type = 'newspaper' remove_empty_feeds = True extra_css = ' body{font-family: Verdana,sans-serif} .headline{font-size: xx-large; font-weight: bold} .mainPhotoCaption{font-size: x-small} ' |
![]() |
![]() |
#1749 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,385
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Remove
timefmt = '' |
![]() |
![]() |
#1750 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
|
yes, that will give the thing a unique name (adding [date] to the issue name), but how will that help archive issues? Won't that just continue to add a bunch of unique issue names to my main items list without archiving anything?
|
![]() |
![]() |
#1751 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() Update: Check out this post. GRiker should be able to answer more specifics about this feature. Last edited by DoctorOhh; 04-08-2010 at 08:55 PM. |
|
![]() |
![]() |
#1752 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
|
Dwanthny - I am not trying to be insulting - I have done this in the past and it does not solve the problem. I am just trying to explain that, and perhaps make the issue clearer than I had originally posted. I am certainly not trying to be disrespectful and am sorry if anyone took my response to be that.
I had spoken to GRiker previously about this issue and he was the one who suggested I post here. I had seen the update you mentioned, and that is what I am questioning - the result I am getting is not the same. |
![]() |
![]() |
#1753 |
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
PaxtonReader: Please post the recipe.
G |
![]() |
![]() |
#1754 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
|
GRiker - thank you for taking the time with this - not a major deal, but I'd like to understand what I'm doing wrong, if possible. Or perhaps it's something with my computer or Kindle? At any rate, if I have things set to email the document instead of doing it via cable, it archives as documented. Just when I do it by cable, it overlays the current issue. If I take out the timefmt property, it creates multiple issues on my home page (with different names, in that the date is appended), but does not send any of them to the archive
_______________________ import string, re class Telegram(BasicNewsRecipe): title = 'Telegram' oldest_article = 2 timefmt = '' max_articles_per_feed = 100 no_stylesheets = False use_embedded_content = False encoding = 'cp1252' publication_type = 'newspaper' remove_empty_feeds = True extra_css = ' body{font-family: Verdana,sans-serif} .headline{font-size: xx-large; font-weight: bold} .mainPhotoCaption{font-size: x-small} ' keep_only_tags = [dict(name='div', attrs={'id':'articleWell'})] remove_tags_before = dict(attrs={'class':'headline'}) remove_tags_after = dict(attrs={'id':'zoom1'}) remove_tags = [ dict(name='div', attrs={'class':'relatedContent'}) ,dict(name=['object','link','iframe']) ] feeds = [(u'Front Page News', u'http://www.telegram.com/apps/pbcs.dll/section?Category=RSS03&MIME=xml'), (u'World & Regional', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1052'), (u'Living', u' http://www.telegram.com/apps/pbcs.dl...l&profile=1011'), (u'Local News', u' http://www.telegram.com/apps/pbcs.dl...l&profile=1101'), (u'Business', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1002'), (u'Opinion', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1017'), (u'Deaths', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1001'), (u'Sports', u'http://telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1009'), (u'Court Records', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1056'), (u'As I See It', u'http://www.telegram.com/apps/pbcs.dll/section?Category=rss01&MIME=xml&profile=1054')] |
![]() |
![]() |
#1755 |
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
PaxtonReader:
Are you testing this by trying multiple downloads in a given day, one after another? I believe that the Kindle will replace the active copy if today's date is the same, archiving only if the date portion of the timestamp is different. I would argue that this is actually the desired behavior. I'm not talking about the timefmt='' line in the recipe, I'm talking about today's actual date. Please try running your recipe (as you posted it) today, then downloading it via USB. Then try running the recipe again tomorrow at the same time, downloading it via USB. Then check Periodicals:Back Issues on the Kindle and report back. G Last edited by GRiker; 04-09-2010 at 08:37 AM. |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |