The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

i2ltconf.pl - configure ISBN to LibraryThing database

USAGE

Download thingISBN.xml.gz

  wget --timestamping --progress=dot:mega \
  http://www.librarything.com/feeds/thingISBN.xml.gz

Extract ISBNs with thingISBNextract.pl (will take some minutes)

  ./thingISBNextract.pl > isbn2lt

Create a database, for instance 'seealso' at MySQL at localhost with user 'USER' and password 'PW'. Load link data into the database:

  ./i2ltconf.pl -d mysql:seealso -u USER -p PW -n -a isbn2lt -s -b

Change database settings in i2lt.pl and put it into your cgi-bin or directly call it from the command line

  ./i2lt.pl id=9789026836787 format=seealso && echo

To make use of the service you can use the JavaScript client that is available at http://ws.gbv.de/seealso/javascript-client/

SYNOPSIS

i2ltconf.pl [options]

OPTIONS

 -help                brief help message
 -status              show database status information
 -new                 purge and/or create new database table
 -add FILE            add ISBN-workcode mappings from a tab-seperated file
 -database DB         database settings (stuff after 'dbi:' in perl's DBI->new)
 -user USERNAME       database user
 -password PASSWORD   database password
 -log LOGFILE         append messages to logfile (not implemented yet)

AUTHOR

Jakob Voss jakob.voss@gbv.de