Added
- Change a book's cover (issue #61).
meta set --cover new.jpgmakes a
JPEG or PNG (up to 10 MB) the cover;meta enrichshows Open Library's
cover next to the book's own, with both sizes, and--coveruses it;
meta showprints the cover. The image goes in as given. Every page that
shows the old cover follows, including Calibre's SVG cover pages, which
take the new size; a book with no cover gets one, with a cover page first in
the reading order. Nothing is written if the result would have more errors.
On 544 books every cover was set and none came out with more errors. See
docs/metadata.md§ Cover.
Fixed
- Editing an EPUB 2 book's metadata no longer makes it invalid. The writer
put EPUB 3 markup (refines,propertymetas,dcterms:modified) into
EPUB 2 packages: re-writing just the title added RSC-005 errors to 457 of
457 EPUB 2 books on our shelf (2,285 in all). EPUB 2 is now written in
EPUB 2's own syntax (opf:role,opf:file-as,opf:scheme="ISBN",
Calibre's series metas). An EPUB 2 book has no subtitle field, so
--subtitleon one is refused with a message instead of written, and
meta enrichno longer proposes one. - Setting a field to the value it already has changes nothing. Before, it
dropped everydc:languagebut the first, and added a second copy of an
ISBN the book already carried. - An author who stays keeps their role and sort name (
file-as); a
translator listed as a creator was turned into an author. - Metadata edits work on Calibre 0.7-era books that write the OPF namespace
asns0:(6 books on our shelf failed with "unknown namespace prefix"). - A series position may be a range (
--series "Dune:1-6"); it was read as
part of the name. - Catalogue text is cleaned. HTML entities are decoded (
Computers & the internetwas written as is) and duplicate subjects are dropped,
including broken copies (Einfu hrungnext toEinführung).
Measured on 544 books: setting every field to its own value changes no field
on any book, a real edit (title, authors, publisher, series, ISBN) adds no
error to any book, and every author keeps role and sort name.
Changed
meta enrichno longer writes subjects unless--include-subjectsis
given; it lists them. Open Library merges many libraries' subject headings
in their own languages with no language tag, so an English book got German
and Dutch subjects.epublift checkruns epubveri 0.24.0 andepublift repairruns epubsana
0.25.0. epubveri checks SVG attributes per element and their keyword values
as epubcheck 5.4.0 does (EPUB 2: RSC-005 errors; EPUB 3: RSC-025 usage
only), and no longer flags a padded keyword (fill-rule=" evenodd") or
paint-order,transform-box,transform-originat EPUB 3. epubsana reads
ids and links as epubcheck does (whitespace trimmed,%-escapes resolved,
NFC/NFD names match). Measured on 544 books, cli-v3.2.0 vs this release: the
same findings, statuses and exit codes on every book, and every repaired file
is byte-identical.
Full Changelog: cli-v3.2.0...cli-v3.3.0