Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
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
Old 08-02-2023, 07:48 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
BetterRed is offline   Reply With Quote
Advert
Old 08-02-2023, 07:55 PM   #3
PiperKev
Connoisseur
PiperKev began at the beginning.
 
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:
Originally Posted by BetterRed View Post
Pretty sure that would be a feature of the Standard Ebooks plugin.

You should raise the issue in the plugin thread.

BR
PiperKev is offline   Reply With Quote
Old 08-02-2023, 08:12 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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...
DNSB is offline   Reply With Quote
Old 08-02-2023, 08:26 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PiperKev View Post
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.
So, at a guess Add is grabbing the last of the "<dc:title id=…" entries.

Kovid will have to provide a definitive answer.

Long shot to try in the meantime:

Click image for larger version

Name:	Screenshot 2023-08-03 102029.jpg
Views:	79
Size:	40.2 KB
ID:	202948

BR
BetterRed is offline   Reply With Quote
Advert
Old 08-02-2023, 08:43 PM   #6
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
See this thread:

https://www.mobileread.com/forums/sh....php?p=4319719
ownedbycats is online now   Reply With Quote
Old 08-02-2023, 09:54 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Einstein strikes again…
BetterRed is offline   Reply With Quote
Old 08-02-2023, 10:12 PM   #8
PiperKev
Connoisseur
PiperKev began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Sep 2020
Device: KOA3 JB
?????

Quote:
Originally Posted by BetterRed View Post
Einstein strikes again…
PiperKev is offline   Reply With Quote
Old 08-02-2023, 11:00 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
BetterRed is offline   Reply With Quote
Old 08-02-2023, 11:05 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is online now   Reply With Quote
Old 08-03-2023, 08:07 AM   #11
PiperKev
Connoisseur
PiperKev began at the beginning.
 
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:
Originally Posted by BetterRed View Post
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
PiperKev is offline   Reply With Quote
Old 08-03-2023, 08:09 AM   #12
PiperKev
Connoisseur
PiperKev began at the beginning.
 
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...

Quote:
Originally Posted by kovidgoyal View Post
yes, that's by design and no there's no way to change it.

Last edited by PiperKev; 08-03-2023 at 08:10 AM. Reason: clarity
PiperKev is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:46 AM.


MobileRead.com is a privately owned, operated and funded community.