Skip to content

Commit

Permalink
Release 0.02
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 31, 2019
1 parent 414c27f commit 3a661da
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@
Revision history for Genealogy-ChroniclingAmerica

0.02
0.02 Fri 31 May 14:33:50 EDT 2019
Fixed missing matches where names spanned a new line
Don't set env_proxy in a useragent that was passed in

Expand Down
17 changes: 10 additions & 7 deletions README.md
Expand Up @@ -4,20 +4,20 @@ Genealogy::ChroniclingAmerica - Find URLs for a given person on the Library of C

# VERSION

Version 0.01
Version 0.02

# SYNOPSIS

use HTTP::Cache::Transparent; # be nice
use Genealogy::ChroniclingAmerica;

HTTP::Cache::Transparent::init({
BasePath => '/var/cache/loc'
BasePath => '/tmp/cache'
});
my $loc = Genealogy::ChroniclingAmerica->new({
firstname => 'John',
lastname => 'Smith',
country => 'Indiana',
state => 'Indiana',
date_of_death => 1862
});

Expand All @@ -34,9 +34,9 @@ Creates a Genealogy::ChroniclingAmerica object.
It takes three mandatory arguments state, firstname and lastname.
State must be the full name, not an abbreviation.

There are four optional arguments: middlename, date\_of\_birth, date\_of\_death, ua and host.
Host is the domain of the site to search, the default is chroniclingamerica.loc.gov.
Ua is a pointer to an object that understands get and env\_proxy messages, such
There are four optional arguments: middlename, date\_of\_birth, date\_of\_death, ua and host:
host is the domain of the site to search, the default is chroniclingamerica.loc.gov.
ua is a pointer to an object that understands get and env\_proxy messages, such
as [LWP::UserAgent::Throttled](https://metacpan.org/pod/LWP::UserAgent::Throttled).

## get\_next\_entry
Expand All @@ -49,6 +49,9 @@ Nigel Horne, `<njh at bandsman.co.uk>`

# BUGS

If a middle name is given and no match is found,
it should search again without the middle name.

Please report any bugs or feature requests to `bug-genealogy-chroniclingamerica at rt.cpan.org`,
or through the web interface at
[http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Genealogy-ChroniclingAmerica](http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Genealogy-ChroniclingAmerica).
Expand Down Expand Up @@ -82,6 +85,6 @@ You can also look for information at:

# LICENSE AND COPYRIGHT

Copyright 2018 Nigel Horne.
Copyright 2018,2019 Nigel Horne.

This program is released under the following licence: GPL2
4 changes: 2 additions & 2 deletions lib/Genealogy/ChroniclingAmerica.pm
Expand Up @@ -14,11 +14,11 @@ Genealogy::ChroniclingAmerica - Find URLs for a given person on the Library of C
=head1 VERSION
Version 0.01
Version 0.02
=cut

our $VERSION = '0.01';
our $VERSION = '0.02';

=head1 SYNOPSIS
Expand Down

0 comments on commit 3a661da

Please sign in to comment.