in reply to Virtual Distributed Library Online
Couple of notes here:
Here are some example books tags:
- <!-- book-offered:1-56592-419-3 -->
- <!-- book-offered:0-7357-0921-1 -->
- <!-- book-wanted:0-201-48567-2 -->
- <!-- book-loaned:1-56592-262-X,user=979 -->
- <!-- book-loaned:1-56592-392-8,user=39362 -->
ISBNs contain a publisher code, a country code, and a check digit in them. There is a CPAN module Business::ISBN that is useful for validating ISBN numbers, as far as being legally constructed and having a valid check digit. Alas, there is no CPAN module for interfacing to an ISBN database and returning nicely formatted data for our own purposes.
Someone referenced me to a site that allows ISBN lookups, and returns HTML that is parsable, although it's still pretty ugly. www.isbn.nu is the root site, and a book can be looked up by going to isbn.nu/0764550292/price. The 0764550292 is the ISBN. You don't have to add the /price, but it will re-write the URL to contain it. There don't seem to be any obvious other options than /price.
Here's what NOT to do:
- <!-- book-loaned:0764550292,user=<a href="/index.pl?node=9270&lastnode_id=979">9270</a> -->
- <!-- book-loaned:0-7645-0762-1,user=<a href="/index.pl?node=9270&lastnode_id=979">9270</a> -->
And while I think everyone pretty much has in mind lending Perl related books, remember that since it's a simple ISBN, you can also loan your copies of 'McCracken on Fortran', 'Dr. Suess: Green Eggs & Ham', and 'The Kama Sutra'.
--Chris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (jcwren) Re: Virtual Distributed Library Online
by Chmrr (Vicar) on Feb 26, 2001 at 00:15 UTC | |
Re: (jcwren) Re: Virtual Distributed Library Online
by deprecated (Priest) on Feb 26, 2001 at 00:02 UTC |