X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d183a3c15dee46ea00ac15c77e72903adfce8d1a..36ded31bc121ec258d35bd209d9da93224f773aa:/librarian/epub.py?ds=inline diff --git a/librarian/epub.py b/librarian/epub.py index 469ff40..bbeb3d7 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -368,6 +368,10 @@ def transform(wldoc, verbose=False, for flag in flags: document.edoc.getroot().set(flag, 'yes') + # add editors info + document.edoc.getroot().set('editors', u', '.join(sorted( + editor.readable() for editor in document.editors()))) + opf = xslt(document.book_info.to_etree(), get_resource('epub/xsltContent.xsl')) manifest = opf.find('.//' + OPFNS('manifest')) guide = opf.find('.//' + OPFNS('guide'))