12-15-2017, 01:24 PM | #16 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
- For reading ebooks on a computer, I use my web based epub viewer. - For unpacking and repacking books, I use my tool epubtool (on github) - For fixing adobe drm tags, I use a regex with sed - For fixing ocred words, I use some sed expressions - For fixing misnumbered NCX files, I use a simple awk script, which increments a counter every time it reaches the playorder property - For fixing bad xml IDs, I use find, xargs, and sed - I have a bunch of other things too, and I make a lot of one-time utilities and scripts as I need them for more obscure issues with ebooks. |
|
12-15-2017, 07:01 PM | #17 | |||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
As to redundant options, what exactly are you talking about? You mention the metadata plugboards and the driver options. I have to say "Huh?" The only relationship between them is that you can create a plugboard for each combination of driver and the formats the driver supports. |
|||
Advert | |
|
12-18-2017, 01:56 PM | #18 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I don't convert ePub to anything unless the code is that sloppy that I want to see what Calibre does to with the mess. I don't convert KF8 to ePub. I use the KindleUnpack to format shift the code and then the editor to clean it up. I have my ways and when I'm done, the ePub code has not been changed except by me. |
|
12-18-2017, 02:55 PM | #19 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, calibre will always add it's namespace to the opf file when importing a book. It also adds a dc:contributor for itself, a timestamp, and a few more meta properties. |
|
12-19-2017, 04:52 AM | #20 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
In the Editor, Edit > Preferences > Integration with calibre Uncheck "Update metadata embedded in the book when opening" In the Viewer, Preferences > Miscellaneous options Uncheck "Keep a copy of bookmarks/current page inside the e-book file, for easy sharing" I'm hoping this is correct. In Calibre, Preferences, Adding books > Adding actions Uncheck "Automatically convert added books to the current output format" and "When auto-converting, convert even if the format being added is the same as the output format" Next in Calibre, Preferences > Saving books to disk Uncheck "Save cover separately" and "Update metadata in saved copies" That might be all you need to to stop the ePub from being automatically being changed when you don't want it to. |
|
Advert | |
|
12-19-2017, 01:27 PM | #21 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, that still does not let me use my own directory structure. Last edited by geek1011; 12-19-2017 at 06:30 PM. Reason: For some reason, the quote appeared twice. |
|
12-19-2017, 01:54 PM | #22 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So why is not having Calibre automatically modify the eBook on import, opening with the Editor or Viewer meaning that there is not really any point to using Calibre? I use Calibre a lot since I figured out how to stop it from modifying when I don't want it to. |
|
12-19-2017, 05:58 PM | #23 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And don't say to use the Modify ePub plugin, the Embed metadata function or a conversion (yes, I know you don't) to do this. Then you are back to the situation that geek1011 is complaining about. All of these methods update the metadata in the book in exactly the same way. They will all put the things in the OPF that geek1011 doesn't like. @geek1011: I'm not a fan of how the extra metadata is written to the OPF, and every now and then I consider looking at how to block it. Adding an option to only write the DC metadata, or calibre core metadata is probably not hard. But, it just hasn't been important. I have almost zero need to look at the OPF and I know that while there is a lot of seeming cruft, it is all valid and usable if the application wants it. As to the library file structure, it's a database. I treat it that way and it doesn't bug me. I do play in it, but I do understand what is happening and knowing when the files will be updated is easy: when I change something. If I change some metadata, the OPF file will change. And the book will change if I push the change to the book. And if I change some common metadata element (rename a tag, fix an authors name) then all the OPF files for books with that element will change. Calibre updates the database and then updates the files in the background, so this can take a bit of time for a change that affects a lot of books. But if you want to put the library into a version control system, then you really have to just accept all changes. Push them once a day or each time you make bulk changes or something like that. |
|
12-19-2017, 06:29 PM | #24 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
As for VCS, I like to track changes properly. I usually store my epubs unzipped, with CI/CD setup to zip them and push them to my devices. Also, using a sqlite database in VCS gets large quite quickly. To update metadata, I prefer to do it manually in the command line. I find I have more control that way, and it is more flexible. Also, don't get me wrong: Calibre is great for most people, it's just that I kind of have the opposite ideology. I'm still grateful for the devs, as I learn quite a bit from reading the calibre source code (yes, I converted it into a book ). IMO it's the best documentation for some obsure ebook formats. Last edited by geek1011; 12-19-2017 at 06:36 PM. |
|
12-19-2017, 07:01 PM | #25 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-19-2017, 09:41 PM | #26 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Yes, Jon, that is what it sounds like you are saying you are doing. And the idea of manually editing the OPF when you don't need to is, to me, stupid. The risk of making a mistake is to high to make it worthwhile. Calibre updates this perfectly well including making sure there are no illegal character. What geek1011 is doing is very different, and to me over the top Scripting the changes or developing personal tools to do this does make sense, but I'm far to lazy not to take advantage of the large code base to make some things easy for me. I do a lot of what geek1011 does (clean the code and styles), but I have my own plugins to do some of the grunt work and am happy with the calibre editor for the rest. With a lot of saved searches. But manually maintaining the metadata in the OPF while using the editor, that's a complete waste of time. |
|
12-19-2017, 10:00 PM | #27 | |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Also, as for it being OTT, I live in the command line, so it's not anything too different than what I usually do. To me, calibre is over the top Btw, https://ux.stackexchange.com/questio...les-still-used is quite an interesting read. Last edited by geek1011; 12-19-2017 at 10:04 PM. |
|
12-20-2017, 12:24 AM | #28 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
12-20-2017, 12:42 AM | #29 |
Wizard
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I use vim and VSCode equally. But some things are better from the command line, and as for this book stuff, I use VSCode for the more complex tasks, as it is more featured than Calibre for the types of modifications I make to ebooks. Also, Calibre is a bit tricky to navigate with only the keyboard.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Set progress read of a book | fabrice91 | Kobo Reader | 3 | 01-21-2017 12:46 PM |
Show always read progress | encol | Kindle Developer's Corner | 4 | 05-04-2016 08:39 AM |
Using two custom columns to manage books I'm reading/have read/want to read. | LisaAlissa | Library Management | 3 | 07-07-2014 07:08 PM |
How do you manage your read queue with ebooks? | DuncanWatson | General Discussions | 7 | 05-14-2010 01:30 PM |
How do YOU manage read and borrowed books? | SimonSays | Reading and Management | 8 | 02-15-2010 07:17 AM |