02-16-2009, 11:44 AM | #346 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2008
Device: PRS-505
|
Problem w/ EPUB on New York Times Subscription w/ 4.137
I havebeen usin Calibre for months with no issues. After updating to 4.137, I can no longe read NY Times subscription on the PRS-505. I see thetable of contents ad it shows the total number of pages but when i change to the page after the TOC, the screen goes blank.
Can yo direct m to where your previus files are so that I can go back to where I was before? |
02-16-2009, 02:19 PM | #347 | |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
Advert | |
|
02-16-2009, 05:41 PM | #348 | |
Addict
Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Quote:
The second NY Times (not subscription) works fine. |
|
02-16-2009, 09:10 PM | #349 |
Groupie
Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Hi,
found a small problem when converting from html to epub, tried first changing all marging settings and page break settings, but when viewed on my sony 505 the epub format has missing letters on the right end. Is there a way to force the text to overflow rather than be be cut if it doesn t fit on the resolution of the device? thanks |
02-16-2009, 09:54 PM | #350 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This happends when you source HTML uses non reflowable markup like <pre> tags of <table> tags. First try the --linearize-tables option in calibre
|
Advert | |
|
02-17-2009, 01:12 AM | #351 |
Groupie
Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Thanks going to give it a try once caliber finishes importing a ton of books !
|
02-17-2009, 12:25 PM | #352 |
Groupie
Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Was also wondering, when converting html to opf and then to epub is there a way to remove the header and footer of each html page without having to do it manually ?
thanks |
02-17-2009, 01:38 PM | #353 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If the headers and footers are in some sort of regular markup you can use override css to remove them, fo example if headers are always in markup of the form
<div class="header">some text</div> you can use .header { display:none } in override css |
02-17-2009, 04:04 PM | #354 |
Groupie
Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Thanks that will work perfectly! Thanks for all your help and this great soft! Would be hell working with sony s software... and they are getting payed for it... amazing!
|
02-17-2009, 04:22 PM | #355 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2009
Device: Sony PRS-505
|
I can confirm the bug reported in #346 and #348. With the attached self-developed recipe I have exactly the same problem: Page count and TOCs are OK, but following a link gives a blank page only. Reverting to 0.4.136 solved the problem for me - so there is definitely a regression in 0.4.137. My suspicion is that there is a bug in the EPUB conversion routines, not the fetching.
Here is the recipe I am using: Code:
class AdvancedUserRecipe1231145686(BasicNewsRecipe): title = u'Tagesspiegel' encoding = 'cp1252' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True remove_tags = [dict(attrs={'class':['related', 'themen_alarm', 'tso_tool', 'postings ps_swus_nowrap', 'anzeige_spacer', 'tool2', 'anzeige_top_double_border', 'ISI_IGNORE ps_rs_versteckt', 'ISI_IGNORE tso_tools', 'login_box', 'tso_small', 'aufmacher_content', 'tso_breadcrumb', 'tso_headline']}), dict(id=['footer', 'toolsRight', 'articleInline', 'navigation', 'archive', 'side_search', 'blog_sidebar', 'side_tool', 'thumblupe', 'thumbbig_var', 'linkbox_spacer', 'navbar', 'header', 'search', 'masthead', 'banner', 'sky', 'sky_move']), dict(name=['script', 'noscript', 'style', 'pinboardbtn'])] remove_tags_after = dict(id='ar_text') import re preprocess_regexps = [ (re.compile(r'float:left;', re.DOTALL|re.IGNORECASE), lambda match: ''), ] extra_css = '#ar_text {font-family:times; font-size:9pt}' cover_url = 'file:///home/peterh/eBooks/tagesspiegel.png' html2lrf_options = ['--base-font-size', '9'] feeds = [(u'Aktuelle Nachrichten aus dem Ressort Politik', u'http://www.tagesspiegel.de/rss/politik.xml'), (u'Aktuelle Nachrichten aus Berlin und Brandenburg', u'http://www.tagesspiegel.de/rss/berlin.xml'), (u'Aktuelle Nachrichten aus dem Ressort Wirtschaft', u'http://www.tagesspiegel.de/rss/wirtschaft.xml'), (u'Aktuelle Nachrichten aus dem Ressort Kultur', u'http://www.tagesspiegel.de/rss/kultur.xml'), (u'Buch-Rezensionen aus dem gedruckten Tagesspiegel', u'http://www.tagesspiegel.de/rss/literatur.xml'), (u'Aktuelle Nachrichten aus aller Welt', u'http://www.tagesspiegel.de/rss/welt.xml')] Code:
easy_install -U calibre==0.4.136 calibre_postinstall |
02-17-2009, 06:41 PM | #356 | |
Groupie
Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Quote:
thanks! |
|
02-17-2009, 07:54 PM | #357 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The roblem with the NYT (and hopefully the other feeds as well) will be fixed in the next release (basically it was caused by Adobe DE not being able to handle HTML comments with code in them. calibre now strips the comments, so it should be fine.
|
02-19-2009, 05:29 PM | #358 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2008
Device: PRS-505
|
Thanks for your help. 4.138 corrected the NY Times issue. It now works like a gem.
|
02-24-2009, 04:38 PM | #359 |
Zealot
Posts: 120
Karma: 1326
Join Date: Feb 2009
Device: none
|
A small question: is there a way to set 'collection' the book prepared with any2epub is going to end up with? After looking at the options, --subjects looks related, but looks like it's not working.
|
02-24-2009, 04:55 PM | #360 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the --tags option of the epub-meta command
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 10:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 05:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 04:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 01:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 03:23 AM |