Browse Source

OAI plugin: Fix value of dc:type

See http://dublincore.org/documents/2010/10/11/dcmi-type-vocabulary/.
The type must be "Text", not "text".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
pull/57/head
Stefan Weil 8 years ago
parent
commit
93d9798c30
  1. 2
      dlf/plugins/oai/class.tx_dlf_oai.php

2
dlf/plugins/oai/class.tx_dlf_oai.php

@ -222,7 +222,7 @@ class tx_dlf_oai extends tx_dlf_plugin {
$oai_dc->appendChild($this->oai->createElementNS('http://purl.org/dc/elements/1.1/', 'dc:format', 'application/mets+xml'));
$oai_dc->appendChild($this->oai->createElementNS('http://purl.org/dc/elements/1.1/', 'dc:type', 'text'));
$oai_dc->appendChild($this->oai->createElementNS('http://purl.org/dc/elements/1.1/', 'dc:type', 'Text'));
if (!empty($metadata['partof'])) {

Loading…
Cancel
Save