|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2010
Location: Australia
Device: iPhone
|
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. |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
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 05:08 AM. |
|
|
|
| Advert | |
|
|
|
|
#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 |
| Thread Tools | Search this Thread |
|
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 01:06 PM |
| Problem with Metadata Plugboard | cheveguerra | Calibre | 3 | 10-05-2010 01:00 PM |
| bulk metadata - 2 issues with series | cybmole | Calibre | 7 | 09-27-2010 08:18 AM |
| series metadata feature request | speakingtohe | Calibre | 4 | 07-01-2010 06:58 PM |
| What is series metadata and how do I use it? | Halo | Calibre | 2 | 12-05-2008 11:02 PM |