diff --git a/app/Http/Controllers/Oai/RequestController.php b/app/Http/Controllers/Oai/RequestController.php index b2e50e5..4dea1da 100644 --- a/app/Http/Controllers/Oai/RequestController.php +++ b/app/Http/Controllers/Oai/RequestController.php @@ -124,6 +124,7 @@ class RequestController extends Controller $uri = explode('?', $_SERVER['REQUEST_URI'], 2); $this->proc->setParameter('', 'baseURL', url('/') . $uri[0]); $this->proc->setParameter('', 'repURL', url('/')); + $this->proc->setParameter('', 'downloadLink', url('/') . '/file/download/'); // $resumptionPath = $this->configuration->getResumptionTokenPath(); @@ -186,8 +187,6 @@ class RequestController extends Controller $repIdentifier = "tethys.at"; $this->proc->setParameter('', 'repIdentifier', $repIdentifier); - - // Identifier references metadata Urn, not plain Id! // Currently implemented as 'oai:foo.bar.de:{docId}' or 'urn:nbn...-123' if (!array_key_exists('identifier', $oaiRequest)) { diff --git a/public/datasetxml2oai-pmh.xslt b/public/datasetxml2oai-pmh.xslt index af575cb..5373505 100644 --- a/public/datasetxml2oai-pmh.xslt +++ b/public/datasetxml2oai-pmh.xslt @@ -23,6 +23,7 @@ + @@ -555,7 +556,8 @@ - + +