Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2016, 11:41 AM   #1
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Metadata Organization

Hello,

I had a couple questions about Calibre's metadata for custom columns.

1) Is there an option to disable saving of a custom column's metadata to the book? I use custom columns within the GUI to help manage my library, but there isn't a need desire to have all any of that data in the file itself.

2) If I must save it to the opf, is it possible to have a consistent output order?
Quote:
<meta content="{&quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_category&quot;: false, &quot;#extra#&quot;: null, &quot;name&quot;: &quot;Formats&quot;, &quot;rec_index&quot;: 23, &quot;link_column&quot;: &quot;value&quot;, &quot;datatype&quot;: &quot;composite&quot;, &quot;is_csp&quot;: false, &quot;is_editable&quot;: true, &quot;is_multiple2&quot;: {}, &quot;colnum&quot;: 6, &quot;label&quot;: &quot;formats&quot;, &quot;#value#&quot;: &quot;EPUB&quot;, &quot;is_multiple&quot;: null, &quot;category_sort&quot;: &quot;value&quot;, &quot;search_terms&quot;: [&quot;#formats&quot;], &quot;table&quot;: &quot;custom_column_6&quot;, &quot;column&quot;: &quot;value&quot;, &quot;display&quot;: {&quot;description&quot;: &quot;&quot;, &quot;composite_template&quot;: &quot;{:'approximate_formats()'}&quot;, &quot;composite_sort&quot;: &quot;text&quot;, &quot;contains_html&quot;: false, &quot;use_decorations&quot;: 0, &quot;make_category&quot;: false}}" name="calibre:user_metadata:#formats" />
The name of the custom column consistently appears at the end of all that, but the 'value' changes location and can be somewhat difficult to find. Is it possible to have it always appear at the beginning of that list, or at the end just prior to the name??

NOTE: The position changes between books. Within the same book it is in a consistent relative position for each of the different custom columns.

Thanks!
Turtle91 is offline   Reply With Quote
Old 01-11-2016, 01:08 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Turtle91 View Post
Hello,

I had a couple questions about Calibre's metadata for custom columns.

1) Is there an option to disable saving of a custom column's metadata to the book? I use custom columns within the GUI to help manage my library, but there isn't a need desire to have all any of that data in the file itself.
There isn't an option, but others have found ways to do this using other calibre tools/plugins. I expect that one or more of them will chime in with the technique(s).
Quote:
2) If I must save it to the opf, is it possible to have a consistent output order?
If you mean the file metadata.opf instead of the opf in an epub, then no tool will remove this information. That file is used by calibre to recover book metadata in case of a catastrophic crash and loss of its book database.

In either case (in or out of the book), there is no existing way to control the order of the columns or the info in the columns. Calibre keeps them in an efficient data structure (called a 'dict') for performance reasons. One consequence is that when the structure is saved the items appear to be randomized. Of course, calibre could be changed to write this information to the file in some known order but that would be a fair amount of work, error prone, and possibly incompatible with the old order. For these reasons I am not interested in doing it. Others, of course including Kovid, might think differently.
chaley is offline   Reply With Quote
Advert
Old 01-11-2016, 05:06 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,584
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I use the Modify ePub plugin to remove all non-DC elements

BR
BetterRed is online now   Reply With Quote
Old 01-11-2016, 06:13 PM   #4
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
"DC"?
FizzyWater is offline   Reply With Quote
Old 01-11-2016, 06:19 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Dublin Core
PeterT is offline   Reply With Quote
Advert
Old 01-11-2016, 11:37 PM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Thanks for the info!

Thanks Chaley. Yes, I was referring to the opf inside the epub. I don't have a problem with the metadata.opf containing that info. I was hoping there was an option of deleting those entries while "saving to disk" - or at least just not updating them from the metadata.opf.

Unfortunately, there are some other non-DC metadata that I do like to keep such as series name and index. But thanks for the suggestion BR.
Turtle91 is offline   Reply With Quote
Old 01-12-2016, 02:19 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,584
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by FizzyWater View Post
"DC"?
Ah yeah, I tend to forget that other DC.

BTW, the Dublin in DC isn't the one that gave us Joyce, Beckett, Yeats et al. It's the the one in Ohio, there's no Blarney Stone there either, that's closer to Cork.

BR
BetterRed is online now   Reply With Quote
Old 01-12-2016, 02:33 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,584
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Turtle91 View Post
Thanks for the info!

Thanks Chaley. Yes, I was referring to the opf inside the epub. I don't have a problem with the metadata.opf containing that info. I was hoping there was an option of deleting those entries while "saving to disk" - or at least just not updating them from the metadata.opf.

Unfortunately, there are some other non-DC metadata that I do like to keep such as series name and index. But thanks for the suggestion BR.
@Turtle91 - I put the metadata that I want to see in a 'metadata jacket', which I move to the back of the book. Sometimes I edit the content.opf directly with an xml-aware editor to get rid of particularly irritating dross.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help: Organization Nightmare rjupiter Library Management 16 08-11-2014 10:13 PM
Best e-Reader For Organization ophelia Which one should I buy? 12 08-09-2013 12:24 PM
Organization problem teraflame Amazon Kindle 2 03-09-2011 12:26 AM
Any suggestions for organization? kl_0 Calibre 4 02-08-2010 01:44 PM
Desktop organization DMcCunney Lounge 13 07-29-2008 08:48 AM


All times are GMT -4. The time now is 05:35 PM.


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