Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 09-22-2024, 06:48 PM   #1
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Wrong author on Kobo

I sent a book from Calibre to my Kobos. On the devices it listed the translator as the author, without listing the actual author.

I could fix the problem by updating metadata on device library with Kobo Utilities.

Metadata on Calibre has the author correct. I can't see anything in the epub files that would point to the translator (although I may not have looked in the right places).

I'm wondering what might have caused the initial problem. If nothing else, I'd have thought the sending function and KU would get author and other metadata from the same place.

Last edited by foosion; 09-22-2024 at 06:59 PM.
foosion is offline   Reply With Quote
Old 09-22-2024, 08:32 PM   #2
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,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If I remember correctly, if you look at the author(s) in the .opf file, a Kobo ereader will use the first one in the list. Quite a few ePubs I've looked at use multiple dc:creator entries for author, translator, illustrator but without adding a role or refines to specify who did what. So if the content.opf lists John P. Longland first, Kobo will use that name as the author regardless of whether John was the author, illustrator or translator.

Code:
<dc:creator>Longland, John P.</dc:creator>
<dc:creator>Michaels, Jenn</dc:creator>
Another example from the Duke Classics War and Peace is:

Code:
<dc:title>War and Peace</dc:title>
<dc:creator opf:role="aut" opf:file-as="Tolstoy, Leo &amp; Maude, Aylmer &amp; Maude, Louise Shanks">Leo Tolstoy</dc:creator>
<dc:creator opf:role="aut">Aylmer Maude</dc:creator>
<dc:creator opf:role="aut">Louise Shanks Maude</dc:creator>
Here, both the Maudes who translated the book are shown as authors but since the first dc:creator lists Leo Tolstoy, your Kobo should show that as the author. The entries for the Maudes should show the opf:role="trl" for translator.
Code:
<dc:title>War and Peace</dc:title>
<dc:creator opf:role="aut" opf:file-as="Tolstoy, Leo">Leo Tolstoy</dc:creator>
<dc:creator opf:role="trl">Aylmer Maude</dc:creator>
<dc:creator opf:role="trl">Louise Shanks Maude</dc:creator>
One of the better (i.e. less insomnia curing) pages is Readium's Parsing EPUB Metadata.

Note that these samples are for an ePub2 file, for ePub3 use role instead of opf:role.

Last edited by DNSB; 09-22-2024 at 08:37 PM. Reason: Added comment on ePub2 vs ePub3
DNSB is online now   Reply With Quote
Advert
Old 09-22-2024, 08:41 PM   #3
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by DNSB View Post
If I remember correctly, if you look at the author(s) in the .opf file, a Kobo ereader will use the first one in the list. Quite a few ePubs I've looked at use multiple dc:creator entries for author, translator, illustrator but without adding a role or refines to specify who did what. So if the content.opf lists John P. Longland first, Kobo will use that name as the author regardless of whether John was the author, illustrator or translator.
Your memory is sound. The first listed creator in the opf file is the translator, with the author second.

It appears that Calibre's send to device function (including kepub conversion) will result in the device getting metadata from the opf file, while the Kobo Utilities' metadata function will use Calibre's metadata.

Thanks for clearing that up.
foosion is offline   Reply With Quote
Old 09-23-2024, 08:05 AM   #4
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
FWIW, the opf is a bit more complicated than the examples you posted.

Code:
<dc:creator id="cont1">Adrian Nathan West</dc:creator>
    <dc:creator id="id-1">Benjamin Labatut</dc:creator>
then farther down:

Code:
<meta refines="#id-1" property="role" scheme="marc:relators">aut</meta>
    <meta refines="#id-1" property="file-as">Labatut, Benjamin</meta>
foosion is offline   Reply With Quote
Old 09-23-2024, 05:27 PM   #5
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,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I deliberately avoided getting into refines. For the most part, in most ebooks they are not needed and add a level of complexity.
DNSB is online now   Reply With Quote
Advert
Old 09-23-2024, 06:04 PM   #6
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Yes, it does seem to be needlessly complex. More words without improving on the simpler example you posted.
foosion is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo using the wrong author Zaz Kobo Reader 3 02-06-2023 07:41 AM
Wrong Author Shows In KOReader DarkRookie2 KOReader 1 02-24-2022 06:15 PM
Wrong author sort for brother authors rebl Library Management 19 07-22-2019 04:41 PM
Books on Kobo with wrong author name anesthezea Kobo Reader 5 08-09-2018 03:51 PM
Wrong author sorting order Gnolive PocketBook 3 11-15-2013 04:32 PM


All times are GMT -4. The time now is 08:53 PM.


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