WWW::Scraper::ISBN::Driver

WWW::Scraper::ISBN::Driver is a Perl module that contains driver class for WWW::Scraper::ISBN module.
Download

WWW::Scraper::ISBN::Driver Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andy Schamp
  • Publisher web site:
  • http://search.cpan.org/~aschamp/WWW-Scraper-ISBN-Driver-0.18/Driver.pm

WWW::Scraper::ISBN::Driver Tags


WWW::Scraper::ISBN::Driver Description

WWW::Scraper::ISBN::Driver is a Perl module that contains driver class for WWW::Scraper::ISBN module. WWW::Scraper::ISBN::Driver is a Perl module that contains driver class for WWW::Scraper::ISBN module.SYNOPSIS use WWW::Scraper::ISBN::Driver; $driver = WWW::Scraper::ISBN::Driver->new(); $driver->search($isbn); if ($driver->found) { ... } $driver->verbosity(1); my $book = $driver->book(); print $book('title'); print $driver->error;This is a base class, all site-specific drivers should inherit its members and methods. Driver subclasses named '$name' should be packaged as WWW::Scraper::ISBN::$name_Driver, e.g. WWW::Scraper::ISBN::LOC_Driver for LOC (Library of Congress) driver. Each driver need only implement the search() method, though they may have as many other methods as they need to get their job done. Only search() will be called by WWW::Scraper::ISBN->search().Standard FieldsIt is important that the different drivers return at least a core set of information, though they may return additional information. The following self-explanatory fields should exist in $driver-book>:author title isbnAdditional standard fields may be added in the future. 'volume' and 'edition' are common. In some cases, there may be no information available for 'volume' or 'edition', and so these may be set to the empty string. However, they must still be set in the hash!ExpirationDue to the dynamic, ever-changing nature of the web, it is highly likely that the site from which many of these drivers glean their information will change. Hopefully, driver maintainers will keep drivers up to date, but they will all expire, and may behave unexpectedly. Keep this in mind if the driver continually returns weird results.ExportNone by default. Requirements: · Perl · Carp


WWW::Scraper::ISBN::Driver Related Software