Changeset 37093
- Timestamp:
- 2023-01-02T17:45:31+13:00 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/document-iiif-manifest.xsl
r37090 r37093 19 19 --> 20 20 21 <!-- **** this only defines xsl-variables => change filename? --> 22 <xsl:include href="layouts/header-core.xsl"/> 21 <xsl:include href="layouts/header-vars.xsl"/> 23 22 24 23 <xsl:include href="pages/document-shared.xsl" /> 25 <!-- **** this only defines xsl-variables => change filename? --> 26 <xsl:include href="pages/document-core.xsl" /> 24 <xsl:include href="pages/document-vars.xsl" /> 27 25 28 26 … … 33 31 <xsl:strip-space elements="*"/> 34 32 --> 35 36 33 37 34 <xsl:variable name="iiifPresentationRootIdentifier">http-greenstone://<xsl:value-of select="$site_name"/>/<xsl:value-of select="$collNameChecked"/>/<xsl:value-of select="$docID"/></xsl:variable> … … 208 205 <xsl:variable name="httpCollection">library/sites/<xsl:value-of select="$site_name"/>/collect/<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:variable> 209 206 210 <xsl:variable name=" chosenTitle">207 <xsl:variable name="toplevelChosenTitle"> 211 208 <xsl:choose> 212 209 <xsl:when test="@docType='simple'"> … … 224 221 "@type": "sc:Manifest", 225 222 "@id": "<xsl:value-of select="$iiifPresentationRootIdentifier"/>/manifest", 226 "label": "<xsl:value-of select="$ chosenTitle"/>",223 "label": "<xsl:value-of select="$toplevelChosenTitle"/>", 227 224 "attribution": "The Internet of Musical Events (InterMusE): Digital Scholarship, Community, and the Archiving of Performance", 228 225 "license": "https://**** To Be Determined ****", … … 260 257 <xsl:template name="wrapDocumentNodes"> 261 258 262 <xsl:call-template name="sectionContent"/> 259 <xsl:if test="@nodeType = 'leaf'"> 260 <!-- for iiif-manifest JSON, put out a flat-list of images => only interested in leaf nodes --> 261 <xsl:call-template name="sectionContent"/> 262 </xsl:if> 263 263 264 264 <xsl:if test="documentNode">
Note:
See TracChangeset
for help on using the changeset viewer.