Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibre meta tags in epub #322

Open
bobbyrward opened this issue Sep 14, 2024 · 0 comments
Open

Calibre meta tags in epub #322

bobbyrward opened this issue Sep 14, 2024 · 0 comments

Comments

@bobbyrward
Copy link

bobbyrward commented Sep 14, 2024

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"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant