Quote:
Originally Posted by Purple Lady
I'm using a template function - I copied something Chaley did for someone for the sub collections for Sony PRS+ to start with and changed it to suit me. I have categories that I want as a top level collection, and genres that I want to combine with the #read column. I used to have series and author collections as well, but CC takes care of those.
I end up with these groupings:
Borrowed, Genre unread|Non Fiction, unread
read|-bought, Genre read|Mystery - Thriller, read
unread|-free, Genre unread|Science Fiction, unread
|
You can use a yes/no column (lets call it #read_yesno) by changing the line
Code:
isread = kwargs.get('#read')
to be
Code:
isread = kwargs.get('#read_yesno')
if isread == 'Yes': isread = 'read'
elif isread == 'No': isread = 'unread'
else: isread = ''