![]() |
#2836 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Quote:
Reading that above I entered the values with [] and comma and also restart Calibre. After that I delete those collection manually from my Kobo. But after connection, all tags are created again. Although I did not expect to see [name1], [name2] anymore. Is my expection or my understanding from your post wrong? |
|
![]() |
![]() |
![]() |
#2837 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,703
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There are two ways to fix this. One is to delete the tags you don't want as collections or to create a custom column to use as collections and use tags for all the tags. Then you can delete the tags from the custom column when you are done with them. |
|
![]() |
![]() |
Advert | |
|
![]() |
#2838 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,871
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Not 100% if I'm understanding you right but I'll give it a try.
If you enclose a tag in [Square Brackets] it won't appear on the Kobo, unless they've changed it since my post (I doubt this). If a collection is deleted with the driver, Kobo sync may bring it back. (I often have a similar issue with Kobo store books reappearing in my 'to be read' collection.) Delete it on the device itself and sync again and it should stop. Last edited by ownedbycats; 02-27-2023 at 06:34 AM. |
![]() |
![]() |
![]() |
#2839 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,293
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
I have to check the configuration and I'll be back to you this evening, but I think it's something like this: #1,#2,#3. But I don't know if it will be right for you as what I avoid is calibre deleting those collections (they are not in calibre in any way, and I handle them wholly at my Kobo). |
|
![]() |
![]() |
![]() |
#2840 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,799
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#2841 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Thanks all for your reply and suppport.
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#2842 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,799
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
program: # Remove any tag bracketed by [] tags = list_re($tags, ',', '^[^\[].*[^\]]$', ''); # Remove tags listed in tags_to_ignore tags_to_ignore = 'AA.BBF.CCC, onDevice'; list_join(':@:', list_difference(tags, tags_to_ignore, ','), ',') Code:
[PBook], Science Fiction, allbooks.foo, Fiction, Fantasy, General, Epic, AA.BBF.CCC, onDevice Code:
tags_to_ignore = 'AA.BBF.CCC, onDevice'; Code:
allbooks.foo:@:Epic:@:Fantasy:@:Fiction:@:General:@:Science Fiction |
|
![]() |
![]() |
![]() |
#2843 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Quote:
I do not have tags in brackets (they were added by me in the field "ignore collection" only due to the description in the former forum entry by ownedbycats as a solution to delete instead of preventing to delete). Field "collection template" is now: Code:
# Remove tags listed in tags_to_ignore tags_to_ignore = 'danach, kurz'; list_join(':@:', list_difference(tags, tags_to_ignore, ','), ',') Second try: in addition to the template I update field "collection ignore" showing now: danach, kurz But still this two tags are created. In both cases I got an additional tag "Kobo Interpreter: Unknown" |
|
![]() |
![]() |
![]() |
#2844 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
The keyword “program:”, including the colon, at the beginning of chaley's template is important. Your template appears to omit it.
|
![]() |
![]() |
![]() |
#2845 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
|
![]() |
![]() |
![]() |
#2846 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Furthermore, are you using both “collections columns” as well as “collections template”?
If you have the “collections columns” enabled and one or more fields specified, then those will be used as-is, regardless of what you have in the template. Finally, your template does not initialise the tags variable. Since you are not modifying the tags variable like chaley was to remove tags surrounded in square brackets, you can simply replace “tags” with a column lookup on your source collections. So if your custom column lookup name is #koboshelves then I think your template would look, in full, like: Code:
program: # Remove tags listed in tags_to_ignore tags_to_ignore = 'danach, kurz'; list_join(':@:', list_difference($#koboshelves, tags_to_ignore, ','), ',') Last edited by isarl; 02-27-2023 at 10:14 AM. |
![]() |
![]() |
![]() |
#2847 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
|
![]() |
![]() |
![]() |
#2848 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Quote:
I use "collection columns" with three fields. One of the is tags. After being happy with that for years, today I had the idea to reduce the values coming out of "tags". Thanks again for your help but after having some fun to give it a try, I will continue with former setting. Last edited by Katja_hbg; 02-27-2023 at 10:33 AM. |
|
![]() |
![]() |
![]() |
#2849 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
![]() Any tags you do NOT want processed by the template, leave in your Collections Columns field. Any tags which you DO want processed by the template, make sure they are NOT in the Collections Columns field, and that your template logic handles these other fields correctly. For example, if I have Genre (#genre), Collections (#collections), and Tags (tags – this is a builtin column, so no #prefix for it), and I only wanted to perform this custom processing on the tags, then I would put #genre, #collections in the “Collections Columns”. And for the template I would use something like we described previously: Code:
program: # Remove tags listed in tags_to_ignore tags_to_ignore = 'danach, kurz'; list_join(':@:', list_difference($tags, tags_to_ignore, ','), ',') |
|
![]() |
![]() |
![]() |
#2850 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,799
Karma: 7029971
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() Example using the columns you mentioned: Code:
program: # Remove tags listed in tags_to_ignore tags_to_ignore = 'danach, kurz'; list_join(':@:', list_difference($tags, tags_to_ignore, ','), ',', $#genre, ',', $#collections, ',' ) |
|
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 05:24 PM |
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |