![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
epub-metadata-generator
Advanced tools
Generates a metadata.xml
file for an EPUB from various online sources, given a few identifiers.
Currently supports the following providers:
Provider | Input |
---|---|
OpenLibrary | ISBN |
You can install it from NPM
npm i -g epub-metadata-generator
You can use the provided command-line-executable:
generate-epub-xml 9780596101190 /tmp/9780596101190.xml
cat /tmp/9780596101190.xml
<?xml version="1.0"?>
<metadata>
<dc:identifier opf:scheme="ISBN-13">9780596101190</dc:identifier>
<dc:identifier opf:scheme="ISBN-10">0596101198</dc:identifier>
<dc:creator opf:role="aut">Dan Woods</dc:creator>
<dc:creator opf:role="aut">Gautam Guliani</dc:creator>
<dc:title id="title">Open Source for the Enterprise</dc:title>
<dc:title id="subtitle">Managing Risks, Reaping Rewards</dc:title>
<meta refines="#subtitle" property="title-type">subtitle</meta>
<dc:language>eng</dc:language>
<dc:publisher>O'Reilly Media, Inc.</dc:publisher>
</metadata>
You can use this file in pandoc
directly:
pandoc input.html --epub-metadata=/tmp/9780596101190.xml file.epub
Alternatively, you can use the NPM package programatically as well:
const E = require('epub-metadata-generator')
E.write(filepath, ISBN);
Licensed under the MIT License. See LICENSE file for details.
Some of the code in openlibrary.js
is based on the node-isbn-catalogue package, which was based on palmerabollo/node-isbn. Both are under AGPL.
FAQs
Generates EPUB metadata files from various sources
We found that epub-metadata-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.