12-09-2010, 05:02 PM | #1 |
Guru
Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
Inserting isbn into content file
Is there any way in Calibre to add the isbn to the content file, as the unique identifier?
|
12-09-2010, 05:41 PM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
What do you mean by "content file"? If the output format contains a metadata field for ISBN and there is an ISBN in the book metadata, it should be written already.
|
Advert | |
|
12-10-2010, 02:17 PM | #3 |
Guru
Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
In the content.opf file there is a field called unique-identifier, where it is recommended that one put the isbn. There is also another field named identifier id, which should also contain the isbn.
Actually anything unique will do, but the only thing that is certain is the isbn. |
12-10-2010, 02:23 PM | #4 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ISBN's are very far from being unique, you should never use an isbn as a unique identifier. Instead, do as calibre does ad insert it as a nomal dc:identifier with type ISBN
|
12-10-2010, 02:25 PM | #5 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Calibre puts
<dc:identifier opf:scheme="ISBN"> and <dc:identifier id="uuid_id" opf:scheme="uuid"> into content.opf. It also includes the entry <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id"> which if I understand correctly, is telling epub clients that the uuid is indeed a unique ID. This is what I want, because I actively remove ISBNs, making them useless as an ID (for me). |
Advert | |
|
12-11-2010, 10:14 AM | #6 |
Guru
Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
|
12-11-2010, 10:49 AM | #7 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
specify it in the books metadata
|
12-11-2010, 11:52 AM | #8 |
Guru
Posts: 802
Karma: 4727110
Join Date: Aug 2010
Location: Sweden
Device: Iriver Story
|
OK, thanks. Wasn't sure if that would work other than in the private metadata of my laptop collection, which I maintain in Calibre.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Extract ISBN from file name | ChristianQ | Calibre | 59 | 12-09-2015 05:08 AM |
Inserting a signature. | chrischance | Lounge | 4 | 10-28-2010 02:27 PM |
content server file location | dchoe | Calibre | 16 | 09-02-2010 11:45 AM |
cleaning the content.opf file | Adjust | ePub | 6 | 09-01-2010 05:54 PM |
text file and table of content | skao | Calibre | 1 | 04-09-2010 12:15 PM |