10-13-2010, 05:50 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Location: Australia
Device: iPhone
|
Metadata Plugboard - First Char of each word in Series
Trying to get a "Save to Disk" (Metadata Plugboard) that inserts an Abbreviated Series Name & No in front of the Title (in the ePub metadata).
{series} {series_index:0>3s| - | - }{title} would result in a very long name. I'd like to abbreviate the series down to the first letter of each word. Instead of: "The Lord of the Rings - 002 - The Two Towers." I'd Like: "TLotR - 002 - The Two Towers." Any Help would be greatly appreciated. |
10-14-2010, 04:04 AM | #2 |
Grand Sorcerer
Posts: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Try
Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>3s| - | - }{title} Code:
{series:shorten(4,-,4)}{series_index:0>3s| [|] }{title} Edit: If someone wants to reply here, please do so in the sticky thread Interesting uses of templates, plugboards, and composite fields? Last edited by chaley; 10-14-2010 at 04:08 AM. |
Advert | |
|
10-14-2010, 06:14 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Location: Australia
Device: iPhone
|
Thanks - I went with opt 1 as I just want to group series together on a Kobo
|
Tags |
metadata plugboard |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 Getting Authors to sort by last name using Calibre's metadata plugboard. | ligelowbee | Sony Reader | 5 | 10-14-2010 12:06 PM |
Problem with Metadata Plugboard | cheveguerra | Calibre | 3 | 10-05-2010 12:00 PM |
bulk metadata - 2 issues with series | cybmole | Calibre | 7 | 09-27-2010 07:18 AM |
series metadata feature request | speakingtohe | Calibre | 4 | 07-01-2010 05:58 PM |
What is series metadata and how do I use it? | Halo | Calibre | 2 | 12-05-2008 10:02 PM |