Part of PAZ-996.
authorMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:11:50 +0000 (14:11 +0000)
committerMike 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

index c88b1ed..584d10a 100644 (file)
@@ -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>