12-27-2023, 09:39 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2023
Location: UK
Device: Kobo Libra 2
|
Can I force kepub.epub when "Connected to folder"?
I'm testing a new workflow.
I have a connected folder on Calibre which is then automatically synced over wifi to two Kobo Libra 2s using syncthing. I send the books I want to read to this folder using Calibre. I think I want these books to be kepub.epub, however if I use the kepub output format plugin the files come through as .kepub. Is there a way of renaming these files after send? Alternatively, is there a way of forcing the connected folder to be recognised as a Kobo which can then use the KoboTouchExtended plugin to convert on the fly? I'm then intending to use KOreader to read the books, and send highlights to Readwise, and sync read status using progress-sync. Am I making life too difficult, and could I do all this with the stock Kobo Reader? Thanks! |
12-27-2023, 09:55 AM | #2 |
the rook, bossing Never.
Posts: 11,428
Karma: 87454321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I could be wrong but:
1) kepub.epub = a renamed epub file you want to have rendered by Kobo's kepub renderer instead of ADE renderer. The file has no special kepub content. Kobo provided this for people with no facility to create epub, for testing, to give an idea what might happen if they published on Kobo via epub as Kobo directly delivers .kepub on sales, though .epub for download to PC (or an .acsm that is info to redeem an epub if there is DRM) 2) .kepub = a real kepub file. It's like epub2 but has a load of kobo specific HTML style spans. |
12-27-2023, 01:41 PM | #3 |
Bibliophagist
Posts: 36,242
Karma: 145735536
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not quite right. A Kobo ereader needs the .kepub.epub extension to trigger use of the Webkit based renderer. There is also the .fxl.kepub.epub extension for fixed layout epub3 ebooks however that is not really needed if the .opf file properly identifies the epub3 as prepaginated.
My workaround for when I've played with sending kepubs via Dropbox is to use kepubify and a batch file to convert the books after copying them to the folder. Perhaps the OP could use something similar. |
12-27-2023, 03:36 PM | #4 |
the rook, bossing Never.
Posts: 11,428
Karma: 87454321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Ah, the kobo kepub renderer is based on Webkit then. Maybe I read that before and forgot. People do argue about which they prefer.
There a KePub Output plugin converter also for Calibre such that you don't have to use the KoboExtended driver on-the-fly conversion. 3.6.6 Joel Goguen Or is Kepubify the same thing as a standalone version? Last edited by Quoth; 12-27-2023 at 03:44 PM. |
12-27-2023, 08:58 PM | #5 |
Bibliophagist
Posts: 36,242
Karma: 145735536
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The plugin and the standalone program give similar results but are quite different. Kepubify (created by geek1011 aka Patrick Gaskin) is quite a bit faster and easy to run from a batch file so I prefer it. The way I use Kepubify also does not require me to store .kepub files in my calibre library so a bit of space saving.
|
12-27-2023, 09:28 PM | #6 |
creator of calibre
Posts: 43,963
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If all you want is the filename to end with .kepub.epub simply change the template used for sending to device to end with .kepub then when you send epub files, the effective filename will be .kepub.epub
|
12-27-2023, 11:01 PM | #7 | |
Bibliophagist
Posts: 36,242
Karma: 145735536
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I think the OP wanted the extra spans, etc. that are part of a kepub to be added. The simple rename to kepub.epub is useful for testing by an author but screws up highlighting, note taking and some issues related to cover display.
Quote:
|
|
12-28-2023, 06:41 PM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2023
Location: UK
Device: Kobo Libra 2
|
Thanks for the replies. Actually I'm not sure now whether I should bother trying to get kepub format. Does it give me anything? I thought it would allow progress sync, but I have got that with normal epub. I also have highlighting which works fine with epub.
|
12-28-2023, 08:11 PM | #9 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2023
Location: UK
Device: Kobo Libra 2
|
Quote:
Where is the output file extension set? I had a look at conversions/kepub_output.py but that was a zero length file. |
|
12-28-2023, 08:40 PM | #10 |
Bibliophagist
Posts: 36,242
Karma: 145735536
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Unless you are planning on reading on a Kobo ereader/app that will make use of the kepub format, it simply adds extra spans that are treated as no-ops.
|
12-28-2023, 08:41 PM | #11 |
Bibliophagist
Posts: 36,242
Karma: 145735536
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
When you send the kepub to a Kobo ereader, the filename will be automatically changed from .kepub to .kepub.epub. Otherwise, you would be attempting to store two .epub files in the same library directory.
|
12-29-2023, 05:28 AM | #12 | |
the rook, bossing Never.
Posts: 11,428
Karma: 87454321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
1) The layout, spacing and hyphenation is different. 2) Footnote links might sometimes work as pop-up boxes. 3) You can zoom an image. In theory all that can be done with epub (which is what simply renaming an epub on a Kobo does, but that mysteriously breaks annotations etc). I used it at first and then switched to regular epub as I prefer it and it's closer (or the same) as other epub eink makes, azw3 on a KK3 or PW3 and converted LibreOffice Writer source (via extra docx). Only Kobo uses kepub and maybe only StandardeBooks uses it as well as Kobo (Direct WiFi only). Download to PC from Kobo shop gives epub or an acsm ticket that gives epub. It's proprietary and epub is an open standard. Some people prefer the kepub, but using kepub output plug-in conversion or kepubify is the way to do that, not a simple rename. |
|
12-29-2023, 07:49 AM | #13 |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2023
Location: UK
Device: Kobo Libra 2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Force visibility for epub:type="footnote" | metalofono | ePub | 11 | 02-28-2023 03:13 PM |
How to force old-style figures ("text figures") in conversion to kepub? | Liudprand | Conversion | 10 | 08-22-2022 10:29 AM |
Fixing "broken" EPUB/KEPUB during conversion? | spacepope | Conversion | 3 | 04-22-2022 10:51 AM |
I imported a "kepub.ebub" book into Calibre, but Calibre converted to "epub". Why? | droopy | Calibre | 5 | 12-23-2019 07:33 AM |
Directory tree in-place "author" -> "folder + author" script (where folder=category) | danjcla | Library Management | 2 | 02-01-2015 11:23 PM |