Part of PAZ-996.
authorMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:37:07 +0000 (14:37 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:37:07 +0000 (14:37 +0000)
Add support for recognising both of the Creative Commons public-domain
tools, even though they are not strictly speaking licenses.

etc/xsl/solr-pz2.xsl

index e6eaf6e..b490787 100644 (file)
            CC By-ND-SA
           </xsl:when>
 
+          <!-- Creative Commons' public-domain tools are not actually licences, may well be used -->
+          <xsl:when test=". = 'http://creativecommons.org/about/cc0'">
+           CC0 (public domain)
+          </xsl:when>
+          <xsl:when test=". = 'http://creativecommons.org/about/pdm2'">
+           CC PDL (public domain)
+          </xsl:when>
           <xsl:otherwise>
            [unknown]
           </xsl:otherwise>