Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2023, 03:07 AM   #1
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 172
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
Book-add and Metadata Download, add rules to filter/transform title

All my books downloaded from Amazon get the addition "(German Edition)" in the title. Currently I remove that by a search/replace.

But I would prefer to add such a rule in the Book-add function and in Metadata-download function like tags, author and publisher.

So I wonder whether there is a chance to get some rules for title, at least "suppress/remove: ...specific wording ...".
And maybe some user are interested in the other rules around uppercase/lowercase similar to author and publisher.
Katja_hbg is offline   Reply With Quote
Old 04-08-2023, 04:57 AM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,173
Karma: 6426808
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by Katja_hbg View Post
All my books downloaded from Amazon get the addition "(German Edition)" in the title. Currently I remove that by a search/replace.

But I would prefer to add such a rule in the Book-add function and in Metadata-download function like tags, author and publisher.
Hi, I just leave this option in screenshot below checked: "Read Metadata from file contents".

Click image for larger version

Name:	MWSnap 2023-04-08, 05_40_43.png
Views:	86
Size:	22.0 KB
ID:	200866

Otherwise I *think* you'll need to use a Regular Expression, such as the one I found in this post:

https://www.mobileread.com/forums/sh...6&postcount=14

Code:
^((?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b))(\s*-\s*)?(\[?(?P<series>[^0-9\-]+) (- )?(?P<series_index>[0-9.]+)\]?\s*-\s*)?(?P<title>[a-zA-Z1-9 ]+).+
Look forward to see other members input, as I find regex so intriguing

edit: I think I wrongly presumed that the (German Edition) bit was originating from the filename...

Last edited by Comfy.n; 04-08-2023 at 06:58 AM.
Comfy.n is offline   Reply With Quote
Advert
Old 04-21-2023, 04:57 AM   #3
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 420
Karma: 145424
Join Date: Dec 2017
Device: Kobo
I suggest to use the plugin Mass Search/Replace which allows you to save a search/replace operations and to quickly execute it in 1 click and/or shortcut.
un_pogaz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export the rules to filter/transform PowerOffliner Editor 4 11-03-2023 12:35 PM
Metadata create rules to transform publisher moredrowsy Calibre 4 02-29-2020 09:35 PM
Add Book File Filter Rules Bulk Import? rjbarber Library Management 1 11-08-2018 03:57 PM
Easiest way to add book/title/other metadata? Fiat_Lux Library Management 1 01-17-2012 06:32 PM
Add 'Title' to Category Filter artkaye Library Management 0 09-05-2011 08:52 AM


All times are GMT -4. The time now is 10:03 AM.


MobileRead.com is a privately owned, operated and funded community.