01-26-2011, 05:21 PM | #1 |
creator of calibre
Posts: 44,520
Karma: 24495784
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Techniques to use plugboards, custom columns and templates
Several people are doing interesting and useful things with templates, plugboards, and composite fields. This thread is a place to put the information.
Plugboards can be accessed from Preferences->Metadata plugboards You can create your own custom columns from Preferences->Add your own column A useful tutorial on the calibre template language is to be found here. Kindle/Kobo Metadata: Show series - series Index - Title as Title (Kindle/Kobo) (economix) Spoiler:
Metadata: Show series [series index] - title as title (Kindle) (Scott Nielsen) Spoiler:
Metadata: Show author name as Initial and Surname (Kindle) (inspired by brewjono) Spoiler:
Reading/read status custom column (Kindle) (pchrist7, w/ideas from beckywc): Spoiler:
Filename (Save Templates) Filename: author sort/series/title - version (WinCE/Mobile (Mobipocket))(sweetpea) Spoiler:
Filename: Create file paths grouping authors into [A - D]-like categories (WinCE/Mobile (Mobipocket)) (Sweetpea) Spoiler:
Filename: Create path based on series index (sweetpea, inspired by Arco Witter) Spoiler:
Sony Metadata Metadata: Show author and title for title (Sony) (Sweetpea) Spoiler:
Metadata: Show title [series [series index]] as title, limiting series to 8 letters (Sony) (chaley) Spoiler:
Metadata: Show series - series index - title, with series as initials (Sony) (inspired by speakingtohe) Spoiler:
Metadata: Given a yes/no 'Read' custom column, have the collections display Read, Reading, Unread (Sony) (sweetpea) Spoiler:
Apple iDevice Metadata Metadata: Several examples (Apple devices) (GRiker) See this post. General Metadata Metadata: Put series into the title, using either initials or a shortened form. Strip leading articles from the series name (any) (inspired by Gary_M_Mugford) Spoiler:
Common composite custom columns All the recipes below require the creation of a custom column of type 'Column built from other columns', called a composite column. Creation instructions are under the spoiler. Spoiler:
Display the ISBN. Template: {isbn} Display the formats for a book. Template: {formats} Display Yes if the book has an EPUB format. Template:{formats:contains(EPUB, Yes,)} Display the author sort. Template: {author_sort} Display the title sort. Template: {title_sort} Last edited by kovidgoyal; 07-09-2017 at 11:15 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Curious - what custom columns are you creating/using? | texasnightowl | Calibre | 16 | 05-28-2015 11:26 AM |
Been away for a few releases...question about custom columns support | texasnightowl | Calibre | 3 | 10-14-2010 10:48 AM |
Custom Columns - the Future? | Starson17 | Calibre | 2 | 07-13-2010 10:56 AM |
Testers wanted for 'series' custom columns | chaley | Calibre | 15 | 06-26-2010 09:43 AM |
Creating custom columns is broken in 0.7.3 | chaley | Calibre | 6 | 06-20-2010 04:40 AM |