Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2024, 05:04 AM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
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.
Comfy.n is offline   Reply With Quote
Old 09-03-2024, 07:56 AM   #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: 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>
or if they don't want to do that, they they need to create a refines that sets the scheme to URN. Although I would not recommend that, as nothing supports it and the geniuses that created the epub3 spec got their own examples using it wrong in the initial version of the spec. https://idpf.org/epub/301/spec/epub-...ations-errata/

Last edited by kovidgoyal; 09-03-2024 at 11:00 AM.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-03-2024, 08:39 AM   #3
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
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!
Comfy.n is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:13 AM.


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