View Single Post
Old 07-21-2014, 03: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,480
Karma: 10684861
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