r55784 - in /branches/upstream/libhttp-oai-perl/current: CHANGES LICENSE MANIFEST META.yml Makefile.PL lib/HTTP/OAI.pm lib/HTTP/OAI/Header.pm lib/HTTP/OAI/Record.pm lib/HTTP/OAI/UserAgent.pm
lars at users.alioth.debian.org
lars at users.alioth.debian.org
Fri Apr 9 01:46:51 UTC 2010
Author: lars
Date: Fri Apr 9 01:46:43 2010
New Revision: 55784
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55784
Log:
[svn-upgrade] Integrating new upstream version, libhttp-oai-perl (3.23)
Added:
branches/upstream/libhttp-oai-perl/current/LICENSE
Modified:
branches/upstream/libhttp-oai-perl/current/CHANGES
branches/upstream/libhttp-oai-perl/current/MANIFEST
branches/upstream/libhttp-oai-perl/current/META.yml
branches/upstream/libhttp-oai-perl/current/Makefile.PL
branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI.pm
branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Header.pm
branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Record.pm
branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/UserAgent.pm
Modified: branches/upstream/libhttp-oai-perl/current/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/CHANGES?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/CHANGES (original)
+++ branches/upstream/libhttp-oai-perl/current/CHANGES Fri Apr 9 01:46:43 2010
@@ -1,3 +1,8 @@
+3.23
+ - Changed license to BSD
+ - Added dependency for XML::SAX rt #43287
+ - Fixed some POD issues rt #51853
+
3.22
- use XML::SAX::Parser rather than ParserFactory
- test the namespace on NamespaceURI rather than the XMLNS attribute, which
Added: branches/upstream/libhttp-oai-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/LICENSE?rev=55784&op=file
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/LICENSE (added)
+++ branches/upstream/libhttp-oai-perl/current/LICENSE Fri Apr 9 01:46:43 2010
@@ -1,0 +1,26 @@
+Copyright (c) 2010, Timothy D Brody
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of University of Southampton nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
Modified: branches/upstream/libhttp-oai-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/MANIFEST?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/MANIFEST (original)
+++ branches/upstream/libhttp-oai-perl/current/MANIFEST Fri Apr 9 01:46:43 2010
@@ -1,6 +1,7 @@
bin/oai_browser.pl
bin/oai_static_gateway.pl
CHANGES
+LICENSE
examples/badbytes.xml
examples/getrecord.xml
examples/identify.xml
Modified: branches/upstream/libhttp-oai-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/META.yml?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/META.yml (original)
+++ branches/upstream/libhttp-oai-perl/current/META.yml Fri Apr 9 01:46:43 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: HTTP-OAI
-version: 3.22
+version: 3.23
abstract: ~
license: ~
author: ~
@@ -16,6 +16,7 @@
URI: 0
XML::LibXML: 1.6
XML::LibXML::SAX: 0
+ XML::SAX: 0
XML::SAX::Base: 1
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.3.html
Modified: branches/upstream/libhttp-oai-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/Makefile.PL?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/Makefile.PL (original)
+++ branches/upstream/libhttp-oai-perl/current/Makefile.PL Fri Apr 9 01:46:43 2010
@@ -15,6 +15,7 @@
'XML::LibXML' => 1.60,
'XML::LibXML::SAX' => 0,
'XML::SAX::Base' => 1.00,
+ 'XML::SAX' => 0,
'URI' => 0,
'HTTP::Request' => 0,
'HTTP::Response' => 0,
Modified: branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI.pm?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI.pm (original)
+++ branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI.pm Fri Apr 9 01:46:43 2010
@@ -2,7 +2,7 @@
use strict;
-our $VERSION = '3.22';
+our $VERSION = '3.23';
# perlcore
use Carp;
@@ -76,16 +76,21 @@
=head1 DESCRIPTION
-This is a stub module, you probably want to look at L<HTTP::OAI::Harvester|HTTP::OAI::Harvester> or L<HTTP::OAI::Repository|HTTP::OAI::Repository>.
+This is a stub module, you probably want to look at
+L<HTTP::OAI::Harvester|HTTP::OAI::Harvester> or
+L<HTTP::OAI::Repository|HTTP::OAI::Repository>.
=head1 SEE ALSO
-You can find links to this and other OAI tools (perl, C++, java) at: http://www.openarchives.org/tools/tools.html.
+You can find links to this and other OAI tools (perl, C++, java) at:
+http://www.openarchives.org/tools/tools.html.
Ed Summers L<Net::OAI::Harvester> module.
=head1 AUTHOR
-Copyright 2004 Tim Brody <tdb01r at ecs.soton.ac.uk>
+Copyright 2004-2010 Tim Brody <tdb2 at ecs.soton.ac.uk>, University of
+Southampton.
-These modules are distributed under the same terms as Perl.
+This module is free software and is released under the BSD License (see
+LICENSE).
Modified: branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Header.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Header.pm?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Header.pm (original)
+++ branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Header.pm Fri Apr 9 01:46:43 2010
@@ -156,6 +156,6 @@
=item $dom_fragment = $id->generate()
-Act as a SAX driver (use C<$h->set_handler()> to specify the filter to pass events to).
+Act as a SAX driver (use C<< $h->set_handler() >> to specify the filter to pass events to).
=back
Modified: branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Record.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Record.pm?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Record.pm (original)
+++ branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/Record.pm Fri Apr 9 01:46:43 2010
@@ -112,9 +112,15 @@
=over 4
-=item $r = new HTTP::OAI::Record([header=>$header],[metadata=>$metadata],[about=>[$about]])
+=item $r = new HTTP::OAI::Record( %opts )
-This constructor method returns a new C<HTTP::OAI::Record object>. Optionally set the header, metadata, and add an about.
+This constructor method returns a new L<HTTP::OAI::Record> object.
+
+Options (see methods below):
+
+ header => $header
+ metadata => $metadata
+ about => [$about]
=item $r->header([HTTP::OAI::Header])
@@ -132,7 +138,7 @@
=head2 Header Accessor Methods
-These methods are equivalent to C<$rec->header->$method([$value])>.
+These methods are equivalent to C<< $rec->header->$method([$value]) >>.
=over 4
Modified: branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/UserAgent.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/UserAgent.pm?rev=55784&op=diff
==============================================================================
--- branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/UserAgent.pm (original)
+++ branches/upstream/libhttp-oai-perl/current/lib/HTTP/OAI/UserAgent.pm Fri Apr 9 01:46:43 2010
@@ -274,11 +274,19 @@
Requests the HTTP response defined by $req, which is a L<HTTP::Request|HTTP::Request> object.
-=item $r = $ua->request(baseURL=>$baseref,verb=>$verb,[from=>$from],[until=>$until],[resumptionToken=>$token],[metadataPrefix=>$mdp],[set=>$set],[oainame=>$oaivalue],...)
-
-Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an HTTP::Response object.
-
-=item $str = $ua->url(baseURL=>$baseref,verb=>$verb,...)
+=item $r = $ua->request(baseURL=>$baseref, verb=>$verb, %opts)
+
+Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an L<HTTP::Response> object.
+
+OAI-PMH related options:
+
+ from => $from
+ until => $until
+ resumptionToken => $token
+ metadataPrefix => $mdp
+ set => $set
+
+=item $str = $ua->url(baseURL=>$baseref, verb=>$verb, ...)
Takes the same arguments as request, but returns the URL that would be requested.
More information about the Pkg-perl-cvs-commits
mailing list