Log in |
Scan in a book's barcode using your cuecat barcode reader. You will be redirected to the appropriate page at amazon.com The code to decode the output of the cuecat reader, and turn it into an ISBN, is written entirely in DTML. Read the source:
These four DTML methods are in the public domain. Use them as you please. This code is based on code placed in the public domain from http://www.eblong.com/zarf/bookscan/ and http://www.plover.net/~skip/cc/. Don't try this at home, kids! Do not abuse DTML like this in any code you hope to use later. Write your complex code in Python. Here is a much simpler external method that does exactly the same job. If you find a book that doesn't work, or you want to contact me about this software, mail me <[email protected]> or ask on one of the zope mailing lists. |