03-11-2013, 10:04 AM | #151 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Yesterday I got an epub and converted it to a kepub.epub. The device did not remember the last opened page and opened the book always with the first page. When I navigated via the TOC menu, annotations and highligths did not show and it was not possible to insert new ones.
This was caused by the url-encoding of the filenames in the toc.ntx. The filenames followed the pattern "CR!Ssomething_split_000.html", whearas the references in the toc.ntx followed the pattern CR%21S_split_000.html". After changing "%21" to "!" everything went fine. |
03-11-2013, 11:32 AM | #152 | |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
|
|
Advert | |
|
03-11-2013, 11:37 AM | #153 | |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
|
|
03-11-2013, 12:01 PM | #154 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
It is not a bug of the plug-in! I should have clarified that I did not use your plug-in. I just wanted to share that the kepub rendering engine does not like this kind of url-encoding. I did not test it, but this encoding might probably create the same problems with a normal epub.
|
03-11-2013, 12:31 PM | #155 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Oh, sorry about that
Looks like something I should make sure the plugin handles... since I'm in there editing stuff anyway. |
Advert | |
|
03-11-2013, 12:39 PM | #156 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Should it not first be established whether the kobo.js has any effect on reading the book on a Touch/Glo/Mini? Did anybody see a epub.kepub that did not work in any way, added then the js and can confirm that something improved? |
|
03-11-2013, 01:06 PM | #157 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
I had a report on Github that it does work. If anyone wants to confirm this or demonstrate that this actually doesn't work, it would be good to have more than one person's report.
|
03-11-2013, 01:14 PM | #158 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
03-11-2013, 02:51 PM | #159 | |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
BobC |
|
03-11-2013, 05:07 PM | #160 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Now that is interesting, I wonder if they pack different files for the different apps. The file that I was given (and since discarded) was simply named "kobo.js". Does anyone have a kepub downloaded by the Kobo Desktop app to their reader that can check?
|
03-11-2013, 05:54 PM | #161 | |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
HTH BobC Last edited by BobC; 03-11-2013 at 05:58 PM. |
|
03-11-2013, 06:38 PM | #162 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
The few kepubs that I have are all downloaded via the Desktop Application. The all contain kobo.js. They date from January 2012. The function turnOnNightMode seems to make no sense for the Touch. Functions like goBack(), goForward() seem to be so basic that it is hard to imagine how the reading engine (provided that it is depending on these js functions) can handle those things if the kobo.js is not included, and it certainly does.
Note: I cannot see any copyright notice concerning these js-files. Last edited by tshering; 03-11-2013 at 06:44 PM. |
03-11-2013, 07:25 PM | #163 |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
FWIW I have now done a diff on a kobo-android.js and a kobo.js extracted from different books. The files are identical. Both 5,506 bytes.
Looks like it's just a naming issue. It might be an interesting exercise to cobble up a kepub with some Javascript in it to see if the Touch/Glo's rendering engine actually can execute Javascript. BobC |
03-11-2013, 07:26 PM | #164 |
Generally Awesome Person
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Under Canadian copyright law, so far as I understand it, as a party to the Berne Convention no copyright notice is needed as required by the "copyright must be automatic" clause. I'm not a lawyer, that's my interpretation, but if I'm right that would mean that very similar restrictions are in place for all other Berne Convention signatories, which is a respectable portion of the world. As far as I'm aware, again my own interpretations, the default copyright applied if not otherwise declared is "All Rights Reserved", which prohibits redistribution.
|
03-12-2013, 05:08 AM | #165 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
Tags |
epub, kepub, kobo |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Downloading kepub to ADE | scr212 | Kobo Reader | 14 | 10-14-2012 02:37 PM |
KePub Toolbox | Thasaidon | Kobo Reader | 1 | 08-08-2012 07:49 AM |
What will happen/I gain if I forced an ePub book to a KePub book? | andsoitgoes | Kobo Reader | 4 | 04-04-2012 04:33 PM |
Touch Any hack/work-around to sync bookmarks of non Kobo ePub (kepub) | andsoitgoes | Kobo Reader | 3 | 04-03-2012 03:56 PM |
Kobo Adobe Epub is a Kepub instead | rashkae | Kobo Reader | 61 | 01-13-2012 06:15 AM |