-
Notifications
You must be signed in to change notification settings - Fork 165
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
EPUB Metadata Support #104
Comments
Hi @captn3m0, thanks for the report! (And sorry for the late reply, I was away from the computer last week). There is a similar open issue for PDFs, and while for PDF we'd prefer some first-class support from Puppeteer/Chromium, in EPUBs we can potentially embed any metadata. So I guess it's a matter of deciding what metadata we allow and what the command-line options look like, keeping the following in mind:
|
Applying everywhere sounds like the better deal, since these are likely common things. For non-common items (such as title), Applying nowhere will result in the same problem - no way to add metadata. Or as a third alternative, mark
I like the |
* Use the Buffer returned by Puppeteer's pdf() method directly in PDFDocument * Add author to EPUB and cover image * Add --author to README
Closing this for now. It seems unlikely that |
Feature description
A flag to pass additional EPUB metadata, such as what is supported by pandoc's
--metadata
flag. This would let us provide details like additional authors/translators/illustrators/publisher/ISBN etc to the generated EPUB file.Existing workarounds
With some additional tooling - yes.
I generate metadata using epub-metadata-generator, then open the file in Sigil and copy/paste the additional details.
Maybe a
--isbn
flag that would fetch the metadata using the npm package?The text was updated successfully, but these errors were encountered: