1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 10:37:23 +00:00

Merge remote-tracking branch 'identifier/master' into Develop

This commit is contained in:
Ozzie Isaacs 2024-02-10 10:31:57 +01:00
commit 64e5314148

View File

@ -77,6 +77,10 @@ def create_new_metadata_backup(book, custom_columns, export_language, translate
identifier2 = etree.SubElement(metadata, PURL + "identifier", id="uuid_id", nsmap=NSMAP)
identifier2.set(OPF + "scheme", "uuid")
identifier2.text = book.uuid
for i in book.identifiers:
identifier = etree.SubElement(metadata, PURL + "identifier", nsmap=NSMAP)
identifier.set(OPF + "scheme", i.format_type())
identifier.text = str(i.val)
title = etree.SubElement(metadata, PURL + "title", nsmap=NSMAP)
title.text = book.title
for author in book.authors: