View Single Post
Old 09-12-2019, 03:35 AM   #4
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by Cool Javelin View Post
The expressions method for adding books is a real great idea. It allows for flexibility in setting stuff up like author name, title, series, etc...

But entering the expressions in the "nuts and bolts" format is a real PITA.
There is a plugin that remembers numerous Regular Expressions and lets you choose the one to use. Quick Preferences.

https://www.mobileread.com/forums/sh...d.php?t=118776

You still have to supply your expressions, but you only do this once, or when you come across a bunch of books that you need to import that has different naming scheme. Usually you can get away with a complicated RE for parsing
Author Name - optional Series Name [number in a bracket or naked] - Book Title and another for Book Title - Author Firstname Lastname. When I used to import a bunch of books with Lastname, Firstname format, I used Edit books in batch dialog and used regular expressions to swap author names post import.

Send me a PM if you want my [small] collection of import REs. I do not have it available at this computer. It has been a long time since I needed to import a bunch of files that did not have decent metadata included in epub or mobi or other ebook format.

Nowadays I usually just let Calibre parse metadata. You usually need import patterns for recognizing file names when it comes to fan-fiction or other types of documents or perhaps a very old archive of *.txt, *.html or *.doc files.

Last edited by kacir; 09-12-2019 at 03:47 AM.
kacir is offline   Reply With Quote