projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Part of PAZ-996.
[pazpar2-moved-to-github.git]
/
etc
/
xsl
/
solr-pz2.xsl
diff --git
a/etc/xsl/solr-pz2.xsl
b/etc/xsl/solr-pz2.xsl
index
9c8bed5
..
e6eaf6e
100644
(file)
--- a/
etc/xsl/solr-pz2.xsl
+++ b/
etc/xsl/solr-pz2.xsl
@@
-74,6
+74,7
@@
<xsl:if test="../@name='license_url'">
<pz:metadata type="license_name">
<xsl:choose>
<xsl:if test="../@name='license_url'">
<pz:metadata type="license_name">
<xsl:choose>
+ <!-- Creative Commons licenses -->
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by/')">
CC By
</xsl:when>
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by/')">
CC By
</xsl:when>
@@
-92,10
+93,12
@@
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nc-nd/')">
CC By-NC-ND
</xsl:when>
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nc-nd/')">
CC By-NC-ND
</xsl:when>
- <!-- There is actually no such licence as this, but East London uses it anyway! -->
+
+ <!-- There is actually no such license as this, but East London uses it anyway! -->
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd-sa/')">
CC By-ND-SA
</xsl:when>
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd-sa/')">
CC By-ND-SA
</xsl:when>
+
<xsl:otherwise>
[unknown]
</xsl:otherwise>
<xsl:otherwise>
[unknown]
</xsl:otherwise>