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 02-11-2012, 10:06 AM   #1
copyrite
Guru
copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.
 
copyrite's Avatar
 
Posts: 916
Karma: 1357105
Join Date: Sep 2010
Location: Maryland
Device: Samsung Galaxy S4, K3K, PW, Kindle Fire 2, Nexus 7.2
Two questions about the Author Field

#1:
How would I go about batch converting multiple author fields?

i.e.,
from
J. R. R. Tolkien & C.S. Lewis
Fred Flintstone & Barney Rubble
to
J. R. R. Tolkien; C.S. Lewis
Fred Flintstone; Barney Rubble

(exchanging the & for a semi-colon)

#2:
How can I batch convert multiple author fields
from
Tolkien, J. R. R.
Lewis, C.S.
etc

to
J. R. R. Tolkien
C.S. Lewis

Thanks!
copyrite is offline   Reply With Quote
Old 02-11-2012, 10:21 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,478
Karma: 41548799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
You really don't want to convert "J. R. R. Tolkien & C.S. Lewis" into "J. R. R. Tolkien; C.S. Lewis". The "&" separator is the correct one to use; it tells Calibre to treat it as a list of multiple authors (ie you'll be able to find the book under both "Tolkien" and "Lewis" as authors. If you were to use a semi-colon, Calibre would treat it as a single author called "J. R. R. Tolkien; C.S. Lewis".
HarryT is offline   Reply With Quote
Old 02-11-2012, 10:23 AM   #3
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 285
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
For #2
You would be looking Edit Metadata in Bulk and the Search and Replace tab.

Search mode - Regular Expression have a play around with that, I'm no good Python Regexp, but someone will pop up and give you one, if you haven't already done it by then.


Or if I misunderstood what you meant by batch convert (you want to do many authors at once) you could do them individually just by Right clicking on Author Name in the Tag Browser panel on the left and choosing Rename!

Last edited by transmitthis; 02-11-2012 at 10:26 AM.
transmitthis is offline   Reply With Quote
Old 02-11-2012, 10:24 AM   #4
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@copyrite - do you mean how you see the authors displayed in your calibre library UI?

You should not attempt your first example - & is the character calibre users to denote multiple authors, and trying to circumvent that with a ; instead will just screw up your database.

For the second example, you can do this with the latest version of the Quality Check plugin, which has an option in the Fix menu which toggles authors between FN LN and LN, FN format.
kiwidude is offline   Reply With Quote
Old 02-11-2012, 10:46 AM   #5
copyrite
Guru
copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.copyrite ought to be getting tired of karma fortunes by now.
 
copyrite's Avatar
 
Posts: 916
Karma: 1357105
Join Date: Sep 2010
Location: Maryland
Device: Samsung Galaxy S4, K3K, PW, Kindle Fire 2, Nexus 7.2
Ooops. A batch find and replace fixed the "& to ;" I'd already done. Thanks for the info on that.

Thanks for the plug in info... exactly what I'm looking for, for that task - and it looks like it does a lot more, too!

Last edited by copyrite; 02-11-2012 at 11:34 AM.
copyrite 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
Author field help CraftingGrandma Library Management 11 09-09-2011 09:58 PM
How tho change the author name field Poldi Calibre 2 08-11-2011 01:37 PM
Just Curious: Format of Author Field xari Calibre 5 09-03-2010 03:25 PM
How to make Author field empty? khutch Calibre 1 08-14-2009 02:12 PM
Author Field Ordering Won't Stick? sirbruce Calibre 15 03-22-2009 07:36 AM


All times are GMT -4. The time now is 10:15 PM.


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