- set absolute download links for files in oai: RequestController.php & datasetxml2oai-pmh.xslt

This commit is contained in:
Arno Kaimbacher 2020-10-13 17:19:26 +02:00
parent 4bc66213a4
commit c649af199c
2 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,7 @@
<xsl:param name="setPubType" />
<xsl:param name="repositoryName" />
<xsl:param name="repIdentifier" />
<xsl:param name="downloadLink" />
<xsl:param name="sampleIdentifier" />
<xsl:param name="docId" />
<xsl:param name="dateDelete" />
@ -555,7 +556,8 @@
<xsl:template match="File" mode="oai_dc">
<dc:identifier>
<xsl:value-of select="@PathName" />
<!-- <xsl:value-of select="@PathName" /> -->
<xsl:value-of select="concat($downloadLink, @Id)" />
</dc:identifier>
</xsl:template>