Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-06-2010, 07:00 PM   #1741
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by chensl316 View Post
Hi kiklop74,

the new Sydney Morning Herald is down,
please kindly check for us,
thanks.
Updated recipe for Sydney Morning Herald:
Attached Files
File Type: zip smh_au_updated.zip (1.6 KB, 260 views)
kiklop74 is offline  
Old 04-06-2010, 07:02 PM   #1742
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 Ishu View Post
what must i add to the recipe to let him work?
I suggest you look at other recipes to see how indenting works.
Starson17 is offline  
Old 04-06-2010, 07:12 PM   #1743
Ishu
Junior Member
Ishu began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2010
Device: Sony PRS-300
Quote:
Originally Posted by Starson17 View Post
I suggest you look at other recipes to see how indenting works.
That's what i did before of course, but it don't want work.
Ishu is offline  
Old 04-06-2010, 08:03 PM   #1744
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 Ishu View Post
That's what i did before of course, but it don't want work.
Post your efforts here. I'll help, and if I'm not here, someone else will. Put your recipe in code tags (press the pound # above)
Starson17 is offline  
Old 04-07-2010, 06:37 AM   #1745
chensl316
Junior Member
chensl316 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2010
Device: nook
Quote:
Originally Posted by kiklop74 View Post
Updated recipe for Sydney Morning Herald:
Hi kiklop74,

thanks for updating, but it still doesn't work.
May I ask you to look into this again?

thanks
chensl316 is offline  
Old 04-07-2010, 08:39 AM   #1746
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
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.
kiklop74 is offline  
Old 04-07-2010, 05:15 PM   #1747
chensl316
Junior Member
chensl316 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2010
Device: nook
Quote:
Originally Posted by kiklop74 View Post
And how did you update the recipe?

Did you use this method:

https://www.mobileread.com/forums/sho...&postcount=442
Thanks kiklop74, it's all good now
chensl316 is offline  
Old 04-08-2010, 06:35 AM   #1748
PaxtonReader
Member
PaxtonReader began at the beginning.
 
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} '
PaxtonReader is offline  
Old 04-08-2010, 06:41 AM   #1749
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,385
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Remove

timefmt = ''
kovidgoyal is online now  
Old 04-08-2010, 08:31 PM   #1750
PaxtonReader
Member
PaxtonReader began at the beginning.
 
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?
PaxtonReader is offline  
Old 04-08-2010, 08:42 PM   #1751
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,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by PaxtonReader View Post
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?
The creator of this program gave you a solution to your problem based on the code in the program that handles this yet you hesitate to try it???

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.
DoctorOhh is offline  
Old 04-09-2010, 07:16 AM   #1752
PaxtonReader
Member
PaxtonReader began at the beginning.
 
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.
PaxtonReader is offline  
Old 04-09-2010, 07:26 AM   #1753
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
PaxtonReader: Please post the recipe.

G
GRiker is offline  
Old 04-09-2010, 07:41 AM   #1754
PaxtonReader
Member
PaxtonReader began at the beginning.
 
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')]
PaxtonReader is offline  
Old 04-09-2010, 08:32 AM   #1755
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
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.
GRiker is offline  
Closed Thread


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:31 AM.


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