diff --git a/app/Http/Controllers/Oai/RequestController.php b/app/Http/Controllers/Oai/RequestController.php index ed1478a..35ae100 100644 --- a/app/Http/Controllers/Oai/RequestController.php +++ b/app/Http/Controllers/Oai/RequestController.php @@ -144,10 +144,10 @@ class RequestController extends Controller { $email = "repository@geologie.ac.at"; $repositoryName = "Tethys RDR"; - $repIdentifier = "tethys.geologie.ac.at"; + $repIdentifier = "tethys.at"; $sampleIdentifier = "oai:" . $repIdentifier . ":27"; //$this->_configuration->getSampleIdentifier(); $earliestDateFromDb = Dataset::earliestPublicationDate() != null ? - Dataset::earliestPublicationDate()->server_date_published : null; + Dataset::earliestPublicationDate()->server_date_published->format('Y-m-d\TH:i:s\Z') : null; // set parameters for oai-pmh.xslt $this->proc->setParameter('', 'email', $email); diff --git a/public/datasetxml2oai-pmh.xslt b/public/datasetxml2oai-pmh.xslt index f16dfbc..f356f34 100644 --- a/public/datasetxml2oai-pmh.xslt +++ b/public/datasetxml2oai-pmh.xslt @@ -162,12 +162,8 @@ oai_datacite - - http://schema.datacite.org/meta/kernel-4.1/metadata.xsd - - - http://datacite.org/schema/kernel-4 - + http://schema.datacite.org/meta/kernel-4.1/metadata.xsd + http://datacite.org/schema/kernel-4 @@ -266,16 +262,28 @@ - - - - - - - + + + + - - - - - - + + + @@ -287,10 +295,10 @@ - - - - + + + + @@ -300,7 +308,7 @@ - + @@ -319,7 +327,7 @@ - + @@ -362,39 +370,39 @@ - + + )" /> - + - + - - + + - + - - + + - + - + - - - - + + + + @@ -438,13 +446,13 @@ - - + + - + @@ -480,7 +488,7 @@ - + - - @@ -531,11 +539,11 @@ - + - + diff --git a/public/xsl/oai2_style.xslt b/public/xsl/oai2_style.xslt index 211632f..995e4ab 100644 --- a/public/xsl/oai2_style.xslt +++ b/public/xsl/oai2_style.xslt @@ -160,11 +160,11 @@ p.intro { - OAI 2.0 Request Results + TETHYS OAI 2.0 Request Results -

OAI 2.0 Request Results

+

TETHYS OAI 2.0 Request Results

You are viewing an HTML version of the XML OAI response. To see the underlying XML use your web browsers view source option. More information about this XSLT is at the bottom of the page.