![]() |
#1 |
Connoisseur
![]() 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" xmlns ![]() <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 |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Pretty sure that would be a feature of the Standard Ebooks plugin.
You should raise the issue in the plugin thread. BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
|
Actually, this happens when I do a straight import with the "Add books" button. I removed the Standard Ebooks plugin, restarted calibre, and added a book. No change.
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That behaviour is pretty much how calibre imports the title. Some of the titles get ridiculous when it seems the title, subtitle, series and a couple of blurbs are part of the title. I'm looking at you Amazon...
|
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Kovid will have to provide a definitive answer. Long shot to try in the meantime: BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Einstein strikes again…
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
|
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The thread owb posted was started three months ago and it raised the exact same issue and it wasn't resolved then… the thread was started by you. Hence my comment which alludes to Einstein's alleged quote: "Insanity is doing the same thing over and over and expecting different results".
A regex could strip a colon and what follows from a Title and I think you could apply it at Add time via the Action Chain plugin. I wouldn't be surprised if it didn't already exist -- have a look in ==>> Action Chains Resources BR |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, that's by design and no there's no way to change it.
|
![]() |
![]() |
![]() |
#11 | |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
|
Thanks, BR! Yeah, I probably should've bumped that thread rather than starting a new one. I guess I was hoping that Kovid would weigh in (as he did in this one), but I agree that was poor form on my part.
I'll try that Action Chain plugin! Thanks for the tip! Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
|
Thanks, Kovid. If calibre hasn't changed, and Standard Ebooks metadata hasn't changed, something I didn't consider until now is the possibility that more of the recent Standard Ebooks' productions have included subtitles, and I just hadn't noticed it until lately...
![]() Last edited by PiperKev; 08-03-2023 at 08:10 AM. Reason: clarity |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate check when adding books - only title? | ownedbycats | Library Management | 4 | 11-22-2022 02:42 PM |
Adding books and the title/author | knitkitty33 | Library Management | 4 | 03-15-2013 09:56 AM |
Title To ISBN after adding books | Giuseppe Chillem | Calibre | 6 | 01-07-2013 12:00 AM |
Duplicate book title notification on adding books | jukin | Calibre | 2 | 06-16-2012 11:15 AM |
Calibre keeps adding authors name in book title =( | gargoyle67 | Calibre | 7 | 03-22-2012 10:44 PM |