Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2014, 11:57 PM   #1
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
What is metadata.opf for?

The books usually comes in a folder that contain three files.

The .epub, a cover .jpg and a metadata.opf.

The .epud by itself seem to work just fine in my readers without metadata.opf and I don't use cover image.

WHat is the purpose of metadata.opf? Can I just delete them and store all my books in just epud, so that each book do not need to have it's own folder.
FinancialWar is offline   Reply With Quote
Old 07-21-2014, 12:26 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No. calibre's library structure should not be messed with, or you may break the library.

metadata.opf contains the mtetadata backup for each book in your library. calibre will backup all metadata there every time a change is made.
eschwartz is offline   Reply With Quote
Old 07-21-2014, 12:37 AM   #3
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
But what does metadata do exactly?

Remembers your font size and where you read up to in the book etc?
FinancialWar is offline   Reply With Quote
Old 07-21-2014, 12:44 AM   #4
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
It contains a number of things:

ePub version
page-progression direction (right to left flip or left to right)
metadata about author, book name, description, isbn etc...
font or fixed layout information
a manifest with all the files includded in the ePub package
the order of which the distinct html files should be read

So basically it has to be a part of the ePub of you want readers to be able to read your file properly.
odedta is offline   Reply With Quote
Old 07-21-2014, 12:56 AM   #5
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
Thanks.
FinancialWar is offline   Reply With Quote
Old 07-21-2014, 02:07 AM   #6
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by FinancialWar View Post
But what does metadata do exactly?
Just open the file with the text editor and have a look.
It contains metadata for the book - title, author, series, description, ... in case the main database gets corrupted, or in case you want to copy part of your library to another computer manually.
Calibre can import this metadata when adding a book to the library.
I think it is an excellent example of how well thought out and designed the Calibre is.
kacir is offline   Reply With Quote
Old 07-21-2014, 02:15 AM   #7
FinancialWar
Banned
FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.FinancialWar understands the Henderson-Hasselbalch Equation.
 
Posts: 397
Karma: 85500
Join Date: Feb 2011
Location: Sydney
Device: Sony PRS350, Onyx M92, Onyx T68 (defective!)
so metadata for epub is like CSS for HTML?
FinancialWar is offline   Reply With Quote
Old 07-21-2014, 02:20 AM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No. It is more like the contents of

<head></head>
eschwartz is offline   Reply With Quote
Old 07-21-2014, 02:37 AM   #9
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,450
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by FinancialWar View Post
so metadata for epub is like CSS for HTML?
As the poster above me answered.
BUT!
epub file itself contains metadata, including author name, title, series, description. You might have disagreed with the metadata included in the book and corrected the metadata in your Calibre database. Calibre doesn't update the epub file when you change the metadata (like renaming S. King" to "Stephen King" or changing title from "Stand, The" to "The Stand"). It would eat up too many resources, especially for large changes (such as bulk change from "surname, name" to "name surname" naming convention). Calibre only updates the metadata included in the epub when you export the book (save to directory) or upload it to your device.
So the *.opf contains the backup of the current metadata info in your library.
You are not supposed to access the contents of your Library folder [directly using file managers and suchlike] anyway ;-). The best way to work with the library is to use only Calibre interface to access the books and consider the directory structure and contents as a "black box" the way you would treat an Oracle Database file with all your data. When you need to copy some books out of your Calibre library, use "Save to disk" function. It has lots of nice "side effects" - you can configure just about anything.
kacir is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
metadata.opf question robin58 Calibre 20 02-16-2014 04:50 PM
[Old Thread] metadata.opf ? cybmole Calibre 12 02-01-2012 02:00 AM
OPF metadata for dc:author miwie Recipes 3 11-24-2010 02:06 AM
What is metadata.opf jla888 Calibre 5 10-14-2010 05:46 PM
Mobigen opf metadata tibiafry Kindle Formats 2 04-15-2009 04:07 AM


All times are GMT -4. The time now is 06:59 PM.


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