NAME

WWW::Scraper::ISBN::WHSmith_Driver - Search driver for the WHSmith online book catalog.

SYNOPSIS

See parent class documentation (WWW::Scraper::ISBN::Driver)

DESCRIPTION

Searches for book information from the WHSmith online book catalog

METHODS

search()

Creates a query string, then passes the appropriate form fields to the WHSmith server.

The returned page should be the correct catalog page for that ISBN. If not the function returns zero and allows the next driver in the chain to have a go. If a valid page is returned, the following fields are returned via the book hash:

isbn          (now returns isbn13)
isbn10        
isbn13
ean13         (industry name)
author
title
book_link
image_link
description
pubdate
publisher
binding       (if known)
pages         (if known)
weight        (if known) (in grammes)
width         (if known) (in millimetres)
height        (if known) (in millimetres)

The book_link and image_link refer back to the WHSmith website.

convert_to_ean13()

Given a 10/13 character ISBN, this function will return the correct 13 digit ISBN, also known as EAN13.

convert_to_isbn10()

Given a 10/13 character ISBN, this function will return the correct 10 digit ISBN.

REQUIRES

Requires the following modules be installed:

WWW::Scraper::ISBN::Driver, WWW::Mechanize

SEE ALSO

WWW::Scraper::ISBN, WWW::Scraper::ISBN::Record, WWW::Scraper::ISBN::Driver

BUGS, PATCHES & FIXES

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties that are not explained within the POD documentation, please send an email to barbie@cpan.org or submit a bug to the RT system (http://rt.cpan.org/Public/Dist/Display.html?Name=WWW-Scraper-ISBN-WHSmith_Driver). However, it would help greatly if you are able to pinpoint problems or even supply a patch.

Fixes are dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me.

AUTHOR

Barbie, <barbie@cpan.org>
Miss Barbell Productions, <http://www.missbarbell.co.uk/>

COPYRIGHT & LICENSE

Copyright (C) 2010-2012 Barbie for Miss Barbell Productions

This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.