projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183f748
)
Part of PAZ-996.
author
Mike Taylor
<mike@indexdata.com>
Fri, 27 Mar 2015 14:11:50 +0000
(14:11 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 27 Mar 2015 14:11:50 +0000
(14:11 +0000)
Add support for CC By-SA.
This exhausts all the licences used in the East London data-set.
etc/xsl/solr-pz2.xsl
patch
|
blob
|
history
diff --git
a/etc/xsl/solr-pz2.xsl
b/etc/xsl/solr-pz2.xsl
index
c88b1ed
..
584d10a
100644
(file)
--- a/
etc/xsl/solr-pz2.xsl
+++ b/
etc/xsl/solr-pz2.xsl
@@
-77,6
+77,9
@@
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by/')">
CC By
</xsl:when>
+ <xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-sa/')">
+ CC By-SA
+ </xsl:when>
<xsl:when test="starts-with(., 'http://creativecommons.org/licenses/by-nd/')">
CC By-ND
</xsl:when>