![]() |
#1 |
Enthusiast
![]() Posts: 40
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: 44,224
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Hope this is of some help to you. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 40
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: 44,224
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Quote:
Quote:
Last edited by DNSB; 11-09-2020 at 01:35 PM. |
||||
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: May 2018
Device: Onyx Note Lite - Win10
|
Great, it's becoming clear to me.
Thanks! |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,224
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#7 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,831
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Metadata for ePubs is stored in the OPF file inside the ePub.
|
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,859
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
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: 78,831
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#11 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,224
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#12 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,538
Karma: 74000001
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#13 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,578
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 51
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: 44,224
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, 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 09:19 AM |
Missing Embedded Metadata in EPUBs | daemonblade | Calibre | 1 | 06-12-2017 04:19 AM |
Notes & Highlights for epubs stored on the sd card | einkuser | Barnes & Noble NOOK | 0 | 07-19-2014 09:49 PM |
Sharing EPubs - Metadata question | brihyn | Library Management | 4 | 08-18-2011 12:49 PM |
Editing metadata stored lists | MarkT | Calibre | 2 | 10-30-2009 03:17 AM |