05-16-2024, 08:11 PM | #676 |
Grand Sorcerer
Posts: 11,809
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
05-16-2024, 09:01 PM | #677 |
Custom User Title
Posts: 8,893
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thanks.
Also, what's the best way to copy an identifier URL if you don't need the html in urls_from_identifiers? I thought of using strcat to construct it but I'm having trouble remembering what to use to extract the ID itself. |
05-16-2024, 10:48 PM | #678 |
Grand Sorcerer
Posts: 11,809
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
use select() to get the value of an identifier.
|
05-17-2024, 01:07 AM | #679 |
Custom User Title
Posts: 8,893
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
thank you! that worked!
|
06-09-2024, 06:06 PM | #680 |
Member
Posts: 20
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
|
hi, I'm having trouble with coloring my "reading progress" column, it glitches.
and if somebody have an alternative way to do it, i would appreciate the help |
06-27-2024, 04:21 AM | #681 |
Custom User Title
Posts: 8,893
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question:
Code:
program: status = readstatus(); times = $$#timesread; switch_if( status=='read', 'Read', status=='didnotfinish', 'Did Not Finish', status=='currentlyreading', if times >#0 then 'Currently Rereading' else 'Currently Reading' fi, status=='toberead', if times >#0 then 'To Be Reread' else 'To Be Read' fi, status=='unread', if 'readinggoal:' in $#admintags then 'Backlog' else 'Unread' fi, '' ) |
06-27-2024, 04:50 AM | #682 | |
Grand Sorcerer
Posts: 11,809
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
if 'readinggoal:' & format_date(today(), 'yyyy') in $#admintags then 'Backlog' else 'Unread' fi |
|
06-27-2024, 07:21 PM | #683 |
Custom User Title
Posts: 8,893
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Ah, does a '&' work the same as a strcat in this instance? That's what I was trying but having trouble inserting it into the line.
|
Yesterday, 07:08 AM | #684 | |
Grand Sorcerer
Posts: 11,809
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Here it is with strcat(). Code:
if strcat('readinggoal:', format_date(today(), 'yyyy')) in $#admintags then 'Backlog' else 'Unread' fi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library Management: various questions not worth their own thread | ownedbycats | Library Management | 153 | 05-14-2024 01:30 AM |
[Metadata Source Plugin] Questions regarding parse select, docs and ref templates | Boilerplate4U | Development | 13 | 07-07-2020 02:35 AM |
Questions on Kobo [Interfered with another thread topic] | spdavies | Kobo Reader | 8 | 10-12-2014 11:37 AM |
[OLD Thread] Some questions before buying the fire. | darthreader13 | Kindle Fire | 7 | 05-10-2013 09:19 PM |
Thread management questions | meme | Feedback | 6 | 01-31-2011 05:07 PM |