![]() |
#1 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
Getting title from filename
Hi,
I want to be able to read author and title from filename and not from inside the file so in preferences I've unchecked "read metadata from..." In the regular expression field I've put (?P<title>.+) - (?P<author>.+) So now when I add the book "affaire Bernini, L' - Pears, Iain" (Yes I speak french) I have Pears Ian in the author field which is correct and affaire Bernini, L' in the title field which is correct too except that I want to have L'affaire Bernini. What can I do to have solve this? Thanks (and sorry for my english ![]() |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Ah!
L' is an article in French? You need to 'flip' the position since import by filename is limited to what you see at import. Bulk Metadata Edit Mode:Search and Replace can be used to flip a SELECTED group of titles (but not just one) with a comma (.+?), (.+?) \2 \1 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
Make sense, thanks
![]() |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
L' is an article in french yes.
Only small problem, the L is flipped but not the ' |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
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:
My French is limited to "Merci" ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apostrophe in Title/Filename | BobC | Calibre | 5 | 01-12-2016 10:09 AM |
Title page showing filename and not true book title... | hikerguy | Editor | 3 | 03-30-2015 05:37 PM |
how to get chapter title from filename | sperrmull | Sigil | 12 | 12-28-2012 09:39 AM |
Book Title from filename | EricBr | Kindle Formats | 3 | 06-17-2012 10:43 PM |
using filename for title | pj123 | Calibre | 1 | 05-22-2011 06:18 PM |