Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-06-2015, 08:02 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
What is "calibre:user_metadata:#formats" for?

In the OPF I noticed this meta:


Code:
<meta name="calibre:user_metadata:#formats" content="{&quot;is_custom&quot;: true, &quot;is_editable&quot;: true, &quot;link_column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 22, &quot;label&quot;: &quot;formats&quot;, &quot;is_multiple&quot;: null, &quot;is_multiple2&quot;: {}, &quot;search_terms&quot;: [&quot;#formats&quot;], &quot;name&quot;: &quot;Books&quot;, &quot;category_sort&quot;: &quot;value&quot;, &quot;display&quot;: {&quot;contains_html&quot;: false, &quot;make_category&quot;: false, &quot;composite_template&quot;: &quot;{:'approximate_formats()'}&quot;, &quot;composite_sort&quot;: &quot;text&quot;, &quot;use_decorations&quot;: 0}, &quot;kind&quot;: &quot;field&quot;, &quot;#value#&quot;: &quot;AZW3,EPUB&quot;, &quot;is_category&quot;: false, &quot;column&quot;: &quot;value&quot;, &quot;is_csp&quot;: false, &quot;#extra#&quot;: null, &quot;datatype&quot;: &quot;composite&quot;, &quot;table&quot;: &quot;custom_column_2&quot;, &quot;colnum&quot;: 2}"/>
Even when I delete it, it seems to come back after I launch the editor from Calibre.

It doesn't seem to hurt anything, but it appears to relate to Calibre options, so I was wondering what it's for
phossler is offline   Reply With Quote
Old 11-06-2015, 09:44 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You have a custom column by that name
Calibre will store it (polish,convert) so you don't lose it if you move the book elswhere
theducks is offline   Reply With Quote
Old 11-08-2015, 08:57 AM   #3
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Thanks, but if I were to move it some where else, wouldn't that data be inaccessible?

Or is it just stored in the OPF but never used?
phossler is offline   Reply With Quote
Old 11-08-2015, 09:52 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phossler View Post
Thanks, but if I were to move it some where else, wouldn't that data be inaccessible?

Or is it just stored in the OPF but never used?
Since many books (not touched by calibre update metadata) do not have the do not have this. it won't break calibre.

One has to wonder about the agony over a boilerplate header that only coders see.
theducks is offline   Reply With Quote
Old 11-08-2015, 10:49 AM   #5
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
One has to wonder about the agony over a boilerplate header that only coders see.
I wasn't agonizing or it. I have to edit the OPF sometimes and I was curious is all since it doesn't seem to serve any purpose as far as the epub is concerned.

I can edit out and save it.

If I launch the editor directly, meta data is not there. If I launch the editor from Caliblre, Calibre adds the meta data for me. Even if I say to Quit without saving, Calibre updates the file with the additional meta data.
phossler is offline   Reply With Quote
Old 11-08-2015, 11:06 AM   #6
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,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
So tell calibre to stop.

Edit ==> Preferences ==> Integration with calibre (tab)
Uncheck "Update metadata embedded in the book when opening"

calibre embeds custom columns in the EPUB metadata during Send-to-device and Save-to-disk as well, it is meaningless to ask why it does so in the Editor specifically.
As theducks said -- it's stored so when you export the book, calibre can still retrieve the custom metadata if re-imported.
eschwartz is offline   Reply With Quote
Old 11-08-2015, 06:11 PM   #7
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
@eschwartz - thanks for the pointer to "Update metadata embedded in the book when opening".

That explains why I get a prompt from Editor to Save the file ... sometimes. If I had updated the book comments or something, and them went to edit it it'd prompt me to save even though I didn't think I made any changes. I always wondered about that.

That options stops all metadata being updated which I don't think I'd prefer, so I think my curiousity has been satisfied, and I won't agonize over it any more
phossler is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define the "Start" or "Beginning" page in Calibre paul_01 Conversion 5 08-12-2016 06:58 AM
problem with "suitable formats", lost jpgs, and understanding how calibre works parking Calibre 3 01-14-2012 04:09 AM
"No available formats" for Calibre, works with Adobe DE livfoss Conversion 5 11-09-2011 04:26 PM
Getting calibre to detect "Prologue" and "Epilogue" for TOC sherman Calibre 2 09-20-2010 02:21 AM


All times are GMT -4. The time now is 10:15 AM.


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