Quote:
Originally Posted by ownedbycats
Here. Since a lot of the options overlap, I use Chain Variations to also have it serve as a 'Mark as DNF' chain. Note the comments.
Attachment 203812
|
Templates used. You may need to adjust things.
Set #lastread. (If you don't use Kobo Utilities, you can just replace this with a predefined value for current datetime.)
Code:
program:
## Check Kobo status column. If it's empty, set to current datetime.
if $#kobostatus=='' then format_date(today(),'iso')
## If kobostatus is populated, date imports from Kobo Utilities - don't overwrite!
else $$#lastread
fi
Add dnf to admintags:
Code:
program: list_union($#admintags, 'dnf', ',')
Increment #timesread:
Code:
program: $$#timesread + 1
Add dates to #readdates:
Code:
program:
list_union(strcat(format_date($$#lastread, 'MMM d yyyy')), $#readdates, ',')
The other SFEs are either predefined or ask-on-runtime.