Releases: acdh-oeaw/arche-oaipmh
Releases · acdh-oeaw/arche-oaipmh
Send response header immidiately
2.4.3 Oai.php: send response header immidiately so a client knows we are ha…
Bugfixes
LiveCmdiMetadata statistics reporting improved
2.4.1 LiveCmdiMetadata: statistics reporting improved
Various improvements
LiveCmdiMetadata:
- Allow defining static value maps (
valueMap
template attribute) - Performance improvements: internal XML and RDF cache added,
DOMNode::C14N()
calls changed toDOMDocument::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.
Minor improvements
LiveCmdiMetadata: emit a meaningfull error on (sub)template parsing error
Bugfixes
Bugfixes
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)
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.