View Single Post
Old 12-22-2012, 01:46 AM   #330
Needlehawk
Member
Needlehawk began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2012
Device: Present - Nook Color/Future - Nexus 7
Wow, that was fast! Thanks for the answers, but now I'm really confused. The reason that I came to the conclusion that I did, was that I looked (in Sigil) at the .opf file of several of my epubs. Without fail, the content.opf file that was in my epubs did not have the metadata changes that I had made in Calibre, (although I've since looked some more and some of them DO have those changes in the content.opf file).

For example, I just pulled up a book in Sigil that I put into a series. Here is the metadata info (minus title and author) in the content.opf file (no series info that I can find):

Spoiler:
Code:
<opf:metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <dc:language>en</dc:language>
        <dc:creator opf:role="aut">author name</dc:creator>
        <opf:meta content="2011-11-14T15:51:39.194957+00:00" name="calibre:timestamp"/>
        <dc:title>Title</dc:title>
        <dc:identifier id="uuid_id" opf:scheme="uuid">2940012076793</dc:identifier>
        <meta xmlns="" content="book" name="BNContentKind"/>
    </opf:metadata>


Here's what is in the metadata.opf file (minus title and author):

Spoiler:
Code:
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
        <dc:identifier opf:scheme="calibre" id="calibre_id">1645</dc:identifier>
        <dc:identifier opf:scheme="uuid" id="uuid_id">7962babc-3eac-4f72-935a-5173e07a7aab</dc:identifier>
        <dc:title>Title</dc:title>
        <dc:creator opf:file-as="author" opf:role="aut">author</dc:creator>
        <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (0.9.10) [http://calibre-ebook.com]</dc:contributor>
        <dc:date>2012-07-31T05:00:00+00:00</dc:date>
        <dc:description>&lt;p class="description"&gt;THE NEW YORK TIMES BESTSELLING SENSATION Addictive, thrilling, exhilarating... You won't be able to put it down. Ash Rashid is a former homicide detective who can't stand the thought of handling another death investigation. That's until his niece's body is found in the property of one of the city's wealthiest citizens. The coroner calls it an overdose, but the case doesn't add up. Against orders, Ash launches an investigation to find his niece's murderer. But the longer he searches, the darker the case gets - and if he doesn't solve it fast, his niece won't be the only family member he has to bury... Discover for yourself the US crime novel that became a word of mouth phenomenon. The Abbey is the beginning of a major new series, featuring one of the most fascinating detectives in the history of crime fiction.&lt;/p&gt;</dc:description>
        <dc:publisher>Little, Brown Book Group Limited</dc:publisher>
        <dc:identifier opf:scheme="AMAZON">B004M18ZRS</dc:identifier>
        <dc:identifier opf:scheme="GOOGLE">hsRQtQAACAAJ</dc:identifier>
        <dc:identifier opf:scheme="ISBN">0751549118</dc:identifier>
        <dc:language>eng</dc:language>
        <meta content="{&quot;author&quot;: &quot;&quot;}" name="calibre:author_link_map"/>
        <meta content="Ash Rashid" name="calibre:series"/>
        <meta content="1" name="calibre:series_index"/>
        <meta content="8" name="calibre:rating"/>
        <meta content="2012-10-07T05:23:18+00:00" name="calibre:timestamp"/>
        <meta content="Title" name="calibre:title_sort"/>
        <meta name="calibre:user_metadata:#read" content="{&quot;is_category&quot;: false, &quot;#extra#&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_csp&quot;: false, &quot;colnum&quot;: 1, &quot;column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 22, &quot;search_terms&quot;: [&quot;#read&quot;], &quot;link_column&quot;: &quot;value&quot;, &quot;is_multiple2&quot;: {}, &quot;is_multiple&quot;: null, &quot;datatype&quot;: &quot;bool&quot;, &quot;#value#&quot;: true, &quot;category_sort&quot;: &quot;value&quot;, &quot;table&quot;: &quot;custom_column_1&quot;, &quot;is_editable&quot;: true, &quot;label&quot;: &quot;read&quot;, &quot;display&quot;: {}, &quot;name&quot;: &quot;Read&quot;}"/>
    </metadata>


Since the series info was only in the metadata.opf file, I assumed that Calibre only changes the .opf file in the EPUB itself when I send/backup the file. Is this not true?

I do realize that the non dc: metadata is not a huge piece of the clean up I want to do. I'm just trying to fully understand the process so I don't do something stupid with my files.

Just out of curiosity, what does the "update metadata" option do? I thought that it probably merged the metadata.opf files and content.opf files. Is that not true?
Needlehawk is offline   Reply With Quote