View Single Post
Old 07-19-2025, 07:35 PM   #11018
palindrome-fox
Junior Member
palindrome-fox began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2025
Device: Kobo Clara B/W
Question about word counts and tags

Hi all,

I have done my best to hunt through the forum and the github for an answer to this - didn't see anything so I apologise if I missed it. I also thought this was the right thread as everything I read is downloaded via FFF from Ao3, then calibre will automatically organise most of it.

Recently I got a new e-reader and consequently I am reorganising how my calibre library is set up. Previously, in order to create wordcount 'categories' I used the count pages and FFF intergration.

I then had a template that I found years ago - it builds a column from the countpages result.
It would generate categories such as: '0-5k', '5-10k', '150k+' etc.
Here is the template if that helps:

Code:
program:
words=raw_field('#wordest');
length=first_matching_cmp(words,
     1, 'UNCOUNTED',
     5000, '0-5k',
     10000, '5-10k',
     25000, '10-25k',
     50000, '25-50k',
     75000, '50-75k',
     100000, '75-100k',
     150000, '100-150k',
     '150k+')
Now, when I am downloading from Ao3 I would like them to be tags instead, so for example book 'X' will have the tags in the calibre 'Tags' column: 'Sci-fi', '150k+', 'Comedy'.

Is this possible? Can I do it via the FFF personal INI? I would REALLY appreciate the help.
palindrome-fox is offline   Reply With Quote