09-03-2024, 05:04 AM | #1 |
want to learn what I want
Posts: 1,260
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
PG Identifiers
I just found that when I add Project Gutenberg EPUB3 ebooks I don't get their identifier in Calibre, despite them being included as dc:identifier property in content.opf.
However when I add the EPUB format, URI identifier shows up as expected. Example: https://www.gutenberg.org/ebooks/74324 epub 2 has <dc:identifier opf:scheme="URI" id="id">http://www.gutenberg.org/74324</dc:identifier> epub 3 has <dc:identifier id="id">http://www.gutenberg.org/74324</dc:identifier> Well I just unpacked the EPUB3, copied that EPUB2 line into the EPUB3's content.opf, and Calibre has set the identifier, so I guess that's something related to the missing opf:scheme="URI" bit. |
09-03-2024, 07:56 AM | #2 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They need to use:
Code:
<dc:identifier id="id">URN:http://www.gutenberg.org/74324</dc:identifier> Last edited by kovidgoyal; 09-03-2024 at 11:00 AM. |
Advert | |
|
09-03-2024, 08:39 AM | #3 |
want to learn what I want
Posts: 1,260
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Then I hope they can figure out how to do some mass search and replace like
id="id">http://www.gutenberg.org/{id}</dc:identifier> with id="id">URN:http://www.gutenberg.org/{id}</dc:identifier> ... then repack all their EPUB3 files, but for the time being I'm going for epub2. Thanks for the clarification! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Identifiers | Rellwood | Calibre | 3 | 02-25-2023 02:19 AM |
Goodreads identifiers | ownedbycats | Library Management | 2 | 04-19-2021 05:49 AM |
What custom identifiers do you use? | ownedbycats | Library Management | 3 | 03-30-2021 12:20 AM |
Identifiers | Rellwood | Calibre | 2 | 10-31-2019 11:51 PM |
Fragment identifiers | frisket | ePub | 19 | 04-02-2014 03:44 PM |