View Single Post
Old 06-28-2011, 04:22 PM   #1069
Fink-Nottle
Junior Member
Fink-Nottle began at the beginning.
 
Posts: 1
Karma: 30
Join Date: Jun 2011
Device: Kindle2
Quote:
Originally Posted by meme View Post
Sounds like you might be moving into custom column territory, but the book count issue could be tricky - I'll have a look to see what can be done

EDIT: A custom column can be setup to create an entry for a Series if there is one and if not use the Author. But then if you limit to 3 books in the plugin, it may be that if you have only 2 books in a series your custom column will show the series name but the plugin will skip it because it has too few books - and the book won't be put into a collection for the author either. I don't see any obvious way in the custom column template language to count the number of books for a series (but I only just looked) which is what is needed. Otherwise the plugin would have to be updated to support some kind of template language to allow comparisons which is probably a bit much. I'll look again at template language - it may be quite simple or even require another plugin
It's a relatively simple solution. The trick is to set up two custom columns like this:

Create custom column ->

Lookup name: coll_series
Column heading : Collection (series)
Column type: "Column built from other columns"
Template box: {series:| [ | ] }

Create custom column ->

Lookup name: coll_author
Column heading : Collection (author)
Column type: "Column built from other columns"
Template box: {series:'test($,'',field('authors'))'}


The non-overlaping series and author collections can now be controlled individually.

Kindle Collections -> Customise collections

Action : create
Calibe source : Collection (author)
Minimum : 2

Action : create
Calibe source : Collection (series)
Minimum : 1
Fink-Nottle is offline