![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2011
Device: kindle
|
Normalizing author format
I am new to eBooks and calibre. I have a large calibre database imported from multiple sources. As a result, the author format is inconsistent. I would like to write some software, (preferably a Python or C plugin) that would normalize the author field for whole database. Is it possible to normalize fields without direct use of SQL, and if so what is the best way to go about it? There doesn't appear to be any way to import metadata into calibre except through a conversion.
|
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
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:
Data Import can be done via the CLI which is documented near the end of the Help File. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can probably do what you want with metadata search/replace.
If not, then you can: - write python scripts that are run by calibre (calibre-debug -e script.py). - write user interface plugins - write metadata plugins. See http://manual.calibre-ebook.com/creating_plugins.html and http://manual.calibre-ebook.com/develop.html for information on writing python code that integrates with calibre. @theducks: I agree that this is a borderline development thread. Lets see where it goes. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Author name format | philandjan | Library Management | 7 | 08-16-2011 05:37 PM |
Correct Format for Author Name In Calibre | cynicalgamer | Sony Reader | 2 | 12-26-2010 07:44 PM |
Just Curious: Format of Author Field | xari | Calibre | 5 | 09-03-2010 03:25 PM |
Author Sort format | jdh | Calibre | 6 | 08-14-2009 07:09 AM |
Gen3 Not display Author and Title in Mobi format | Stuart Young | Bookeen | 10 | 12-20-2007 05:46 PM |