03-28-2018, 04:04 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jan 2012
Device: Windows 10 Tablet
|
Another 'Send to Disk' Question
I am trying to get my files to save to template using a hierarchy tag structure.
So, example, say I have a recipe book, it would like like this in Calibre: Title: Favourite Recipes Author: Various Authors Tag:600 Technology.640 - Recipes Fiction:Non-Fiction (Custom column) and Title:IT Author:Stephen King Tag:800 Literature Fiction:Fiction I am trying to save these to disk using a template to split the fiction and non-fiction. So far, I have got the following: Code:
program: middle = contains( field('#fiction'), 'Non-Fiction', strcat(field('tags'),"/",field('title'),' - ',field('author'),""), strcat(field('author_sort'),'/',field('title')) ); strcat(field('#fiction'),'/',middle) - Non-Fiction\600 Technology\640 - Recipes\Favourite Recipes - Various Authors - Fiction\King, Stephen\IT I've tried playing around with {tags:subitems(0,1)||/} but I just cannot get it to work. Any help would be appreciated. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with 'Send to Disk' template | Kaimeirra | Library Management | 13 | 03-14-2018 08:22 PM |
Using Tags or tag-like column in Save To Disk/Send to Device | BookJunkieLI | Library Management | 34 | 05-03-2015 05:45 AM |
Send to Device (iPad) vs. Save to Disk (cover issue) | 1611mac | Devices | 17 | 04-20-2011 11:19 AM |
Save to disk question | Amalthia | Calibre | 2 | 08-16-2010 06:17 PM |
Save to Disk or Send to device | Dopedangel | Calibre | 13 | 12-11-2009 01:56 PM |