![]() |
#1 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Adding terms to titles using Edit metadata in bulk
![]() All books is to annex with Edit metadata in bulk a (GE)(stands for German Edition) like in Die Augen der Mrs. Blynn (GE). I guess that is to achieve with regexes. I was busy for some time with them but don't get ahead. Got several types of these makeovers. HowToDo? Last edited by chaot; 03-31-2015 at 02:03 PM. Reason: delete but I am not sure / trifles |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,972
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
search: (.+) Replace: \1 (ge) Set Mode to Append to Field Last edited by theducks; 03-19-2015 at 01:05 PM. Reason: shoulda test |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
The book Die zwei Gesichter des Januars show different results in the column Test result depanding of it is in line Your test or Book 1.
It's my first time with regexes in action so allow me to consult you again. I see that the test result is okay! The rest also? Search field: title - otherwise nothing happens. Last edited by chaot; 03-19-2015 at 01:57 PM. Reason: text rearrangement |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
No, it's not OK. Don't use "Append to field" but "Replace field" in the Mode selection.
|
![]() |
![]() |
![]() |
#5 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Yes! Now looks better.
The processing was okay. I thank you both! Ah, one more question: Did I put in the Your test line something wrong? Was to insert something different than Die zwei Gesichter des Januars. It irritates me that in both runs the Test result was OK. Last edited by chaot; 03-19-2015 at 02:21 PM. Reason: add one more question |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,972
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It is useful for testing for unwanted side effects ( that might appear on longer inputs) Acurate Test results is what you want. No unintended side effects ![]() @Terise I thought the OP wanted just to add a suffix To be Honest ![]() Why setting the Language to De is not the proper way for the German version? (US English only reader <Some of the UK versions terms ![]() |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
If he only wanted to add a suffix, with Append Mode he would need (.+) => (GE) (Without \1). In the other way, he gets two titles (as it's shown in the picture).
I don't know (I set language too, and if I would like to see at a glance I would use column coloring or if I want to see int in the reader I would add the suffix in the plugboard, but everybody has his/her way). |
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
And sorry if it irritates you that it says OK if the search/replacement expression is right, when it is. |
|
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,972
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#10 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
The text of this post has been removed by me. Reason: It was unnecessary and rude.
Last edited by chaot; 03-21-2015 at 07:02 AM. Reason: cognition |
![]() |
![]() |
![]() |
#11 | |||||||
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
It is my considered opinion that pictures reveal often more than words, however, always they may serve to illustrate.
Quote:
(New example pics (Homer) for demonstration reasons.) (.+) + \1 (GE) + Append to field Quote:
Quote:
Quote:
![]() In my library there are books of different original languages but mostly translated to German. To see at first glance that a book with a German title isn't a originally in German written book I add (GE). Let me present the advantages. Ilias in 2 languages It shows at a glance the Ilias in original language (without adjunct) and a translated version: Ilias (GE) My calibre interface is German in order to understand you better in the forum if there is made reference to calibre interfaces. Quote:
(.+) + (GE) + Append to field There are (unwanted) commas in the Books -> Test results. Take also attention to the Your test result, a single (GE). Quote:
Quote:
Fact is that only (. +) + \ 1 (GE) + Replace field results correctly so far. In itself this would be enough. But it seems me that you yourselves still disagree about the different options. If such exist at all. I look foreward to supply you with any Homer example images only the combinations for the Edit meta information window must be provided. ![]() Last edited by chaot; 04-13-2015 at 06:46 AM. Reason: add :closed: / edit: It is my considered opinion that pictures reveal often more than words, however, always they may serve to illustrate. / trifles |
|||||||
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,616
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
@chaot, if you look at you picture, you'll see that you have a check near the "Append result", "Split result". If you uncheck it, the comma go away. If you play a bit with the fields you will be able to obtain your desired result.
|
![]() |
![]() |
![]() |
#13 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Really fast. And correct!
In the Replace with field is to insert an space before (GE). Even I can only reflect on your posts or play a bit with the fields - both is impossible ![]() (.+) + (GE) + Append to field + Split result uncrossed The processing was OK. Now we got 2 versions to result same! (.+)|(GE)|Replace field|Split result crossed (.+)| (GE)|Append to field|Split result uncrossed Still the Your test line is a mystery to me. Last edited by chaot; 03-23-2015 at 05:37 AM. Reason: add The processing was okay / add 2 versions / unpossibly→impossible / /→| |
![]() |
![]() |
![]() |
#14 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
A thread should always answer the main question. This was here excellent the case - it was shown even 2 solutions.
Nevertheless, the whole is not satisfactory. More questions are opened unanswered, some were not even questioned. Especially to the Search and replace window. For purposes of self-study I looked to various manual pages: Is there something better than that? The image is approximately anno 1850. And since the counselee should find the way!? It allows conclusions to the topicality of the manual and thus to the quality at all. ![]() When new optics / futures placed in calibre the manual can not be aligned simultaneously!? That is in relation to the former work a minimum of overhead. Last edited by chaot; 04-01-2015 at 04:53 AM. Reason: different→various |
![]() |
![]() |
![]() |
#15 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
That link discusses Search and Replace in the Edit E-Book feature.
Very different from Metadata Edit. You want: http://manual.calibre-ebook.com/meta...ch-and-replace |
![]() |
![]() |
![]() |
Tags |
edit metadata in bulk, regex, search and replace |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bulk Edit - Justify Metadata Comments | lazorbeam | Library Management | 8 | 01-25-2015 05:48 PM |
Edit metadata in bulk vs search and replace | inl1ner | Library Management | 6 | 07-14-2014 06:58 PM |
Bulk metadata edit dialog: Use of regular expressions - how to? | DeepSeaDiver | Library Management | 8 | 07-14-2014 08:27 AM |
Metadata Edit: Bulk vs Individual | RichieTheK | Calibre | 1 | 06-19-2013 11:07 PM |
Tips on Bulk Edit Metadata | deschiff | Calibre | 5 | 10-15-2010 10:54 AM |