Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-21-2010, 02:22 PM   #1
troymc
Groupie
troymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enough
 
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
epub output metadata

Not sure if this has been brought up before - but I didn't find it in a search.

Calibre seems like it may have an issue with multiple dc:creator entries with differing opf:role's.

As an example:

Zelda Pinwheel's "Three Men in a Boat" epub
has 2 dc:creator entries, one author & one illustrator:

Code:
<dc:creator opf:role="aut" opf:file-as="Jerome, Jerome K.">Jerome K. Jerome</dc:creator>

<dc:creator opf:role="ill" opf:file-as="Frederics, A.">A. Frederics</dc:creator>
When imported into Calibre, it only lists Jerome as the author - which I think would be Ok. (a book with multiple dc:creator opf:role="aut" entries will show up with multiple authors as expected)

However, when Calibre updates the metadata in the epub to send it to a device (or save to disk, etc) it ends up sending the illustrator as the only author:

Code:
<dc:creator opf:role="ill" opf:file-as="Frederics, A.">A. Frederics</dc:creator>

Troy
troymc is offline   Reply With Quote
Old 05-21-2010, 05:42 PM   #2
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It doesn't do that. Look down in the OPF file the role="aut" entry will be near the bottom of the <metadata> section.
kovidgoyal is offline   Reply With Quote
Old 05-21-2010, 06:33 PM   #3
troymc
Groupie
troymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enough
 
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
Quote:
Originally Posted by kovidgoyal View Post
It doesn't do that. Look down in the OPF file the role="aut" entry will be near the bottom of the <metadata> section.
Oops, I see that now!

hmmm...well after Calibre sends it to my 505, both the Sony & Calibre show the author as 'A. Fredericks'.

So, I'm guessing then that the Sony is probably picking the 1st dc:creator to use as the author -- and that's the author Calibre shows when looking at the device - not necessarily the one from the epub?


Troy
troymc is offline   Reply With Quote
Old 05-21-2010, 08:50 PM   #4
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yup sony only supports a single author.
kovidgoyal is offline   Reply With Quote
Old 05-22-2010, 12:36 AM   #5
troymc
Groupie
troymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enough
 
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
gah! I hate having to work around broken implementations - like ADE & Sony firmware - particularly when they're so slow and seemingly reluctant to fix anything.

Can someone tell me if the newer Sony model's firmware suffers from this bug? Do other ereaders see this?

Now that I'm aware of this I see many other instances of this in my libraries - Plato's works showing up with translators as authors, a collection of John Locke's works showing with the editor as the author, etc.

From what I can tell, the OPF standard requires no specific order to metadata elements. Unfortunately, if there is a de-facto standard being set that the first listed dc:creator is the "primary author" [that may be an overly-broad statement] it may need to be worked around until there is a fix in the standard [ie. a way to specify primary author.]

Can Calibre *not* re-order the metadata when it updates it? It looks like it's removing the original entries and then re-adds them at the bottom of the metadata section.


Troy
troymc is offline   Reply With Quote
Old 05-22-2010, 01:23 AM   #6
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: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Easy enough to do
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Epub Output: Line Height greenapple Conversion 20 01-27-2013 10:27 AM
EPUB output kovidgoyal Calibre 920 02-05-2011 12:59 PM
EPUB output justification toki08 Calibre 10 01-08-2011 05:14 PM
ePub Output Bug, Caused by MSWord Daddy Warpig Calibre 3 06-02-2010 10:03 AM
Problem with epub output in Cybook Gen3 fjf Calibre 3 02-03-2010 03:23 AM


All times are GMT -4. The time now is 05:22 PM.


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