i2ltconf.pl - configure ISBN to LibraryThing database
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/
i2ltconf.pl [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)
Jakob Voss jakob.voss@gbv.de
jakob.voss@gbv.de
To install SeeAlso::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SeeAlso::Server
CPAN shell
perl -MCPAN -e shell install SeeAlso::Server
For more information on module installation, please visit the detailed CPAN module installation guide.