![]() |
#1036 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,173
Karma: 1270433
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
And the error only happens with calibre preview. @chaley already fixed it. |
|
![]() |
![]() |
![]() |
#1038 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,484
Karma: 29268252
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
I install the portable version of preview releases so that I can see what's coming but I don't use it 'in anger', and I would only refer to it here if I had a problem with it. BR Last edited by BetterRed; 10-28-2024 at 06:51 PM. |
||
![]() |
![]() |
![]() |
#1039 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,280
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Stored template: colours_daysbetween()
Code:
program: arguments(date, colourA, colourB, colourC); now = format_date(today(), 'yyyy-MM-dd'); if days_between(now,date) <#1 then colourA elif days_between(now,date) <=#7 then colourB elif days_between(now,date) <=#30 then colourC fi colours_daysbetween($#lastread, '#00aaff', '#69cfff', '#9bdeff') Last edited by ownedbycats; 11-19-2024 at 11:14 PM. |
![]() |
![]() |
![]() |
#1040 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,280
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
From chaley is this template which can be used to search for series with more than one book:
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1041 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,280
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Last edited by ownedbycats; 12-16-2024 at 10:29 AM. |
|
![]() |
![]() |
![]() |
#1042 | |||
Enthusiast
![]() Posts: 37
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
|
Hi all - so I've been using the following metadata plugboard for a while to edit book titles on my Kindle for proper sorting:
Quote:
What it currently does: Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#1043 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,752
Karma: 59473090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
This is mine
Code:
{series_index:0>5.2f|| - }{title} |
![]() |
![]() |
![]() |
#1044 | ||||
Enthusiast
![]() Posts: 37
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
|
Quote:
![]() I did end up giving the following a try: Quote:
It gets me exactly what I was hoping for with leading zeroes for better title matching: Quote:
Quote:
But if anyone knows of a way to present the above titles as I've got them (without extraneous trailing zeros) - with proper sorting on Kindle - definitely let me know! Last edited by Magic815; 12-30-2024 at 12:36 PM. |
||||
![]() |
![]() |
![]() |
#1045 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,265
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
Code:
program: if '\.' in $series_index then template('{series}{series_index:0>4.1f| #| - }{title}') else template('{series}{series_index:0>2d| #|. - }{title}') fi Your example cited above implies that this might work as well: Quote:
Code:
program: if '\.' in $series_index then template('{series}{series_index:.1f| #| - }{title}') else template('{series}{series_index:d| #|. - }{title}') fi |
||||
![]() |
![]() |
![]() |
#1046 | |
Enthusiast
![]() Posts: 37
Karma: 98
Join Date: May 2022
Device: Kindle Paperwhite 11th Gen (2021)
|
So I tried this one:
Code:
program: if '\.' in $series_index then template('{series}{series_index:0>4.1f| #| - }{title}') else template('{series}{series_index:0>2d| #|. - }{title}') fi Quote:
|
|
![]() |
![]() |
![]() |
#1047 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,265
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Stored template that returns HTML comments as plain text.
The attached exported stored template, comments_to_plain_text(), converts a comments field to plain text. This can be useful when whatever is processing the comments cannot handle HTML, for example the Generate Cover plugin. See the stored template's documenation for details.
|
![]() |
![]() |
![]() |
Tags |
custom column, tag, tags |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 06:06 AM |
Accessories Decalgirl Kindle 2 custom skin template | srmalloy | Amazon Kindle | 6 | 04-09-2010 09:55 PM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |