View Single Post
Old 02-04-2021, 07:54 PM   #11
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: 21,608
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by halloleo View Post
@BetterRead Thanks for the tip! Interesting!

So this means the published field is a custom column, right? Can I export them in the OPF file?
Yes, these screen shots should explain the relevant Preferences I'm using:

Click image for larger version

Name:	1.jpg
Views:	171
Size:	155.7 KB
ID:	185240

Click image for larger version

Name:	2.jpg
Views:	172
Size:	121.1 KB
ID:	185241

And here you see the result:

Click image for larger version

Name:	3.jpg
Views:	185
Size:	254.9 KB
ID:	185242

It suits me because I always use ISO (military) dates (and a 24 hour clock). Might not suit those who prefer other representations - e.g MMM.dd.yy.

This is what's written to the book folder\metadata.opf file and the content.opf file in the .epub file

Code:
<meta name="calibre:user_metadata:#part_date" content="{&quot;table&quot;: &quot;custom_column_61&quot;, &quot;column&quot;: &quot;value&quot;, &quot;datatype&quot;: &quot;text&quot;, &quot;is_multiple&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;name&quot;: &quot;Partial Date&quot;, &quot;search_terms&quot;: [&quot;#part_date&quot;], &quot;label&quot;: &quot;part_date&quot;, &quot;colnum&quot;: 61, &quot;display&quot;: {&quot;use_decorations&quot;: 0, &quot;description&quot;: &quot;&quot;}, &quot;is_custom&quot;: true, &quot;is_category&quot;: true, &quot;link_column&quot;: &quot;value&quot;, &quot;category_sort&quot;: &quot;value&quot;, &quot;is_csp&quot;: false, &quot;is_editable&quot;: true, &quot;rec_index&quot;: 58, &quot;#value#&quot;: &quot;2008.05&quot;, &quot;#extra#&quot;: null, &quot;is_multiple2&quot;: {}}"/>
BR
BetterRed is offline   Reply With Quote