Hi Andrea, Thanks very much! A combination of page-structure.xsl and the OAI crosswalks is probably the easiest for us.
I know nothing about curation tasks at this point but will queue it in my list of things to learn about. :-) Cheers, Deborah From: Andrea Schweer [mailto:[email protected]] Sent: Tuesday, 19 July 2016 4:27 p.m. To: Fitchett, Deborah <[email protected]> Cc: DSpace Technical Support <[email protected]> Subject: Re: [dspace-tech] Modifying Creative Commons license name Hi Deborah, On 07/19/2016 03:53 PM, Fitchett, Deborah wrote: We’re on DSpace 3.1. When adding a Creative Commons license to an item, DSpace adds the license name straight from the API, eg “Attribution-NoDerivatives 4.0 International”. This is obviously clear in the context of CC’s own API, but is mildly ambiguous in the general environment, so we’d rather it use “Creative Commons Attribution-NoDerivatives 4.0 International”. Is there anywhere to define this (ie creating the metadata field value as “Creative Commons “ + API_result)? Note we don’t have the capability to play with the source code. We can always add it to page-structure.xsl for display purposes, but ideally we’d also like it to come through in our OAI feed too. I don't think there is any way to specify this extra bit. The CCLookup class retrieves the licence name and adds it to the item metadata without any opportunities for changing it. https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-api/src/main/java/org/dspace/license/CCLookup.java#L390 page-structure.xsl will work as you say; for the OAI feed, you should be able to add it to the oai crosswalk/s for the metadata format/s you care about. Right now eg the oai_dc oai crosswalk just takes whatever is the metadata value https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl#L65 but there's no reason why you can't add extra bits inside <dc:rights><xsl:value-of select="." /></dc:rights> or even use a choose statement inside dc:rights to selectively modify some of the values. Are you able to add curation tasks to your DSpace instance? You could write a curation task that changes the CC license names and appends the "Creative Commons " string where required. cheers, Andrea -- Dr Andrea Schweer Lead Software Developer, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 ________________________________ P Please consider the environment before you print this email. "The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system." -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
