ebooklib icon indicating copy to clipboard operation
ebooklib copied to clipboard

Calibre meta tags in epub

Open bobbyrward opened this issue 5 months ago • 0 comments

Calibre handles metadata like "series' as meta tags with a name of calibre:series.

Because of the code here, these meta tags get converted into namespaced tags like <calibre:series> assuming the calibre namespace was already in the namespace map.

So if you load an epub that calibre has added these meta tags to and then save the epub, the meta tags are converted.

For an example a tag like this:

<meta name="calibre:series" content="My Series" />

Gets converted to this on save:

 <ns2:series xmlns:ns2="calibre" name="calibre:series" content="My Series"/>

bobbyrward avatar Sep 14 '24 08:09 bobbyrward