View Single Post
Old 03-16-2024, 09:15 AM   #24
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,467
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Comfy.n View Post
Inspired by this question, today I decided to use publisher instead of authors:

Code:
template:"""program: get_one_book_per_field_value('publisher')#@#:b:yes"""
This suggested me an interesting possibility, as I have the Goodreads Metadata plugin: to sort a library by most voted titles, getting only one book by publisher...

In my mind, what followed was: what if I could display only like 5 or 10 titles per publisher? Then I would be able to see filtered in a library a list of the top voted books by publisher!
This has become a game of whack-a-Mole. The number of variants one can make on this theme is unbounded. Why not show 2 books per series where the author has the letter 'Q' in the name and it doesn't have the tag "mumble"? Or two publishers filtered in reverse alphabetical order when the books have ratings > 4? Or the last 3 books by date from an author with notes?

Other templates I have already written are further variants. Example, show the last book in a series and show the first book in a series.

At first blush I don't want to go here. However, I do have an idea that might work and be of general use -- iterate through the displayed books (the current book list) in order, showing N books per field. To use it, one would search for the books of interest and make a temp VL of that search. Then sort the booklist in the order you want the filtering. Then run the filter. This could do all of the above, but does take some thought and planning to make work. I need to think about this.
chaley is offline   Reply With Quote