01-03-2014, 04:56 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
|
Replacement Text Using Metadata
Is there a way to specify the insertion of metadata in replacement text? Specifically the isbn value for the book? I have uploaded several text file versions of books, all with a unique string in the beginning pages that I want to replace with a block of styled text that includes the isbn for the book being processed. I would like for this rule to be dynamic enough to work for all books in the series, rather than manually entering the isbn in the replacement text.
[EDIT]: In the Calibre documentation I see it noted that the template language would use {identifiers:select(isbn)} but using that in the replacement text renders it as the typed string. Last edited by tsunani; 01-03-2014 at 05:15 PM. Reason: Added note about similar use. |
01-03-2014, 10:54 PM | #2 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, there is not way to use metadata during a search and replace. Since you are working with text files it would probably be easy to use a script based on the calibredb utility to do it in bulk.
|
01-06-2014, 12:08 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
|
|
Tags |
isbn, meta data, metadata, search & replace, search and replace |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KindleUnpack (MobiUnpack): Extracts text, images and metadata from Kindle/Mobi files | adamselene | Kindle Formats | 1303 | 12-12-2022 09:22 AM |
insert metadata in book - text size | cybmole | Conversion | 3 | 12-15-2020 07:13 AM |
Is it possible to edit metadata in bulk for columns with long text, like comments? | GustavoB | Library Management | 3 | 04-14-2013 09:39 PM |
Metadata Editor - showing code not text | Paxman53 | Sigil | 7 | 07-04-2012 06:39 AM |
Text files duplicate metadata etc? | bramwell1922 | ePub | 2 | 11-19-2011 07:51 AM |