Quote:
Originally Posted by JSWolf
The file you get using Obok is KePub and on a Kobo, KePub and ePub do not always read the same. That's why you should try both and decide which you prefer.
|
Given that an ebook imported into calibre using OBOK only has the .epub extension, it's going to be hard to see any differences. BTW, ModifyEpub will removed the extra spans.
Perhaps you should make it clear that on a Kobo, there are two renderers, one being RMSDK which is used for .epub books and one based on webkit/Readium which is used for .kepub.epub books. The webkit renderer also handles much more of the epub3 standard including being able to render fixed layout epubs. Since you are using two different renderers, expecting the books to appear identical is not a realistic expectation.
For a real test, try renaming filename.kepub.epub to filename.epub and see if RMSDK shows any noticeable differences between the two versions.
The first block is prior to running ModifyEpub, the second block is post.
Code:
<body>
<div xmlns="http://www.w3.org/1999/xhtml" id="book-columns">
<div xmlns="http://www.w3.org/1999/xhtml" id="book-inner">
<h1 id="chap6" class="center"><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.1.1">5</span></h1>
<p class="noind" style="margin-top:30px;"><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.2.1">W</span><small><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.3.1">HEN THEY RETURNED, BRASS</span></small><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.4.1"> called, “Good news! </span><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.4.2">We got who we wanted.”</span></p>
<p class="ind"><span xmlns="http://www.w3.org/1999/xhtml" class="koboSpan" id="kobo.5.1">“Crew’s coming along,” commented Calli.</span></p>
Code:
<body>
<div xmlns="http://www.w3.org/1999/xhtml" id="book-columns">
<div xmlns="http://www.w3.org/1999/xhtml" id="book-inner">
<h1 id="chap6" class="center">5</h1>
<p class="noind" style="margin-top:30px;">W<small>HEN THEY RETURNED, BRASS</small> called, “Good news! We got who we wanted.”</p>
<p class="ind">“Crew’s coming along,” commented Calli.</p>