Skip to content
Discussion options

You must be logged in to vote

Hi @paper-trees,

CrossInk takes the genre from the EPUB file itself: the first <dc:subject> in the book's content.opf (lib/Epub/Epub/parsers/ContentOpfParser.cpp, "keep the first one as the Library genre"). The random ones you see are subjects the publisher put in the file.

On the Calibre side, <dc:subject> is the Tags field. The catch is that editing metadata in Calibre only changes Calibre's database, not the EPUB. The tags only end up in the file when Calibre writes metadata into it: when it sends the book to a device, or when you use Edit metadata ▸ "Embed metadata into book files". If you copy the files straight out of the Calibre library folder you get whatever was in the original d…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@paper-trees
Comment options

@PatManky
Comment options

Answer selected by paper-trees
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants