02-23-2018, 05:05 AM | #1 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
calibre-server: Book list templates
It seems that the book list templates only support {field} substitutions, and not the full calibre templating features. For example, {authors} works, but {authors:uppercase()} is left unchanged.
Am I overlooking something? |
02-23-2018, 05:42 AM | #2 |
creator of calibre
Posts: 44,746
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, it does not support the templating language.
|
Advert | |
|
02-23-2018, 03:47 PM | #3 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
Please consider this an enhancement request.
Thanks! |
02-23-2018, 11:31 PM | #4 |
creator of calibre
Posts: 44,746
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's not going to happen, I have no interest in implementing the entire template language in javascript. Simply create a custom column based on the template you want, and display that instead of the original column in the server.
|
02-24-2018, 04:57 AM | #5 |
Enthusiast
Posts: 49
Karma: 102
Join Date: Sep 2010
Location: 52.88504N 06.85904E
Device: PC
|
I see your point. I'd expected these substitutions to be handled by the back-end server. Not the front-end javascript.
|
Advert | |
|
02-24-2018, 05:19 AM | #6 |
creator of calibre
Posts: 44,746
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No the template is evaluated client side, remember that the server is designed to work offline as well, so relying on the server to render the template is not really feasible, as it would prevent listing of books in offline mode.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre-server doesn't honor custom book list settings? | Phssthpok | Related Tools | 4 | 12-28-2017 05:33 AM |
Content Server: default Book list mode | isra00 | Library Management | 1 | 11-23-2017 09:38 AM |
Calibre-server doesn't update books list without stop/start service | gonzalo.cao | Calibre | 2 | 07-12-2017 09:34 AM |
How to upload e-book to Calibre Server? | jdpark7 | Calibre | 5 | 03-09-2014 07:28 AM |
Calibre server "newest" list | Beau | Calibre | 7 | 04-30-2010 02:16 PM |