Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-01-2014, 03:10 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
addbooks - where does calibre get title from?

I have an instance where ADE seems to get the title "right", but calibre - add book gets it "wrong" - because it uses the dc:title field ? the correct title in this instance is the one in the dc:identifier field.

I assume there's a spec somewhere of how these fields are supposed to be used. where should the correct title be ?

Code:
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="DeathsHeadMaximumOffence" version="1.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title>Death's Head</dc:title>
<dc:creator opf:file-as="David Gunn" opf:role="aut">David Gunn</dc:creator>
<dc:publisher>Transworld</dc:publisher>
<dc:identifier id="DeathsHeadMaximumOffence" opf:scheme="isbn">9781407037684</dc:identifier>
cybmole is offline   Reply With Quote
Old 02-01-2014, 04:03 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
Strangely enough the title should be specified in the title part of the opf-file.

http://www.gbenthien.net/Kindle%20an...f_example.html
Adoby is offline   Reply With Quote
Advert
Old 02-01-2014, 04:44 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
that is what I thought, but in this instance it is not ( this book is a sequel)
this title field is showing the 1st book's title -if I add this book to calibre it wants to overwrite the other book.

so what's the purpose of the dc:identifier field and the unique-identifier fields , which seem to be the ones that ADE picks up ( unless ADE uses file name & not metadata )?

I am simply curious as to who/what is not following the specs properly: - the publisher, the software....

FWIW if I grab the free sample mobi from amazon & convert that, the title field is much longer & better...
Code:
<dc:publisher>Transworld</dc:publisher>
    <meta content="Death's Head: Maximum Offence (Death's Head 2): (Death's Head Book 2)" name="calibre:title_sort" />
    <dc:language>en</dc:language>
    <dc:creator opf:file-as="Gunn, David" opf:role="aut">Gunn, David</dc:creator>
    <meta content="2014-02-01T09:48:28.772000+00:00" name="calibre:timestamp" />
    <dc:title>Death's Head: Maximum Offence (Death's Head 2): (Death's Head Book 2)</dc:title>

Last edited by cybmole; 02-01-2014 at 04:51 AM.
cybmole is offline   Reply With Quote
Old 02-01-2014, 06:03 AM   #4
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
The title doesn't have to be unique. There is another field for that, unique-identifier.

It is very possible that there will be clashes if you only use the title field as it is. That is up to you to handle when you add books. There is no problem storing different or even identical books with the exact same title and authors in calibre. calibre has some helpful settings that allows you to specify how clashes should be handled when adding books, but you have to make sure the settings are as you want them to be. For instance to add duplicates to allow you to check afterwards, and perhaps fix the title if it is wrong or add series information.
Adoby is offline   Reply With Quote
Old 02-01-2014, 06:25 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
yes, I Know how to tweak that the add books duplicate preferences

but based on only this book, it seems that calibre uses title field for title, but both ADE & Sony reader for PC use some other method - I don't know what their method is but I can add both books to either of those softwares & have them show with the correct individual titles ( as per what is in the unique identifier)

To be fair, I have not had any similar issues with other books, so I wonder if publisher is largely to blame for this instance

I got into a real muddle with these 2 books (because of 2 books having same title) & am trying to bottom out went went wrong and what is best practice usage of those OPF fields
cybmole is offline   Reply With Quote
Advert
Old 02-01-2014, 03:33 PM   #6
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,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@cybmole - have a look at the standards (the IETF one is easier)

IETF RFC 5013 ==>> http://www.ietf.org/rfc/rfc5013.txt
DCMI Basics ==>> http://dublincore.org/metadata-basics/

BR
BetterRed is online now   Reply With Quote
Old 02-02-2014, 04:03 AM   #7
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
ok
Element Name: title

Label: Title
Definition: A name given to the resource.

Element Name: identifier

Label: Identifier
Definition: An unambiguous reference to the resource within a given
context.
Comment: Recommended best practice is to identify the
resource by means of a string conforming
to a formal identification system.

it's not that specific about best place to place a book title IMHO, but to me, identifier looks the better choice

UPDATE - I take that back. I randomly checked several books, all have title in the title field & nowhere else. It seems my initial gripe was based on inspecting one book which did not follow that convention.

UPDATE " - after more testing with ADW / SOny reader, I think that where the book is licensed and is added via an acsm file, then those programs are gettiing the title from the acsm file, but with a non licensed/non DRM book, they revert to reading the title field in the opf. They don't read the filename because tweaking that has no effect.

Last edited by cybmole; 02-02-2014 at 06:45 AM.
cybmole is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[calibre (generated) title size] magnifico Recipes 2 07-12-2013 12:28 PM
Title search in calibre llam Library Management 2 02-24-2013 01:47 PM
Help-Keep title in Calibre but remove numbering? Sydney's Mom Calibre 4 05-04-2012 10:42 PM
Calibre Conversion to .mobi and Title Khan-Dam Calibre 8 11-12-2011 12:06 PM
Kindle shows different title then Calibre DavidSherwood Devices 1 01-21-2011 05:18 PM


All times are GMT -4. The time now is 01:52 AM.


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