![]() |
#16 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There are a few problems. The first problem is that obok will not list DRM free kepub. So you have to try to find them in the mess that is Kobo kepub. Then there is the fact thatt he formatting is changed from the original ePub. It's different when it's a kepub and it's again different after you use Modify ePub to remove the kepub crud. I've tested this in both ADE and Calibre's viewer. Kepub modifies things too much and we don't get back to what the ePub should be. So you get an ePub that's not right when all is done without having to modify the code to try to fi what the kepub process screwed up. Last edited by pdurrant; 10-28-2014 at 05:10 AM. |
|
![]() |
![]() |
![]() |
#17 |
Treachery of images ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 93720365
Join Date: May 2012
Location: Australia
Device: Sony 650, Kobo Glo, H2O, Aura One, Forma, Libra 2, Libra Colour
|
The next version of [deleted] for Calibre will include outputting the DRM free kepubs, and I'm guessing that along the way there will be updates to other plugins to sort out some of the stuff that you refer to.
But hey, I'm not too fazed as it stands. Last edited by pdurrant; 10-28-2014 at 05:10 AM. |
![]() |
![]() |
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
No, a new version of [deleted] won't fix the formatting. Neither will Modify ePub. The formatting was messed with when the ePub was converted to kepub.
Last edited by pdurrant; 10-28-2014 at 05:09 AM. |
![]() |
![]() |
![]() |
#19 |
Treachery of images ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 93720365
Join Date: May 2012
Location: Australia
Device: Sony 650, Kobo Glo, H2O, Aura One, Forma, Libra 2, Libra Colour
|
Nope I didn't mention [a drm-removal plugin] would fix the formatting.
I've noticed stuff gets sorted out, sooner or later, by some very active people and I thank them for their efforts. ![]() Last edited by pdurrant; 10-28-2014 at 05:02 AM. |
![]() |
![]() |
![]() |
#20 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
In some cases the pulisher's original might be say a Word document, and both the kepub and epub get created directly from the Word document. In other cases the kepub might get created from the Word document, but the publisher supplies a seperate epub that was created via a different process (such as a Calibre conversion of a mobi that was created from the original Word document, in which case the kepub version might be closer to the publisher's original than the epub is). |
|
![]() |
![]() |
![]() |
#21 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
There are too many unpredicable factors for a reliable and automatic conversion. As every publisher (group) has their own methods/ways/implementations, etc. Too exepensive and unreliable outcome. Therefore, books are always derived from the 'original' epub/mobi provided by the publisher. It usually goes like this: Publisher grants Kobo access to or provide Kobo with a source epub ('the originial', no DRM scheme) which Kobo converts to (1) its propritary kepub format, and/or (2) creates a epub with a Adobe DRM (ADEPT) scheme. Both created book formats (versions) are stored on Kobo servers and directly served by Kobo to itscustomers. Smaller ebook sellers usually don't store books on their own servers but use a distribution platform (middle man, in the Netherlands/Belgium: CB) to deliver the ebooks to their customers. Publishers deliver a 'final epub' (including a DRM scheme, like Adobe DRM [ADEPT] or watermark) to CB. Offcourse publishers can also choose not to add DRM. Quote:
Source (Dutch): Nieuwe eBoekafnemers: Bruna.nl en Yindo Kobo works the same way. Here is Kobo an 'external bookstore' (like Amazon, Apple) and where CB is the 'internal' or default bookstore. Last edited by Anak; 09-30-2014 at 09:12 AM. |
||
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
The kepub version has a different cover and different copyright page compared to the epub (the copyright pages have different cover artist credits), there are probably other differences but those are the easiest ones to spot, I only read the kepub version. |
|
![]() |
![]() |
![]() |
#24 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
That's the UK/CA editon (9780141967479), the US editon (9781101603031) may have a different cover. Apparently, Kobo sells the UK/CA editon.
Penguin US: http://www.penguin.com/book/the-look.../9781101603031 Press the buy button to buy at the Kobo store. The book can't be found. "Sorry! Your search for "9781101603031" did not return any results." Penguin UK/CA: http://www.penguin.co.uk/nf/Book/Boo...967479,00.html http://penguinrandomhouse.ca/books/9...#9780143182979 |
![]() |
![]() |
![]() |
#25 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Right, I have the UK edition, both kepub and epub are UK editions, but they have different covers and different cover credits. (Both covers are different to the US edition).
|
![]() |
![]() |
![]() |
#26 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
In The Netherlands some ebooks are sold under different ISBN numbers with the same or a different cover. Chris Ryan - Killzone (different cover/isbn) http://www.bol.com/nl/p/killzone/1001004011760293/ (Oktober 2011) http://www.bol.com/nl/p/killzone/1001004011339094/ (November 2011) Michael Connelly - De herziening (same cover but a different ISBN) http://www.bol.com/nl/p/de-herziening/1001004011437713/ (June 2011) http://www.bol.com/nl/p/de-herziening/1001004011295809 (February 2012) Out of print/not available for purchase anymore, but still available for download if that edition is in your online library/account. It is only very confusing. Last edited by Anak; 09-30-2014 at 11:20 AM. Reason: - |
|
![]() |
![]() |
![]() |
#27 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
*** Warning *** Tedious technical details ahead. Skip if you're not interested.
There has been a lot of emotional ranting about kepub vs. epub styling in the last few days, so I spent some time today poking around the innards of a Kobo-bought DRM'd kepub from my Kobo Desktop library and compared:
The only difference I could see was that [1] had encrypted html and image files and [2] didn't. The css, toc.ncx and opf files were identical. So I don't think de-DRMing introduced any styling changes. [2] vs. [3]: Anak (post #11) has already posted a summary of Kobo-specific kepub stuff found in [2]. I found that Modify Epub removed almost all of that. I could not see how the small remnant would adversely affect the styling of 99.999% of epubs. Once again, the css, toc.ncx and opf files were identical. In detail (and reiterating Anak's post), [2] contains the following in every html file. The red/blue/purple stuff is the kepub-specific code. Modify Epub removes the red/purple bits leaving the blue bits as harmless (99.999% of the time) remnants. Code:
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>The Feud</title> <link rel="stylesheet" type="text/css" href="../styles/styles.css"></link> <link rel="stylesheet" type="text/css" href="../styles/additional.css"></link> <!-- kobo-style --> <link type="text/css" rel="stylesheet" href="css/kobo.css"></link> <script type="text/javascript" src="js/kobo.js"></script> <style type="text/css" id="kobostylehacks"> div#book-inner p, div#book-inner div { font-size: 1.0em; } a { color: black; } a:link, a:visited, a:hover, a:active { color: blue; } div#book-inner * { margin-top: 0 !important; margin-bottom: 0 !important;} </style> </head> <body> <div id="book-columns"> <div id="book-inner"> <h2 class="chapter-number" xmlns="http://www.w3.org/1999/xhtml"><a id="page_4"></a> <span class="koboSpan" id="kobo.1.1">ONE</span></h2> ... the rest of the original epub content ... ... </div> </div> </html> css/kobo.css (empty, anyway) js/kobo.js rights.xml In conclusion (based on a totally unscientific sample of one): I believe that [3] can be considered a 'standard epub'. Its original css files are unchanged - thus its styling matches the publisher's original intentions (warts-and-all). If you want to disagree with any of this then feel free, but please, lets have less heat and more light if we're all going to learn anything. I don't have an epub3 book (real or pseudo) to test, so any further enlightenment welcome ![]() Caveats: If one were to open both [2] and [3] in the calibre Viewer or an Adobe epub2 renderer then, YES, there will be big differences. For anyone familiar with css the reason should be obvious in the purple css line shown above.
[3] can be treated like any standard epub2 book. If you got this far, congrats and thank you for your time ![]() Last edited by pdurrant; 10-28-2014 at 05:02 AM. |
![]() |
![]() |
![]() |
#29 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
jackie_, thank you for your technical analysis. I've dived into a fixed kepub and found that Modify ePub left something in the XML that should have been removed.
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Wild Cards I</title> <link rel="stylesheet" type="text/css" href="../styles/stylesheet.css"/> <style id="kobostylehacks" type="text/css">div#book-inner p, div#book-inner div { font-size: 1.0em; } a { color: black; } a:link, a:visited, a:hover, a:active { color: blue; } div#book-inner * { margin-top: 0 !important; margin-bottom: 0 !important;} </style><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> There is one other difference, if the original ePub containes the file page-template.xpgt, that does get stripped. Last edited by JSWolf; 09-30-2014 at 10:04 PM. |
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
My kepub doesn't have an xpgt file so I can't test that. Are you sure that you didn't also have 'Remove Adobe .xpgt files and links' option checked in ME? For my experiment with the 'Strip Kobo DRM remnants' option I made sure that it was the only item checked. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to import kepub to calibre/convert a kepub to other formats? | Major General | Library Management | 9 | 04-08-2014 10:00 PM |
kepub images | tharael89 | Conversion | 10 | 08-14-2013 05:28 AM |
To KePub or not to KePub | jgoguen | Plugins | 11 | 07-04-2013 07:13 AM |
KT kepub structure | ichrispa | Kobo Reader | 14 | 01-12-2013 08:08 AM |
KePub Toolbox | Thasaidon | Kobo Reader | 1 | 08-08-2012 07:49 AM |