Commit 778d3532 authored by Röpert, Dominik's avatar Röpert, Dominik
Browse files

use http for identifiers

parent 676b4b1f
......@@ -10,7 +10,7 @@
xmlns:dwciri="http://rs.tdwg.org/dwc/iri/"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:owl="http://www.w3.org/2002/07/owl/">
<!--This is metadata about this metadata document-->
<rdf:Description
......
......@@ -98,9 +98,9 @@ $app->group('/data', function() use ($app) {
## Return specimen RDF
return $this->view->render($response, 'specimen.rdf.template.twig', [
'objectURL' => $request->getUri()->getBaseUrl().$this->get('router')->pathFor('object', [
'objectURL' => str_replace('https://','http://',$request->getUri()->getBaseUrl()).$this->get('router')->pathFor('object', [
'barcode' => $barcode]),
'rdfURL' => $request->getUri()->getBaseUrl().$this->get('router')->pathFor('rdf', [
'rdfURL' => str_replace('https://','http://',$request->getUri()->getBaseUrl()).$this->get('router')->pathFor('rdf', [
'barcode' => $barcode]),
'specimen' => $specimen,
'literals' => Config::get('rdfmapping/literals'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment