Mobileread
Touch Sideloaded EPUBs with KEPUB features
#1  jpelgrom 07-09-2012, 05:59 AM
Hello,
does anyone know how to give sideloaded EPUBs features that KEPUBs have, such as Chaptername - Page X of Y, covers without white edges and the possibility to change font and margins.
I know you can unlock some of these features by renaming a *.epub file to a *.kepub.epub file, but then it has no cover!

Most important for me is to know how to get the Chaptername - Page X of Y option, because that's actually something I really like about Kobo.
Reply 

#2  nogle 07-09-2012, 11:56 AM
Quote jpelgrom
Hello,
does anyone know how to give sideloaded EPUBs features that KEPUBs have, such as Chaptername - Page X of Y, covers without white edges and the possibility to change font and margins.
I know you can unlock some of these features by renaming a *.epub file to a *.kepub.epub file, but then it has no cover!
If you can't change fonts margins etc. in an EPUB, it is because it is coded into the EPUB itself. Look for ways to edit the css embedded in the EPUB. I think most here would recommend doing and EPUB to EPUB conversion in Calibre

Quote
Most important for me is to know how to get the Chaptername - Page X of Y option, because that's actually something I really like about Kobo.
Part of the difference is that KEPUBs are not EPUBs . I think that the book is delivered as a series of files rather than one file. This is probably what allows the features you like.
Reply 

#3  jpelgrom 07-09-2012, 12:40 PM
Quote nogle
(...)
Part of the difference is that KEPUBs are not EPUBs . I think that the book is delivered as a series of files rather than one file. This is probably what allows the features you like.
In that case I think it's weird that when I load my EPUBs in the Kobo-app for Android, it has this Chaptername - Page X of Y "view".
Is it possible to convert my *.epub to a KEPUB file so I can use this view (and not by renaming *.epub to *.kepub.epub and losing my cover)?
Reply 

#4  dsandrei 07-28-2012, 12:08 PM
Don't know if you are still interested in this but if so you can take a look at my post http://dsandrei.blogspot.fr/2012/07/koboish-ebooks.html where I describe how to fix the covers and the annotations. Actually you get most of the things you described in your first post
Reply 

#5  mapline 07-28-2012, 06:40 PM
Hi dsandrei
Brilliant post seems to have solve not only page numbers but also increases speed of page turning. Thanks
Confused on adding ".kepub" at the end of the title template in calibre. Could you give example.
Many thanks
Michael
Reply 

#6  murg 07-28-2012, 07:36 PM
dsandrei, thanks for this. I was about to start experimenting.

Having cranked open a free kepub, the <span id="kobo.1.1"> looks like it should be done per sentence. The first number is the paragraph, the second number is the sentence. Of course, I don't know if the sentence granuality is necessary.
Reply 

#7  mapline 07-29-2012, 08:05 AM
Hi dsandrei still testing but another request?
You stated "that's to much work for me so I just modified kiwidude's Modify Epub plugin for calibre to do this for me."
Is is possible to have a copy of the calibre plugin?
Many thanks Michael
Reply 

#8  taming 07-29-2012, 12:48 PM
Quote nogle
Part of the difference is that KEPUBs are not EPUBs . I think that the book is delivered as a series of files rather than one file. This is probably what allows the features you like.
Actually, Kepubs are Kobo Epubs. They are not Adobe Epubs. Epub is a standard and Kepubs are fully compliant. The "wrapper" determines particulars regarding how the files behave and display. The DRM is different, as well.

When you adjust the book files now, keep in mind that you may need or wish to return them to their original form later on.
Reply 

#9  dsandrei 07-30-2012, 12:00 AM
I agree with taming, keeping the original files is always a good idea. The format may change in the future. I did have to revert a book because I processed it twice . I also can't say about DRM. It may be different, I didn't look into that as there is a reason for it. I was just interested in having my own documents displayed properly and I like the was kepubs are handled by the device.

@murg: I wondered about the second number. It does seem to be a subsequence but I didn't analyze it and doesn't seem needed to get annotations working so I left it at that.

@mapline: The faster page turns are probably due to the rendering engine used for this format. For the naming when uploading with calibre you can take a look at
http://manual.calibre-ebook.com/gui.html#send-to-device and http://manual.calibre-ebook.com/template_lang.html. The default in calibre is "{author_sort}/{title} - {authors}". You just have to change it to "{author_sort}/{title} - {authors}.kepub". But keep in mind that this will be applied to all documents you upload to your device.
The original Modify epub plugin can be found here http://www.mobileread.com/forums/sho...d.php?t=154371 . I only added a function and a menu entry to be able to add the extra tags to a book. The main problem was that I also had to include the latest version of BeautifulSoup as the one packed in calibre is an older version and didn't have all the functions I needed. From what I've seen the plugin uses lxml instead of BeautifulSoup but I only had a couple of hours to figure out how to add those tagsand BeautifulSoup seemed the easier option. I suggest you ask on the Modify epub thread if someone could include this function and rewrite it using lxml as the you may want to update the plugin in the future and the logic involved is actually very simple.
Reply 

#10  taming 07-30-2012, 01:05 AM
I would be very, very surprised if the differences between kepub and epub last for long. I'm not talking about page numbers, but rather the things that simply didn't make it into 2.0 for epubs.
Reply 

  Next »  Last »  (1/3)
Today's Posts | Search this Thread | Login | Register