View Single Post
Old 08-23-2020, 06:37 AM   #1849
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by anacreon View Post
I tested using this metadata plugboard: it means I get the metadata in the books, but lose what I added in kobo utilities (the tags) and the individual metadata (the number of pages and a line separating it from the blurb). So I dropped it.
Are you talking about the comment? What sort of template are you using in the plugin? Unless you are using a "jacket" style template, the plugin actually creates its own plugboard for the template to generate the comment. If you copied this to the metadata plugboard, then it should be producing exactly the same thing.

The jacket template is different, but, you should be able to produce the same result.

The plugboard I use is:

Code:
{comments}{:'raw_field("tags")'|<p><b>Tags:</b> |</p>}{rating:rating_as_stars()|<p><b>Rating:</b> |</p>}{#kobo_last_read:|<p><b>Last Read:</b> |</p>}{:'test(field('#words'),'<p>',test(field('#pages'),'<p>',''))'}{#words:|<b>Word count:</b> |}{:'test(field('#words'),test(field('#pages'),' ',''),'')'}{#pages:|<b>Page count:</b> |}{:'test(field('#words'),'</p>',test(field('#pages'),'</p>',''))'}
That puts the comment, followed by the tags, rating, last read and the word and page counts. I was thinking I had a horizontal ruled after the comments, but, I must have removed it at some time.

And for the record, the plugboard is used by calibre when sending the books to the device, and can be used by the driver to update the metadata later. Using these mean you don't need to worry about using the plugin to update the metadata.
davidfor is offline