Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2009, 02:15 PM   #16
EditorJack
Member
EditorJack began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2007
Device: Sony Reader
For anyone who might be interested, here's a java script (.bsh) that will parse a list of ISBNs and put the isbndb metadata into a text file. I'm using the script as a jEdit macro:

http://www.jedit.org/

Note that you must replace ISBNDBKEY with your actual isbndb.com key.

--------------------------------------------
//This macro parses a list of ISBNs and, using Calibre's isbndb function, generates a text file (c:\batch\metadata.txt) containing the acquired metadata.

runCommandInConsole(view,"System","cd c:\\batch");
textArea.setCaretPosition(0);
while(textArea.getCaretLine()+1 < buffer.getLineCount() )
{
textArea.selectLine();
String MyISBN = textArea.getSelectedText();
runCommandInConsole(view,"System","isbndb -i=" + MyISBN + " ISBNDBKEY >> metadata.txt");
waitForConsole(view); //Wait for isbndb to finish before going to next file
textArea.goToNextLine(false); //Go to next line without selecting it.
}
--------------------------------------------

Best wishes,
Jack
EditorJack is offline   Reply With Quote
Old 01-16-2009, 03:22 PM   #17
BruceB
Member
BruceB began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2008
Device: PRS505
{sorry I've I'd bothered to read the help file, I'd have known the answer - How do I delete a post, the edit/delete button appears to only allow edit}

Is there a "reverse lookup" capability for isbn? For example, I have an author name and a book title, and am looking for the possible ISBNs (clearly there can be multiples, that's OK)

Last edited by BruceB; 01-16-2009 at 03:27 PM.
BruceB is offline   Reply With Quote
Old 01-20-2009, 01:47 AM   #18
CleverClothe
Guru
CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.CleverClothe ought to be getting tired of karma fortunes by now.
 
Posts: 618
Karma: 493394
Join Date: Jun 2008
Location: Seattle, WA
Device: iRex iLiad, Onyx Boox 60
Bruce, the isbndb utility can look up books based on title and author, check the help by passing the "-h" flag to the program.
CleverClothe is offline   Reply With Quote
Reply

Tags
cli, command line, conversion, metadata


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help downloading metadata by ISBN pookiepoo Calibre 15 01-14-2011 10:32 PM
Metadata BUG adding books Giuseppe Chillem Calibre 3 10-08-2010 05:13 PM
Updating Metadata without and ISBN herbycanopy Calibre 7 05-22-2010 01:16 AM
what calibre does when adding books? (metadata) jomaweb Calibre 1 02-06-2010 12:10 PM
adding metadata artemisblossom Calibre 3 09-25-2009 03:24 PM


All times are GMT -4. The time now is 06:09 PM.


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