|01-08-2011, 11:43 AM||#1|
Join Date: Oct 2009
metadata plugboard functions?
Is it possible to do more than append and prepend other fields? I'm thinking things like titlecase(title) or input a regular expression to remove parenthetical text from title (such as when series is included in title), etc.
|01-09-2011, 06:37 AM||#3|
"chaley", not "charley"
Join Date: Jan 2010
Device: PRS-300, Galaxy Nexus, Nexus 7, HTC Sensation, Galaxy Tab 10.1
Plugboards can be arbitrary template programs, which can do what you suggest and much more. See http://calibre-ebook.com/user_manual/template_lang.html, and in particular note the three program modes available (single-function, template program, and general program).
For very complicated templates, it might be easier to create a composite column and put the program there. It is rather hard to put something very complicated into the one line available in the plugboard dialog.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|@chaley – Sony PRS505 vs PRS650 - Book sorting & Metadata Plugboard||jackie_w||Calibre||32||12-26-2010 12:45 PM|
|K3 plugboard basics||jackie999||Calibre||13||12-13-2010 04:48 AM|
|Metadata Plugboard - First Char of each word in Series||MikeP1212||Calibre||2||10-14-2010 07:14 PM|
|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|