View Single Post
Old 03-27-2024, 04:19 AM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,836
Karma: 62032373
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Enumerated column is the easiest method.

My method is to have a #percentread column and then use a template to then translate that into a reading status. This is mainly becuase Kobo Utilities can populate the percentread from my device.

Here's a simplified version of the template I use:

Code:
program:

percent = $$#percentread;

	if (percent >=#1 && percent <=#99)
	then 'Currently Reading' 

	elif percent >=#100
	then 'Read' 

	elif percent == 'None'
	then '' 

	elif percent >=#0
	then 'Unread' 

	fi

Last edited by ownedbycats; 03-27-2024 at 04:45 AM. Reason: mild code changes
ownedbycats is offline   Reply With Quote