Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2021, 08:37 AM   #1
KecajN
Enthusiast
KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.
 
KecajN's Avatar
 
Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
EPUB3 Series Metadata

Pocketbook Inkpad X supports EPUB3 data however it does not always display series information included in metadata. Vendor support is not helpful at all so I am investigating the issue myself.

Series metadata are rarely included in original EPUB3 files so I add them using Calibre. And I have found the following scenarios (no Calibre conversion, only metadata are added):

1. Series information are embedded in the following form:
<meta property="belongs-to-collection" id="id-2">O'Reilly Practical</meta>
<meta refines="#id-2" property="collection-type">series</meta>
<meta refines="#id-2" property="group-position">1</meta>
Pocketbook seems to recognize this type of series metadata. However I have validated it only on a single case because Calibre mostly generates data in a way described in the next point.

2. Series informatio are embedded in the following form:
<opf:meta property="belongs-to-collection" id="id-3">Rizzoli/Isles</opf:meta>
<opf:meta refines="#id-3" property="collection-type">series</opf:meta>
<opf:meta refines="#id-3" property="group-position">12</opf:meta>
Pocketbook is not able to retrieve this kind of metadata - tested on a multiple cases.

I believe that metada in scenario 1 are fully compliant with EPUB3 standard, not sure about item 2.

I have the following questions:

- Is "opf:meta" metadata style valid as EPUB3 metadata?

- Is it possible to force Calibre to create metadata using method no. 1?
KecajN is offline   Reply With Quote
Old 01-31-2021, 08:55 AM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by KecajN View Post
Is "opf:meta" metadata style valid as EPUB3 metadata?
In "opf:meta" the "opf" is the XML namespace. It is valid as long as it is declared properly in the file.

For example: xmlns:opf="http://www.idpf.org/2007/opf"
jhowell is online now   Reply With Quote
Advert
Old 01-31-2021, 09:00 AM   #3
KecajN
Enthusiast
KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.
 
KecajN's Avatar
 
Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
There are following statements in the package.opf file:<package xmlns="http://www.idpf.org/2007/opf" prefix="ibooks: http://vocabulary.itunes.apple.com/r...xtensions-1.0/ calibre: https://calibre-ebook.com" version="3.0" unique-identifier="bookid">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlnspf="http://www.idpf.org/2007/opf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

I have modifed manually the EPUB3 file described in scenario 2 by replacing opf metadata with the ones corresponding to the scenario 1. And Pocketbook recognized series information this time!
KecajN is offline   Reply With Quote
Old 01-31-2021, 09:04 AM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah that's a bug in the pocketbook firmware it doesnt support XML namespaces, report it to them.
kovidgoyal is offline   Reply With Quote
Old 01-31-2021, 05:45 PM   #5
KecajN
Enthusiast
KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.KecajN ought to be getting tired of karma fortunes by now.
 
KecajN's Avatar
 
Posts: 30
Karma: 219070
Join Date: Aug 2010
Location: Poland
Device: PocketBoox Inkpad 3, Inkpad X
Quote:
Originally Posted by kovidgoyal View Post
Yeah that's a bug in the pocketbook firmware it doesnt support XML namespaces, report it to them.
They are very reluctant to accept any bugs report at all.

Is there any way to force Calibre to store series metadata in EPUB3 without an opf name space (scenario 1 in my original post)?
KecajN is offline   Reply With Quote
Advert
Old 01-31-2021, 09:15 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KecajN View Post
They are very reluctant to accept any bugs report at all.

Is there any way to force Calibre to store series metadata in EPUB3 without an opf name space (scenario 1 in my original post)?
Looking at the epub 3.2 spec and it's samples, they do not use the opf name space.

OTOH, if the opf name space is properly declared, it should be accepted.
DNSB is offline   Reply With Quote
Old 01-31-2021, 09:31 PM   #7
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by KecajN View Post
They are very reluctant to accept any bugs report at all.

Is there any way to force Calibre to store series metadata in EPUB3 without an opf name space (scenario 1 in my original post)?
Not that I know of. But patches are most welcome.
kovidgoyal is offline   Reply With Quote
Reply

Tags
epub3 metadata series


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch HD(PB631) ePub3 series management sirtao PocketBook 3 02-13-2019 07:57 AM
EPUB3-compatible Amazon ASIN metadata jcsalomon ePub 20 08-09-2017 07:40 AM
GUI Ideas for ePub3 MetaData Editor KevinH Sigil 3 12-02-2015 01:58 PM
how to properly declare metadata in epub3 mzmm ePub 0 10-27-2015 09:39 AM
Metadata retrieval using series/series index geekraver Development 13 01-06-2014 12:33 AM


All times are GMT -4. The time now is 08:21 AM.


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