Releases: acdh-oeaw/arche-oaipmh
Releases · acdh-oeaw/arche-oaipmh
Allow arche-lib 5
4.0.1 composer.json: allow arche-lib 5
Resumption token support added
Added support for the resumption token.
Major version bump is caused by the underlying change in the acdhOeaw\arche\oaipmh\search\SearchInterface
:
- There are two new methods:
checkResumptionTimeout(): bool
for checking if it's the time to stop listing records and issue a resumption token;getResumptionToken(int $pos): ResumptionTokenData
which saves the session and fills in theResumptionTokenData
object with the session data.
- The
find(string $id, string $from, string $until, string $set, ?string $resumptionToken = null)
method has been extended with an optional$resumptionToken
parameter. When it's present, the search results should be restored from a saved session.
LiveCmdiMetadata template attributes reworked
Changes done to the acdhOeaw\arche\oaipmh\metadata\LiveCmdiMetadata
:
ID
(with all the namespace filtering syntax) andIIIFURL
values of theval
attribute dropped. The same (and much more) can be now achieved withmatch
andreplace
attributes. TheidNmsp
config property dropped as a consequence.match
andreplace
template attributes added allowing to filter and adjust values based on regular expressions.aggregate
template attribute added (can havemin
ormax
value).dateFormat
template attribute can now take any PHP date format string.- Fixed handling of the format template attribute. For that the new
resolverNmsp
required config property has been introduced.
LiveCmdiMetadata - remove XML comments from output XML
2.7.0 LiveCmdiMetadata: remove XML comments from generated XML data
LiveCmdiMetadata - count attrbute extensions
- added support for
count="?"
- added support for
count="*"
andcount="?"
whenval="ID"
(and ID variants) - changed
val="ID#NMSP"
syntax intoval="ID?NMSP"
for consistency withcount
attribute syntax and easier writing in the template as#
is an XML entity
Allow arche-lib 4.0.0
2.5.5 Allow arche-lib v4
Allow arche-lib 3.0.0
2.5.4 composer.json: allow arche-lib v3