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 03-07-2009, 05:58 PM   #331
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kiklop74 View Post
If you really want to force use of some css you need to use following method in the recipe (in case of EPUB format):

Code:
    html2epub_options = 'override_css=" <some CSS> "'
This places your css rule as the last css in every css file and thus enforces it regardless of what calibre previously does.
Nope. Tried that and it didn't work. I exploded the created epub files and the page-break-before/after: avoid style is added in-line with the text so that trumps all specified styles in the stylesheet. Is it just the "chapter" class that's special? If I change it to, say "foo", would Calibre then stop overriding the page breaks?
ilovejedd is offline  
Old 03-07-2009, 06:33 PM   #332
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 ilovejedd View Post
Nope. Tried that and it didn't work. I exploded the created epub files and the page-break-before/after: avoid style is added in-line with the text so that trumps all specified styles in the stylesheet. Is it just the "chapter" class that's special? If I change it to, say "foo", would Calibre then stop overriding the page breaks?
chapter class is considered special. Try renaming it to something else.
kiklop74 is offline  
Old 03-07-2009, 10:41 PM   #333
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kiklop74 View Post
chapter class is considered special. Try renaming it to something else.
Changed "chapter" to "foo". Still the same page break behavior (or lack thereof). Only difference I could see was it stopped splitting on chapters. Oh well, I give up for the meantime. Might try some other tricks when I don't have a headache. The html2epub_options is probably worth another try. Thanks kovid and kiklop for the tips.
ilovejedd is offline  
Old 03-08-2009, 07:33 AM   #334
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
New recipe for wikinews in english
Attached Files
File Type: zip wikinews_en.zip (1.9 KB, 273 views)
kiklop74 is offline  
Old 03-08-2009, 05:40 PM   #335
DougBarry
Junior Member
DougBarry began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2008
Device: PRS-700BC
For the New York Times, I've noticed that the content for the Opinion category is now showing "Article not found." Can this be repaired?
DougBarry is offline  
Old 03-09-2009, 03:29 AM   #336
etherspin
Connoisseur
etherspin has a complete set of Star Wars action figures.etherspin has a complete set of Star Wars action figures.etherspin has a complete set of Star Wars action figures.
 
Posts: 79
Karma: 292
Join Date: Jan 2009
Device: none
Quote:
Originally Posted by etherspin View Post
is there a certain kind of news source / blog this is not suitable for ?
If anyone was up for the task (consider that a request !) it would be great to see treehugger or ecogeek as a news source
BUMP did anyone see my questions ? sorry to be lame but it seemed to go unnoticed
etherspin is offline  
Old 03-09-2009, 10:08 AM   #337
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
EcoGeek recipe

don't have time for the other.
Attached Files
File Type: zip ecogeek.zip (590 Bytes, 285 views)
kiklop74 is offline  
Old 03-09-2009, 11:32 AM   #338
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,398
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DougBarry View Post
For the New York Times, I've noticed that the content for the Opinion category is now showing "Article not found." Can this be repaired?
will be fixed in next release
kovidgoyal is offline  
Old 03-09-2009, 04:16 PM   #339
etherspin
Connoisseur
etherspin has a complete set of Star Wars action figures.etherspin has a complete set of Star Wars action figures.etherspin has a complete set of Star Wars action figures.
 
Posts: 79
Karma: 292
Join Date: Jan 2009
Device: none
Quote:
Originally Posted by kiklop74 View Post
EcoGeek recipe

don't have time for the other.
they are great sites but similar, thanks, Ill be back soon to ask about what books are recommended to learn the technique to add news sources, its been a few years since any scripting or programming for me , i very grateful for ecogeek!!!!

downloading new calibre now!
etherspin is offline  
Old 03-10-2009, 01:25 AM   #340
starrigger
Jeffrey A. Carver
starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.
 
starrigger's Avatar
 
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
Kovid said this was the place to post a request for subscription support for the New Scientist feed. Is this a possibility?

Thanks.
starrigger is offline  
Old 03-10-2009, 05:02 AM   #341
RufusA
Member
RufusA began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Feb 2009
Device: none
The Daily Mail (UK)

I notice there have been a few requests for the Daily Mail, so thought I'd share my recipe for it - oh the shame!

For overseas visitors, the Daily Mail is a popular tabloid paper in the UK. It has very conservative views, with a light sprinkly of paranoia and a side salad of zenophobia. It's the paper you read to find out what the man on the Clapham omnibus is thinking, but wouldn't want to be seen reading it by your peers.

The print version of the Daily Mail is a little image heavy so I'm only downloading the first 50 of each feed, and the past 2 days of articles. This still generates nearly 20MB ePub files though!

Hope it's of use to someone.

Rufus.
Attached Files
File Type: txt TheDailyMail.py.txt (1.4 KB, 285 views)
RufusA is offline  
Old 03-10-2009, 08:46 AM   #342
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 starrigger View Post
Kovid said this was the place to post a request for subscription support for the New Scientist feed. Is this a possibility?

Thanks.
If you can give me access credentials I'll take care of that.
kiklop74 is offline  
Old 03-11-2009, 09:21 AM   #343
mccande
Member
mccande began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2008
Device: PRS-505
Thanks
mccande is offline  
Old 03-13-2009, 03:09 AM   #344
gregcd
Connoisseur
gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!gregcd rocks like Gibraltar!
 
gregcd's Avatar
 
Posts: 90
Karma: 100000
Join Date: Jan 2009
Location: New Zealand
Device: prs-t1, prs-650 to sell
hi all thanks for the great recepie, is the Time magazine feed working ok at the
moment? it seems to get stuck at 100% for me, then retries after a few
minutes
gregcd is offline  
Old 03-13-2009, 06:25 AM   #345
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
The time recipe was originaly submitted by me but Kovid added some modifications to optimize download. So I guess you should open a bug report in trac.

@Kovid
You should add member encoding (utf-8) to this recipe since aparently calibre incorrectly uses ascii codec.
As far as I can see there is some issue with calibre in this case. If I use command line tools recipe get's downloaded correctly.
kiklop74 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 07:07 PM.


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