![]() |
#961 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2023
Device: kindle PW signature edition
|
Hi
I'd like transfer my book on my new kindle with the following structure Library/Author/Title but I'm not able to obtain "Library" automatically I'm trying to create a column with the name of the library, maybe using the function current_library_name(), but I always obtain an empty field. Any suggestion Thank you in advance |
![]() |
![]() |
![]() |
#962 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,779
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#963 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2023
Device: kindle PW signature edition
|
|
![]() |
![]() |
![]() |
#964 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,779
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#965 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2023
Device: kindle PW signature edition
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#966 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 733
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
Example: I have my status column to rate the status of the book (read, to be read, reading) And since I do not synchronize the reader process, I would like if the status of the book is Read, in the process column it would put 100 |
|
![]() |
![]() |
![]() |
#967 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,779
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#968 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 733
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
What I am looking for is that if in that custom column that I have called #goodreadstags it says "Read" in another column where the reading process should appear, it tells me 100 The template should be in the custom column that depends on the result of #goodreadstags I have tried {#goodreadstags:'switch_if($ = 'Read', '100')'} |
|
![]() |
![]() |
![]() |
#969 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,779
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Try this:
Code:
{#goodreadstags:'switch_if($ == 'Read', '100', '')'} |
![]() |
![]() |
![]() |
#970 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 733
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
|
![]() |
![]() |
![]() |
#971 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2019
Location: southern California
Device: Kindle Fire, Android tablet, PC
|
Windows filename aliases
Code:
program: # windows filename aliases windows_alias_000 = titlecase(uppercase(field('title'))); # less-than sign -> left arrowhead \u02c2 windows_alias_010 = re(windows_alias_000, "<", "˂" ); # greater-than sign -> right arrowhead \u02c3 windows_alias_020 = re(windows_alias_010, ">", "˃" ); # colon -> modifier colon \uA789 windows_alias_030 = re(windows_alias_020, ":", "꞉" ); # quote marks, -> single quote \u0027 windows_alias_040 = re(windows_alias_030, "(\"|‘|’|‚|‛|“|”|„|‟)", "'" ); # solidus, division slash, fraction slash -> big solidus \u29f8 windows_alias_050 = re(windows_alias_040, "(/|∕|⁄)", "⧸" ); # reverse solidus -> big reverse solidus \u29f9 windows_alias_060 = re(windows_alias_050, "\u005c", "⧹" ); # vertical line -> broken bar \u00a6 windows_alias_070 = re(windows_alias_060, "\|", "¦" ); # question mark -> Devanagan glottal stop \u097d windows_alias_080 = re(windows_alias_070, "\?", "ॽ" ); # asterisk -> flower puncuation mark \u2055 windows_alias_090 = re(windows_alias_080, "\*", "⁕" ); # period, raised dot, two dot leader, one dot leader -> stenographic full stop \u2e3c windows_alias_100 = re(windows_alias_090, "(\.|⸳|‥|․)", "⸼" ); # extra stuff # change multiple stenographic full stops to -> elipsis \u2026 windows_alias_110 = re(windows_alias_100, "(⸼⸼⸼|⸼ ⸼ ⸼)", "…" ); # change versus windows_alias_120 = re(windows_alias_110, "\bversus\b", "vs" ); windows_alias_130 = re(windows_alias_210, " vs: ", " vs " ); # change figure dash, en dash, em dash to -> hyphen-minus windows_alias_140 = re(windows_alias_220, "(‒|–|—)", " - " ); windows_alias_150 = re(windows_alias_230, "--", "-" ); windows_alias_160 = re(windows_alias_240, "- - -", " - " ); # add space after 'modifier colon' or 'stenographic full stop' windows_alias_200 = re(windows_alias_160, "(꞉|⸼\D)(\w)", "\1 \2" ); # remove extra spaces windows_alias_900 = re(windows_alias_200, "( {2,})", " " ); windows_alias_910 = re(windows_alias_900, "^( )(.*)", "\2" ); windows_alias_920 = re(windows_alias_910, "(.*)( )$", "\1" ); Last edited by chaley; 12-04-2023 at 04:28 PM. Reason: Put template in [code] tags |
![]() |
![]() |
![]() |
#972 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2019
Location: southern California
Device: Kindle Fire, Android tablet, PC
|
other possiblities
Code:
# question mark ➤ possibilities: \u0241 "Ɂ", \0242 "ɂ", \u02a1 "ʡ", \u0294 "ʔ", \u03c0 "ˀ" # asterisk ➤ modifier letter cross acsent \u02df windows_alias_090 = re(windows_alias_080, "\*", "˟" ); |
![]() |
![]() |
![]() |
#973 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2021
Device: Kindle 10th gen and Kobo Aura H2O
|
I would like to create something like this
Quote:
|
|
![]() |
![]() |
![]() |
#974 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,779
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Code:
{author_sort:.1} |
||
![]() |
![]() |
![]() |
#975 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2021
Device: Kindle 10th gen and Kobo Aura H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
custom column, tag, tags |
|
![]() |
||||
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 |