- set absolute download links for files in oai: RequestController.php & datasetxml2oai-pmh.xslt
This commit is contained in:
parent
4bc66213a4
commit
c649af199c
2 changed files with 4 additions and 3 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue