posted by
emperor at 10:44pm on 28/03/2008
Thanks to
tamsinj, I have acquired a bar-code scanner. A Welch Allyn Scanteam 3400, to be precise. It's powered by a USB lead, and outputs down a serial line. I knocked up a short python script (214 lines, including UI, error checking de-duplication, etc.) to extract the ISBN from the barcode, then look that up on amazon (cribbing from
toothycat's perl somewhat!) and hackily screen-scrape the answer, and store the result in a file (with the option for the user to override or correct entries).
It works quite nicely, and I can do about 3 books/minute (including dealing with those that have no bar-code, or whose ISBN amazon doesn't know about, or have no ISBN, and carrying them all up and down stairs). I spent a while doing a couple of shelves' worth (59 books) to iron out the bugs in the UI, and I'm quite pleased with the result.
ETA: I did another couple of shelves, and now have 116 catalogued
It works quite nicely, and I can do about 3 books/minute (including dealing with those that have no bar-code, or whose ISBN amazon doesn't know about, or have no ISBN, and carrying them all up and down stairs). I spent a while doing a couple of shelves' worth (59 books) to iron out the bugs in the UI, and I'm quite pleased with the result.
ETA: I did another couple of shelves, and now have 116 catalogued
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
The book scanning party.
Borrow 4 or 5 scanners. Buy in drink. Invite friends around for an afternoon or evening of attacking your book shelves. Do food.
After several people in your circle of friends have done this, if they are all happy to stick the results in an online database (or some new custom peer to peer thingy, perhaps one designed for music and hacked for books), you'd have the basis for:
* bulk purcheses (20 people want the new Laurel Hamilton? Go for discount)
* book recommendations (hey, everyone has that book but me)
* a meta borrowing library
* dating site (oooh, Ellen's library is 95 % compatible with mine)
(no subject)
(no subject)
(no subject)
When I did mine I found I got quite quick at typing ISBNs in by hand, though a bar code reader would definitely have been a bonus for the fraction of our books that actually have them...
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
I'm finding it hard to figure out why the status isn't delivered down the USB also...
(no subject)