|
|
#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 06:15 PM. Reason: Added note about similar use. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,615
Karma: 28549044
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
|
|
|
|
|
![]() |
| Tags |
| isbn, meta data, metadata, search & replace, search and replace |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| KindleUnpack (MobiUnpack): Extracts text, images and metadata from Kindle/Mobi files | adamselene | Kindle Formats | 1311 | 06-26-2024 12:17 PM |
| insert metadata in book - text size | cybmole | Conversion | 3 | 12-15-2020 08:13 AM |
| Is it possible to edit metadata in bulk for columns with long text, like comments? | GustavoB | Library Management | 3 | 04-14-2013 10:39 PM |
| Metadata Editor - showing code not text | Paxman53 | Sigil | 7 | 07-04-2012 07:39 AM |
| Text files duplicate metadata etc? | bramwell1922 | ePub | 2 | 11-19-2011 08:51 AM |