View Single Post
Old 06-19-2020, 02:36 PM   #521
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by mirage View Post
Then again, I can always enter the comments manually into the comments in the Calibre Edit Metadata window.
That sounds like far too much effort.

Quote:
Originally Posted by mirage View Post
EDIT: Now that I wish I'd thought of it, I can't figure out how to do it. I got Count Pages working, fwiw. But via that or even manually entering the value of the word count for a given book, do you have a pointer to how I'd enter the appropriate syntax in the Metadata Plugboard window? I can move this question elsewhere if that's appropriate.
The following suggestions pre-suppose that the 2 new custom columns you set up in Count Pages are called #pages and #words. If you called them something else, edit accordingly. See screenshots for the sort of thing which can be done.
[Caveat: my Kobo's are kobopatched to death so the general GUI appearance will differ to defaults, but you should get the gist.]

[See image 1] If you want to prefix a pagecount/wordcount line to the Synopsis in Kobo's Book Details you could try something like the the following in your calibre metadata plugboard:
Code:
Source template: {#pages:|<div>Pages: |; }{#words:|Words: |</div><hr/>}{comments}
Destination field: comments

Or, if you wanted to append '(CP wordcount here)' to each book Title in the MyBooks lists then you could add something like this to your plugboard:
Code:
Source template: {title}{#words:| (|)}
Destination field: title
(Images 1 & 2 both show pagecount appended to book Title, but wordcount should also work.)


Or, if you think adding wordcount to the book Title is ugly, try customising your calibre Kobo driver, either KoboTouch or KoboTouchExtended, on the Metadata tab, Subtitle field, to enable/customise the optional Subtitle template. This will give you an extra line between the book's Title and Series in all the Kobo book lists. Something like this:
Code:
{#words:|Words: |}
(Images 1 & 2 both show Subtitle. I've used Awards rather than wordcount, but you get the picture.)
Attached Thumbnails
Click image for larger version

Name:	kobo_plug1.png
Views:	338
Size:	305.2 KB
ID:	180002   Click image for larger version

Name:	kobo_plug2.png
Views:	324
Size:	139.4 KB
ID:	180003  

Last edited by jackie_w; 06-19-2020 at 07:27 PM. Reason: clarified the calibre Kobo driver names
jackie_w is offline   Reply With Quote