![]() |
#1 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
![]()
Hello everyone,
Is there any way to generate separate shelves for different file formats? Say I've got Book A as an original_epub and I converted it using Calibre to epub. Book 'A' is placed in a shelve called 'B'. When sending the book to the device, I'd like to have both versions in two different shelves called ePub and original_ePub. Is this possible and if it is, can I automate this? Why all this madness? I was stuck one too many times with the broken original ePub I pulled off my favourite fan-fiction site and unable to fix it right away by running it through the conversion in calibre and retransferring it to my device. Yes, I know that there is a fan-fiction download plugin - no this does not help my problem. Gods of Calibre, please enlighten me for I am hopeless. -FencepostErr1r |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No device will read files of type ".original_epub"
![]() |
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
This is only how Calibre displays the originally added version of the ePub, it still carries the extension ".ePub".
To clarify I'll append a screenshot of what I was referring to. ![]() -FencepostErr1r /edit: And now it hit me to look up the containing folder. Damn, but this shouldn't be a problem? We'd just have Calibre change the extension back for the transfer... Last edited by FencepostErr1r; 08-18-2014 at 01:58 AM. |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
calibre has no facility for changing the extension on the books it sends. You can, however, copy the files manually, or create a new book record for them.
Or write a custom plugin ![]() |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,637
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@FencepostErr1r - Maybe you could store the 'original' epubs in a separate physical library (as epubs) and export them from there to a separate shelf on your Glo.
But if its 'broken' then I assume it would it would not work on your Glo, so why would you... BR |
![]() |
![]() |
![]() |
#6 |
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
|
I can't think of an automated way to do this, but I can think of some things to help.
Firstly, as the others have said, calibre has no way to send the ORIGINAL_EPUB version of a book to a device. And the Kobo has no way of processing it without the extension being renamed. What it sounds like you are doing is getting a new epub from somewhere and sending it to the Kobo. Then, when you read it, you realise there are problems. You fix those in calibre and resend the book. That replaces the original version with the new version. But, you want to have both on the device, just in case. If that is right, what I can think of is some tricks with some Reading Lists and the send to template. So:
That is the nearest thing to what I think you want is. But, it won't work. When I got to the last line, I realised that while the two different versions of the book will both be on the device, the driver will put both of them on the same shelf. When you send the fixed version, both will be put onto the "Fixed" shelf and there will be no way to differentiate them. The only thing I can think of to do is to either use a plugboard to put the contents of #fix_state into the title of the book as well as the save template. When it is sent, the new version will have the state in the title and the file name. Then you will be able to find it. After writing all this, I hope I have misunderstood what you want to do. I can't think of a reason to keep the old version of the book on the device. If I find a problem in a book I am reading, I annotate the problem and fix it when I get back to the PC. Then I simply send them to the device in place of the version that is there and continue reading from where I was up to. And mark any other errors I find. I do keep the original version around, but it is on the PC where I can recover it if I need to. |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
Hi,
Davidfor, you might just have solved my problem! I could make do without a special shelve for original/fixed books, if I can differentiate them in my usual shelves. I'm off to work now, but this looks promising. -FencepostErr1r |
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
Quote:
I'd really like just to be able to switch to a pre-fixed version that is already on the device when necessary. -FencepostErr1r |
|
![]() |
![]() |
![]() |
#9 | |
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:
Or do I have it backwards. You want to read the fixed version and revert to the unfixed if you find problems you didn't fix? Part of my confusion is that I'm not sure what you mean by "pre-fixed version". Is that "pre" as in "before the fix" or "pre" as in "one I prepared earlier". In either case, I'm not sure of the point. I edit just about any epub I get to clean up the code and make them look good on the device. I even have a calibre plugin to automate this for books from a couple of sources. The only reason I put the unedited version on my devices is for the curiosity of seeing how they look with the original code. Unless I have completely screwed up the changes, the version that gets to the device is always better than the original. Reverting back to the original version wouldn't help me. But, if that's what you want to do, I think the easiest way to do it is to treat the original and fixed versions as two books. Add the original book to calibre, change the title or author to include something to say it is the unedited version. Then add the book again and edit it. Then you can send both versions to the device and they will be treated as different books. Then you can swap between them with no problems. |
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
instances: Stephen King:Wizard & Glass - which had some very convoluted chapter headers code other books ( I forget which ones) where chapter was used as a style class name, thus confusing calibre on its default conversion settings. One side effect of that glitch can be that chapters get split into 2 files, one with just the header, one with everything else. |
|
![]() |
![]() |
![]() |
#11 | |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
Quote:
Where should I put up a bounty for a plugin that provides this functionality? I'll flesh out the requirements there. Thanks for your hints though! -FencepostErr1r |
|
![]() |
![]() |
![]() |
#12 | |
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
|
Really? Why fix them if you don't actually read the fixed version?
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
Quote:
I should've described the kind of problem that happened to me before asking for a belt and suspenders solution. The affected ePubs can not be recognised immediately, because they render just fine. The flaw they have usually shows up at the end of the first chapter. Something about how the chapter-breaks are set up makes whole sections and sometimes most of the remaining chapters disappear. This is frustrating as hell - you get sucked into a story and with the next page turn you find that you suddenly skipped forty pages. Those ePubs are displayed just fine in Calibre. I like my Glo, I can't go use a Kindle again because I need backlighting. I found that performing a ePub conversion in Calibre fixes this. I'm a bit apprehensive of just carpet-bombing my library with ePub conversions, because that could lead to other problems. I'll link this thread in the plugin forum, thanks! -FencepostErr1r |
|
![]() |
![]() |
![]() |
#14 | |
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:
As to loading both versions on the Glo, I don't have a better solution than what I suggested. |
|
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2013
Device: Kobo Glo
|
Hello davidfor,
Thank you for pointing me in the right direction! It has something to do with the usage of the italic tag in conjunction with the paragraph tag. It seems that once the Glo's parser hits this error it skips the rest of the chapter. I have crafted a demo of this bug. Please see the attached ePub. Is there any way to automate the fix needed for this? Thanks, -FencepostErr1r |
![]() |
![]() |
![]() |
Tags |
conversion, formats, glo, shelves |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with empty shelves on Kobo Glo | xirederf | Library Management | 3 | 10-30-2013 10:48 AM |
Getting Shelves in Calibre to show up on my Glo | Uschiekid | Kobo Reader | 3 | 04-29-2013 01:04 PM |
Kobo Glo Shelves / Folders | downunda | Kobo Reader | 13 | 03-22-2013 08:08 PM |
Shelves on kobo glo | Shardancalibre | Kobo Reader | 5 | 02-04-2013 12:22 PM |
Sideloaded Duplicate Shelves on the Glo, and a simple solution... | TechniSol | Kobo Reader | 8 | 01-15-2013 01:41 AM |