View Single Post
Old 08-02-2023, 03:10 PM   #1
PiperKev
Connoisseur
PiperKev began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
Calibre combines subtitle with title when adding books

Whenever I import books from Standard Ebooks, whenever the book has a subtitle, calibre combines it with the title. For example, "Twenty Years Before the Mast" by Richard Henry Dana Jr. (https://standardebooks.org/ebooks/ri...efore-the-mast) has a subtitle of "A Personal Narrative of Life At Sea". Here's the relevant entry from the book's metadata before importing into calibre:

<dc:title id="title">Two Years Before the Mast</dc:title>
<meta property="file-as" refines="#title">Two Years Before the Mast</meta>
<meta property="title-type" refines="#title">main</meta>
<dc:title id="subtitle">A Personal Narrative of Life at Sea</dc:title>
<meta property="file-as" refines="#subtitle">Personal Narrative of Life at Sea, A</meta>
<meta property="title-type" refines="#subtitle">subtitle</meta>
<dc:title id="fulltitle">Two Years Before the Mast: A Personal Narrative of Life at Sea</dc:title>
<meta property="file-as" refines="#fulltitle">Two Years Before the Mast: A Personal Narrative of Life at Sea</meta>
<meta property="title-type" refines="#fulltitle">extended</meta>

After I import the book into calibre and unpack it, this is the title from metadata.opf:

<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlnspf="http://www.idpf.org/2007/opf">
<dc:title>Two Years Before the Mast: A Personal Narrative of Life at Sea</dc:title>

calibre apparently uses the #fulltitle from the metadata instead of #title when importing. Is there any way to tweak calibre to ignore #fulltitle?

Last edited by PiperKev; 08-02-2023 at 06:38 PM. Reason: Clarification of issue
PiperKev is offline   Reply With Quote