06-15-2012, 02:52 AM | #1 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Tag browser Series hierarchy
Is it possible to have series hierarchy like we are able to do for tags with periods in the tag browser. I mostly read series and usually just use a world or universe for a multiple series universe. I know one way is to use custom columns but I don't want to do that. I don't care if the series index is one but would like to have a hierarchy in the series name.
|
06-15-2012, 03:00 AM | #2 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Should have checked before asking it works.
|
Advert | |
|
06-15-2012, 03:14 AM | #3 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Ok now that it works I am wondering how to use it in send to device currently I am using
Ebooks/{tags:re([\.],/!)|!|}/{authors[0]}/{authors}/{series}/{series_index:0>5.2f| |-}{title} That make a folder for each series thats ok but with series that are hierarchical I would only like the top series folder and the series name after the period added to the title something like Series\01 - Subseries Title Instead of Series.Subseries\01 - Title As I usually use internal chronology for my series index instead of the publication order for most series they show up in different series folder. |
06-15-2012, 04:30 AM | #4 |
Grand Sorcerer
Posts: 11,962
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I think that the following does what you are looking for.
Code:
Ebooks/{tags:re([\.],/!)|!|}/{authors[0]}/{authors}/{series:subitems(0,1)||/}{series_index:0>5.2f| | - }{series:subitems(1,10)| | - }{title} Note that if there is only one component (no hierarchy), then the result is the series index followed by the title. If you want some text that indicates "no hierarchy", then use something like the following: Code:
Ebooks/{tags:re([\.],/!)|!|}/{authors[0]}/{authors}/{series:subitems(0,1)||/}{series_index:0>5.2f| | - }{series:'ifempty(subitems($, 1,10), 'No Subseries')'| | - }{title} If you want something that indicates "No series" as well, then use something like Code:
Ebooks/{tags:re([\.],/!)|!|}/{authors[0]}/{authors}/{series:'ifempty(subitems($, 0,1), 'No Series')'||/}{series_index:0>5.2f| | - }{series:'ifempty(subitems($, 1,10), 'No Subseries')'| | - }{title} |
06-15-2012, 06:20 AM | #5 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Thank Chaley the first one would be perfect for what I am trying to do. Now to actually put my series in hierarchies.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fields in Tag Browser | hellsworth | Calibre | 2 | 11-06-2011 07:11 AM |
Tag browser searching | Stampercam | Calibre | 2 | 06-25-2011 04:42 AM |
Tag Browser partitioning | dasimser | Calibre | 2 | 01-03-2011 12:18 PM |
Tag Browser & Series | oldbwl | Calibre | 7 | 10-06-2010 04:58 PM |
Empty tag browser | Rachel | Calibre | 18 | 07-26-2010 11:42 AM |