03-17-2017, 06:39 AM | #1 |
Grand Sorcerer
Posts: 7,246
Karma: 65432101
Join Date: Feb 2009
Device: Kobo Glo HD
|
Calibre and collection help
I normaly don't use collections, but I do have one. I do use Calibre, but don't create any collections on the device through Calibre.
I have a lot of series in Calibre. Out of all these series, there are three in particular that I would like to combine into one collection on my Kobo HD. The three series are "Nebula", "Hugo", "Clarke". I would like to combine the three series into one collection called "Award Winners". Can it be done? Thank you. |
03-17-2017, 06:46 AM | #2 |
Guru
Posts: 661
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
If I understand you correctly it can very easily be done.
In Calibre, view your books the way you can see the series (hide cover grid). Mark all books/series you want added to the collection. Right click while over one of them, choose Edit metadata -> Edit metadata in bulk Custom metadata->My Shelves: Write "Award Winners". Ok. This assumes you have set up Calibre to handle collections and use the name "My shelves" (it can be anything you like of course). |
Advert | |
|
03-17-2017, 08:45 AM | #3 |
Resident Curmudgeon
Posts: 74,669
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Don't use My Shelves. Use the existing columns of Tags and Series. All you do is make the database larger for no good reason. Tags works perfectly for Award Winners.
Last edited by JSWolf; 03-17-2017 at 08:50 AM. |
03-17-2017, 09:22 AM | #4 |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Probably davidfor have a better solution, mine is.
Make a Temple Functions: Function: my_series Arg count: 1 Code:
def evaluate(self, formatter, kwargs, mi, locals, r): if r=='Nebula' or r=='Hugo' or r=='Clarke': x = 'Award Winners' else: x = '' return x Make custom column: Lookup: name Column heading: Name Column type: Column build from other columns Template: {series:my_series()} ___________________________________ Add the new column to the driver "#name" Last edited by oren64; 03-17-2017 at 09:33 AM. |
03-17-2017, 10:07 AM | #5 |
Grand Sorcerer
Posts: 7,246
Karma: 65432101
Join Date: Feb 2009
Device: Kobo Glo HD
|
Thank you everyone for the help. It was easier than I thought it was going to be.
|
Advert | |
|
03-17-2017, 10:13 AM | #6 |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@oren64: I was thinking of doing it in the template. So something like:
Code:
program: test( or( strcmp(field('series'), 'Nebula', '', 'Y', ''), strcmp(field('series'), 'Hugo', '', 'Y', ''), strcmp(field('series'), 'Clarke', '', 'Y', ''), ), 'Award Winners', '') |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre - new starter with a collection | y0ta | Library Management | 2 | 02-08-2016 09:53 PM |
Collection column in Calibre | AudraM | Devices | 4 | 11-26-2011 08:57 PM |
PRS-300 Managing Collection using Calibre | sakoni2001 | Sony Reader | 5 | 09-28-2010 01:21 PM |
Calibre Collection (can I transfer) | madcatz990 | Calibre | 3 | 09-27-2010 06:13 PM |
calibre - collection metadata? | roffles | Calibre | 7 | 09-08-2010 10:08 PM |