Recent Releases of https://github.com/acdh-oeaw/arche-oaipmh
https://github.com/acdh-oeaw/arche-oaipmh - Adjust to arche-core 5.7.0
- PHP
Published by zozlak 8 months ago
https://github.com/acdh-oeaw/arche-oaipmh - Honor proxy settings from env vars
- PHP
Published by zozlak 9 months ago
https://github.com/acdh-oeaw/arche-oaipmh - Allow to chose RDF serialization in verb=GetRecordRaw
The GetRecordRaw verb now supports an optional format request parameter.
If provided, it is assumed that the OAI-PMH record is in the RDF-XML format and the the format parameter value is an RDF serialization format mime and an appropriate conversion is being made.
- PHP
Published by zozlak 12 months ago
https://github.com/acdh-oeaw/arche-oaipmh - Rise memory limit to 1G
- PHP
Published by zozlak about 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - TemplateMetadata: fetchValues() removes duplicates
- PHP
Published by zozlak over 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - arche-lib bumped to ^7
- PHP
Published by zozlak over 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - PHP 8.4 deprecation fixes
- PHP
Published by zozlak over 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - TemplateMetadata: extend if syntax
Special values of OAIID, URI/URL and PARENT can now be used on the right side of the if conditions.
- PHP
Published by zozlak over 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - TemplateMetadata: add support for notMatch attribute
- PHP
Published by zozlak over 1 year ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
TemplateMetadata::loadMetadata(): correctly recognize for which resources loading can be skipped
- PHP
Published by zozlak almost 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
Harden TemplateMetadata implementation against some DOM inconsistencies
- PHP
Published by zozlak almost 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Ported to arche-lib 6
- Ported to arche-lib ^6 which means also switch from the easyrdf to the rdf-interface
LiveCmdiMetadataclass replaced by theTemplateMetadataclass which provides simple configuration, better flexibility and more consistency- Tests for all metadata classes added
- PHP
Published by zozlak almost 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Resumption tokens bugfixes
Make the resumption token implementation OAI-PMH standard-conformant by requesting the resumptionToken parameter to be the only parameter allowed (other than verb of course) and storing the information on the metadataPrefix within the resumption token session.
- PHP
Published by zozlak over 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Resumption tokens bugfixes
Fixed two issues:
- all resources starting from the 3rd page of results being reported as deleted due to a wrong initialization of the
HeaderDataobjects from the resumption session data - all resources starting from the 2nd page of results providing no data due to the lack of initialization of the
$repoidproperty of theHeaderDataobjects when created from the resumption session data
- PHP
Published by zozlak over 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Search performance tuning
- PHP
Published by zozlak over 2 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
acdhOeaw\arche\oaipmh\metadata\LiveCmdiMetadata::collectMetaValue(): assure dates with less than 4-digits year are processed correctly
- PHP
Published by zozlak almost 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata extensions
The LiveCmdiMetadata templating engine:
- Supports the
URLEncode="prefix"node attribute generating a value by joining the given prefix (can be empty) with an URL-encoded value. This is applied as a very last value transformation (aftermatch&replace, value maps, etc.). - Allows to use
ComponentIdandasAttributeon the same node. In such a case the value is taken as a text content of a given component evaluated in the current resource context. Then all transformations (match&replace, value maps, etc. are applied) and the final value is written into the attribute indicated by theasAttribute.
- PHP
Published by zozlak almost 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - zozlak/logging version bumped
- PHP
Published by zozlak almost 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata: allow val="RANDOM"
- PHP
Published by zozlak almost 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
acdhOeaw\arche\oaipmh\metadata\LiveCmdiMetadata - preserve literal lang and datype when passing it into the component.
- PHP
Published by zozlak about 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Allow arche-lib 5
- PHP
Published by zozlak over 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - 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 the ResumptionTokenData 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.
- PHP
Published by zozlak over 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata template attributes reworked
Changes done to the acdhOeaw\arche\oaipmh\metadata\LiveCmdiMetadata:
ID(with all the namespace filtering syntax) andIIIFURLvalues of thevalattribute dropped. The same (and much more) can be now achieved withmatchandreplaceattributes. TheidNmspconfig property dropped as a consequence.matchandreplacetemplate attributes added allowing to filter and adjust values based on regular expressions.aggregatetemplate attribute added (can haveminormaxvalue).dateFormattemplate attribute can now take any PHP date format string.- Fixed handling of the format template attribute. For that the new
resolverNmsprequired config property has been introduced.
- PHP
Published by zozlak over 3 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata - remove XML comments from output XML
- PHP
Published by zozlak almost 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - 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 withcountattribute syntax and easier writing in the template as#is an XML entity
- PHP
Published by zozlak almost 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Allow arche-lib 4.0.0
- PHP
Published by zozlak about 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Allow arche-lib 3.0.0
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
LiveCmdiMetadata: fix subtemplate processing when val="/idProp". In such a case subtemplate's XML output shouldn't be cached and subtemplate should be processed with only a single value of the idProp at once.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
LiveCmdiMetadata - assure content of processed tags is also being processed. The main use case are tags with asAttribute attribute.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata - introduce keep-alive timeout
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Send response header immidiately
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
LiveCmdiMetadata - fixed handling literal-based subtemplates.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata statistics reporting improved
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Various improvements
LiveCmdiMetadata:
* Allow defining static value maps (valueMap template attribute)
* Performance improvements: internal XML and RDF cache added, DOMNode::C14N() calls changed to DOMDocument::saveXML()
* Allow selecting subtemplates based on the target resource class. It works in a way {ComponentIdValue}_{targetResourceRdfClass}.xml templates existence is checked first before falling back to {ComponentIdValue}.xml.
Oai:
* Much better logging.
* Error handling for GetRecordRaw made in line with error handling for other verbs.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Minor improvements
LiveCmdiMetadata: emit a meaningfull error on (sub)template parsing error
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
Minor bug in LiveCmdiMetadata::getResourceId() fixed.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
LiveCmdiMetadata: fix <someTag asXML="true" replaceXMLTag="false"/> combination.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata extensions
LiveCmdiMetadata extensions:
- (#3) Allow using subtemplates without changing the subject resource. Required when a boilerplate XML tags are needed around the literal value read from metadata. The syntax is just
<soomeTag componentId="subtemplateName" val="/rdfPropertyName"/>. - (#4) Assure template (profile) names are mapped to valid filenames by replacing all characters out of the
[-A-Za-z0-9_]range to_. (until now only a dirty clarin-specific search&replace has been used)
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - LiveCmdiMetadata extensions
LiveCmdiMetadata is now able to store the defined value in a given attribute of a template XML node. To indicate the attribute name use the asAttribute attribute in the template.
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh -
- Support for
val="METAURL"added - Support for
val="OAIID"(andformatattribute value being appended with@format={formatValue}) added val="IIIFURL"fixedval="ID"fixed and extended with ability to request an ID in a given namespaceval="OAIURI"renamed toval="OAIURL"- Documentation updated
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - 2.0.0
- Adjusted to arche-lib 2.0.0
- Porting to the ARCHE Suite finished
- PHP
Published by zozlak over 4 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Adjusted to arche-* 2.0.0
- PHP
Published by zozlak almost 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Automatic element ids in LiveCmdiMetadata added
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
- Make
verb=GetRecordRawreturn proper xml declaration. - Fix default CMDI template so it reports no errors in the CLARIN curation module
- Few fixes to oai_dc and default CMDI template mappings
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
CMDI template fixes
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
CMDI template fixes
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Execution time limit rised to 30 minutes
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
acdhOeaw\oai\Oai::oaiListRecordRaw() fixed to work with the current config structure.
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - liveCmdiMetadata template for Dublin Core added
- PHP
Published by zozlak about 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
Allow uriProp to be both URI and literal in LiveCmdiMetadata
- PHP
Published by zozlak over 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
Handle resources not belonging to any sets correctly (Postgresql's json_agg() aggregates also nulls).
- PHP
Published by zozlak over 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Simple set handler can now handle sets denoted using URIs
Until now the acdhOeaw\oai\set\Simple could only handled sets denoted using literal property values.
Now it can also handle URIs.
To make it possible an additional config property oai->sets->setNameNamespace has been introduced indicating the target resource id namespace which is used to derive the OAI-PMH compliant set name. The target resource id must be in the given namespace and the set name is created by dropping the namespace from the id.
For example if setNameNamespace: https://vocabs.acdh.oeaw.ac.at/archeoaisets/, setProp: https://vocabs.acdh.oeaw.ac.at/schema#hasOaiSet, idProp: https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier and repository contains set of triples:
_:someRes <https://vocabs.acdh.oeaw.ac.at/schema#hasOaiSet> _:setResource .
_:setResource <https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier> <https://vocabs.acdh.oeaw.ac.at/archeoaisets/mySet> .
_:setResource <https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier> <https://some/other/id> .
then _:someRes is assumed to belong to the mySet set.
- PHP
Published by zozlak over 5 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
Typo in ListSets verb output fixed
- PHP
Published by zozlak almost 6 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Bugfixes
- Kultrupool templates fixes
- Fixes to features backported from the Fedora version
- PHP
Published by zozlak almost 6 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Fedora version enhancements backported
- new
LiveCmdiMetadatatemplating options added - see theacdhOeaw\oai\metadata\LiveCmdiMetadataclass documentation - config file reorganized to distinguish particular components settings clearly
- bugfixes
- PHP
Published by zozlak almost 6 years ago
https://github.com/acdh-oeaw/arche-oaipmh - Initial release
- PHP
Published by zozlak almost 6 years ago