![]() |
#1 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: May 2018
Device: Onyx Note Lite - Win10
|
Where is metadata for epubs stored?
I did a web- and a forum- search on this, but couldn't find much information on it:
Where is metadata for epubs stored? On the f.a.q. page I read "Metadata about the books is stored in the file metadata.db" But each book also is accompanied by an opf file, which also contains what I guess you could call metadata. And the epub format is also capable of containing metadata. (correct me if I am wrong) So it looks like there are three locations that can hold metadata about the books. Is there information or an overview to be found somewhere that explains what is—or can be—stored in the epub file itself (which you won't loose when copying the ebook somewhere), and what is stored in Calibre's metadata.db and the accompanying opf file? |
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,358
Karma: 50100907
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
|
Quote:
Hope this is of some help to you. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: May 2018
Device: Onyx Note Lite - Win10
|
Thanks DNSB.
Some questions though. I don't understand where you say: "the content.opf file internal to the epub is not modified in the library." I don't see any 'content.opf' files. Do you mean that they are somehow contained within the epub file and not visible? If you meant to say 'metadata.opf' instead, I checked, and they do get updated as soon as you make an edit in Calibre. So, Calibre does not store or read metadata in the epub files themselves. Hm, I was guessing that was possible and even useful when copying a book to an ereader that can read metadata from an epub. But then again, I have no clue if or how epubs support metadata. I am acquainted with how metadata works for mp3 and flac audio files, but I guess it's a completely different ballgame for epubs. |
![]() |
![]() |
![]() |
#4 | ||||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,358
Karma: 50100907
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
|
Quote:
Quote:
Quote:
Quote:
Last edited by DNSB; 11-09-2020 at 02:35 PM. |
||||
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: May 2018
Device: Onyx Note Lite - Win10
|
Great, it's becoming clear to me.
Thanks! |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,358
Karma: 50100907
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
|
|
![]() |
![]() |
![]() |
#7 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 359
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61,352
Karma: 84262512
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
Metadata for ePubs is stored in the OPF file inside the ePub.
|
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 25,931
Karma: 39099825
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT(Fixed,New Bat.), Galaxy Tab A, Kobo Aura2
|
STD does also allow you to export a separate copy of the cover or OPF along with the format.
This is in addition to the books structure (some formats may not contain these in an easy to use form) |
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61,352
Karma: 84262512
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
|
![]() |
![]() |
![]() |
#11 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,358
Karma: 50100907
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
|
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,603
Karma: 5140624
Join Date: Oct 2018
Device: Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#13 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 940
Karma: 5500108
Join Date: Nov 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Nov 2012
Device: none
|
Is there a way to find out which EPUBs have content.opf that is out of date (or different) from what is stored in the Calibre database? I'd like to have all my EPUBs with matching metadata compared to calibre, because I use other programs to serve OPDS feeds and sometimes just email someone a EPUB that I have.
Going forward what is the easiest way to keep content.opf updated when I update calibre metadata? Thanks. |
![]() |
![]() |
![]() |
#15 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,358
Karma: 50100907
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
epub, location, metadata, stored |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does Forma become slower in managing its stored library with more ePubs in storage | droopy | Kobo Reader | 2 | 03-01-2019 10:19 AM |
Missing Embedded Metadata in EPUBs | daemonblade | Calibre | 1 | 06-12-2017 05:19 AM |
Notes & Highlights for epubs stored on the sd card | einkuser | Barnes & Noble NOOK | 0 | 07-19-2014 10:49 PM |
Sharing EPubs - Metadata question | brihyn | Library Management | 4 | 08-18-2011 01:49 PM |
Editing metadata stored lists | MarkT | Calibre | 2 | 10-30-2009 04:17 AM |