]> git.koha-community.org Git - koha.git/commit
Bug 15108: OAI-PMH provider improvements
authorEre Maijala <ere.maijala@helsinki.fi>
Wed, 15 Feb 2017 13:20:27 +0000 (15:20 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 8 May 2017 13:27:20 +0000 (09:27 -0400)
commit9356c050b2fa2453912581f15938e4bc16b2cc32
tree1f07b3f7191a56707961f079bacfff7dfffd9bfe
parent56bbec4a4ea441ed9d96f6a721cb0f8db2c2550a
Bug 15108: OAI-PMH provider improvements

- Fixed date handling to use UTC as specs require.

- Added support for second precision in time stamps.

- Added support for marc21 metadata prefix as recommended in the
  guidelines (synonym for marcxml).

- Improved performance of database queries especially for large
  collections.

- Unified functionality of ListRecords and ListIdentifiers to a common
  base class.

- If items are included in the records, their timestamps are taken into
  account everywhere so that whichever is the most recent (timestamp of
  biblioitem or any of its items) is considered the record's timestamp.

- Fixed OAI.xslt to show correct record range.

- Incorporated extended tests from Bug 17493 and their tweaks from Bug 15108.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
13 files changed:
Koha/OAI/Server/GetRecord.pm
Koha/OAI/Server/Identify.pm
Koha/OAI/Server/ListBase.pm [new file with mode: 0644]
Koha/OAI/Server/ListIdentifiers.pm
Koha/OAI/Server/ListMetadataFormats.pm
Koha/OAI/Server/ListRecords.pm
Koha/OAI/Server/Record.pm
Koha/OAI/Server/Repository.pm
Koha/OAI/Server/ResumptionToken.pm
installer/data/mysql/atomicupdate/Bug15108-OAI-PMH_provider_improvements.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/opac-tmpl/xslt/OAI.xslt
t/db_dependent/OAI/Server.t