WWW-Patent-Page
view release on metacpan or search on metacpan
lib/WWW/Patent/Page.pm view on Meta::CPAN
$self->patent->doc_id_standardized
A convenience value of
$self->patent->doc_id_commified
is provided.
In recognizing the values such as CC country, the priority is:
$self->patent->doc_id as supplied; if absent:
$self->patent->country; if absent:
$WWW::Patent::Page::default_country
=cut
=head2 get_page
method to use the modules specific to Offices like USPTO, with methods for each document/page format, etc., and
LWP::Agent to grab the appropriate URLs and if necessary build the response content or produce error values
=cut
=head2 request
Method to override the LWP::UserAgent::request that gets a URL.
This calls LWP::UserAgent::request itself, but around it adds things like a retry (and possibly debugging, like throwing pages to a browser for display).
=cut
=head2 terms
method to provide a summary or pointers to the terms and conditions of use of the publicly available databases
=head2 _load_modules
internal private method to access helper modules in WWW::Patent::Page
=cut
=head2 _agent
private method to assign default agent
=cut
=head2 _load_country_known
private method to load a big hash and allow it to be folded during code development.
=cut
=head1 DIAGNOSTICS
The accepted tactic is to set $self->{'is_success'} or $self->{'patent'}->{'is_success'} to false and add a message to $self->{'message'} or $self->{'patent'}->{'message'}
=head1 CONFIGURATION AND ENVIRONMENT
WWW::Patent::Page requires no configuration files or environment variables.
WWW::Patent::Page makes use of LWP environmental variables such as HTTP_PROXY.
=head1 DEPENDENCIES
LWP::UserAgent
HTTP::Response
=head1 INCOMPATIBILITIES
None reported.
=head1 BUGS AND LIMITATIONS
Code contributions, suggestions, and critiques are welcome.
Error handling is undeveloped.
By definition, a non-trivial program contains bugs.
For United States Patents (US) via the USPTO (USPTO), the 'kind' is ignored in method provide_doc
=head1 AUTHOR
Wanda B. Anon
Wanda.B.Anon@gmail.com
=head1 LICENSE AND COPYRIGHT
Copyright (c) 2008, Wanda B. Anon wanda.b.anon@GMAIL.com .
All rights reserved.
This program is free software; you can redistribute
it and/or modify it under the Artistic License version 2.0
or above ( http://www.perlfoundation.org/artistic_license_2_0 ) .
=head1 ACKNOWLEDGEMENTS
Hermann Schier, Lokkju, Andy Lester,
the authors of Finance::Quote, Erik Oliver for patentmailer, Howard P. Katseff of AT&T Laboratories for wsp.pl, version 2,
a proxy that speaks LWP and understands proxies, and of course Larry and Randal and the gang.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
( run in 0.621 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )