Last part of PAZ-996.
authorMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:38:58 +0000 (14:38 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 27 Mar 2015 14:38:58 +0000 (14:38 +0000)
Add support for the two URLs designated by the RIOXX profile itself
for articles to which all rights are reserved.

If we need any more licences later, we'll file new bugs for that.

etc/xsl/solr-pz2.xsl

index b490787..2c5edf3 100644 (file)
            CC PDL (public domain)
           </xsl:when>
  
+          <!-- The RIOXX profile itself provides two ways of saying "all rights reserved" -->
+          <xsl:when test=". = 'http://www.rioxx.net/licenses/all-rights-reserved'">
+           All rights reserved
+          </xsl:when>
+          <xsl:when test=". = 'http://www.rioxx.net/licenses/under-embargo-all-rights-reserved'">
+           Under embargo
+          </xsl:when>
+
           <xsl:otherwise>
            [unknown]
           </xsl:otherwise>