Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2013, 10:12 AM   #1
Dullahir
Zealot
Dullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blueDullahir can differentiate black from dark navy blue
 
Dullahir's Avatar
 
Posts: 146
Karma: 13316
Join Date: Nov 2010
Location: Deva, Romania
Device: Android
Question about adding books.

When adding books and selecting 'Read from Book Title' instead of 'Read from Metadata', what would be the proper search function to check which books have the author's first and last name as the title, and the book title proper in the author's sort?

Dead Witch Walking did not write Kim Harrison. ;P

I assume I could add two different groups of books, the first group containing author's names then the book title, such as 'Neil Gaiman - Coraline' and adding the sequence

(?P<author>.+) - (?P<title>[^_]+) instead of (?P<title>.+) - (?P<author>[^_]+) and then adding another group of books that have the book name first and then the title, such as 'Coraline - Neil Gaiman' and reverting to the previous sequence, but is there an easier way?

Last edited by Dullahir; 08-15-2013 at 10:19 AM.
Dullahir is offline   Reply With Quote
Old 08-15-2013, 11:05 AM   #2
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
It is possible to use advanced features in regular expressions to make them handle variations. For instance:

Author - Title
Author - Seriesname Series index - Title

It is more difficult to detect whether it is a Name or a Title.

It is usually much easier to select and add groups of books that use the same naming pattern. And adapt the pattern for each case.
Adoby is offline   Reply With Quote
Advert
Old 08-16-2013, 04:32 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Dullahir View Post
I assume I could add two different groups of books, the first group containing author's names then the book title, such as 'Neil Gaiman - Coraline' and adding the sequence

(?P<author>.+) - (?P<title>[^_]+) instead of (?P<title>.+) - (?P<author>[^_]+) and then adding another group of books that have the book name first and then the title, such as 'Coraline - Neil Gaiman' and reverting to the previous sequence, but is there an easier way?
The way you describe it is accurate. You could make it easier by using the Quick Preferences plugin (find it in this list of plugins). This allows you to save these expressions and quickly change from one to another without opening preferences.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Adding Books and Library Location... Nalapombu Calibre 1 02-17-2012 10:34 PM
Adding more books from an already added directory question vitalichka Library Management 15 02-07-2011 03:08 AM
Calibre - adding books question Roberta Carrota Calibre 4 01-09-2011 04:31 PM
Question about adding books to kindle 2. Sneeterpop Calibre 2 01-02-2010 04:35 PM
Adding books speed question karmalized Calibre 3 03-02-2009 11:32 PM


All times are GMT -4. The time now is 08:00 AM.


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