|
|
#1 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2026
Device: PB Verse Pro
|
[Patches] Extra EPUB Metadata
I have created some user-patches for KOReader, after being annoyed by some limitations of KOReader. Each patch is compatible with SimpleUI and configurable in the patch file.
Download (and source code) here. 2-lang-quotes.lua User-configurable automatic <q>-tag localization (including nested) based on epub's embedded language tag. Includes configurable fallback-style (default en-US). Matched case-insensitively, more specific keys win (en-GB > en). Examples in the git. 2-epub-extra-metadata.lua Extracts more metadata from epubs, and writes it to a custom file in the sidecar. Currently only extracts (because I only need/want) the following: title-type subtitle, and contributors-type translator and illustrator. Doesn't add to anything else, without any of the next patches. Only extracts from books without sidecar, and because it reads all metadata on opening a folder (otherwise, you'd have to open the book first before it'd extract), the first time it can be SLOW. 2-ui-display-title-with-subtitle.lua Patches native and SimpleUI views to use a display title (Full Title) combining the title with the previously extracted subtitle in the sidecar. Toggles in the patch to enable/disable (everything enabled by default) injection. Option in Status Bar config to add Full Title to the status bar. 2-ui-authors-with-roles.lua Does two things, each togglable in the patch: Comma-separated authors: Authors are separated by a comma, instead of a newline. Only newlines when overflow is required for word-wrapping. Add contributors: Adds contributors previously extracted, with a suffix, to the author display. Boolean each for Translator and Illustrator. Screenshots in the Git. Patches were largely generated by Grok, as other LLMs failed me, with some manual edits. Each patch I have tested and confirmed to do exactly what I wanted to do on my Pocketbook Verse Pro. Do whatever you want with them .
|
|
|
|
![]() |
| Tags |
| epub, koreader, metadata, patch |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lithium EPUB Reader (Android) App Patches | geek1011 | Android Devices | 27 | 09-07-2026 03:49 PM |
| Help with extra metadata columns from metadata download plugin | plazma | Development | 1 | 12-20-2021 04:43 PM |
| Possible to read extra metadata from ePub? | erketre | Calibre | 1 | 08-03-2019 10:45 PM |
| Extra id in id line of opf after use of epub metadata editor program | mrmikel | Editor | 3 | 02-22-2014 07:53 AM |
| Extra metadata import from ODT | olig | Development | 50 | 08-02-2012 03:14 AM |