Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2016, 12:55 PM   #1
jcrawfordx
Member
jcrawfordx began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2013
Device: kindle 3
Wordcount -- how to append to title (batch)???

In Calibre, is there some relatively non-complex way to append the #word_count field to each title en masse (i.e. batch mode)?

e.g. I would like my "Moby Dick" title field to look like "Moby Dick [395]", indicating there are 395 pages in it. (brackets are not critical)
Thanks
jcrawfordx is offline   Reply With Quote
Old 08-07-2016, 02:48 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: 30,946
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 jcrawfordx View Post
In Calibre, is there some relatively non-complex way to append the #word_count field to each title en masse (i.e. batch mode)?

e.g. I would like my "Moby Dick" title field to look like "Moby Dick [395]", indicating there are 395 pages in it. (brackets are not critical)
Thanks
You do not really want to dirty standard fields (in the Library) like this. It breaks many fetches


You can:
Move the columns around so #word is next to title for browsing the list

You can use it in any Template when sending:
Code:
 {title}-[{#word}]
theducks is offline   Reply With Quote
Advert
Old 08-07-2016, 03:24 PM   #3
jcrawfordx
Member
jcrawfordx began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2013
Device: kindle 3
I apologize, I was not clear on this.

I'd like to append the title with the #page_count so that when I convert the files (en masse) to MOBI or AZW3 format and then send them to my Kindle (or any other e-reader) they will show up in the table of contents that way.

The idea is that when I scroll down the books in my e-reader, I will know how long each book/document is.

I use Calibre to manage thousands of documents, so being able to do this in a "batch mode" is important.

I have no experience with Calibre templates nor python and no clue as to how to do something like this.

thanks
jcrawfordx is offline   Reply With Quote
Old 08-07-2016, 03:29 PM   #4
jcrawfordx
Member
jcrawfordx began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2013
Device: kindle 3
Quote:
You do not really want to dirty standard fields (in the Library) like this. It breaks many fetches
ah, understand. Can you think of some other approach to displaying the page count in the title in my e-reader (Kindle) upon conversion to MOBI or ASW3 that would not be so problematic?
jcrawfordx is offline   Reply With Quote
Old 08-07-2016, 03:48 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.
 
Posts: 13,381
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Why not use a metadata plugboard to change the title when the book is sent to the device?
PeterT is offline   Reply With Quote
Advert
Old 08-07-2016, 04:03 PM   #6
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: 30,946
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 PeterT View Post
Why not use a metadata plugboard to change the title when the book is sent to the device?

Since you (the OP) have a Kindle
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only include batch metadata with exact author/title match iBookMan Calibre 5 04-09-2016 03:40 PM
REQ: to Kovid - add "Append Comments" to batch Edit Metadata of entries jecilop Library Management 2 09-02-2014 02:42 AM
WSJ append Date to Title? winterescape Recipes 4 07-31-2014 11:21 PM
command line batch to change title etc. boell Library Management 6 10-14-2012 06:42 PM
Word Documents - batch convert title property from file name tomliversidge Workshop 4 11-07-2008 11:20 AM


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


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