Re: [dspace-tech] Creative Commons license logo error

2018-12-10 Thread Chloe McLaren
Thanks Paul! We will give it a try!
Best,
Chloe

On Friday, December 7, 2018 at 1:25:23 AM UTC-5, Paul Münch wrote:
>
> Hello Chloe,
>
> the showed logo depends on an hard coded String in the UI-Code. In our 
> XMLUI-Mirage2 Theme we change this behaviour in the source code: 
> https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L646-L696
>
> As you see is the test which logo is choosen: "starts-with($ccLicenseUri,'
> http://creativecommons...')". If you change this test to: 
> "contains($ccLicenseUri,'creativecommons...')", the tests are successful on 
> 'https' and 'http'.
>
> I hope this helps and kind regards,
>
> Paul Münch
>
> Am 06.12.18 um 19:54 schrieb Chloe McLaren:
>
> Hello!
> Our DSpace instance is running 6.3, and we are having a problem with 
> display of the Creative Commons logo. 
> Essentially, if the license uri is http:... the logo comes up specific to 
> the license (see: https://hdl.handle.net/1813/47905) while if the license 
> uri is https:... the logo comes up as a generic "some rights reserved" logo 
> (see: https://hdl.handle.net/1813/59038) 
> Any ideas on how to correct this? Or is this a problem with the CC API?
> Thanks!
> Chloe
>
> Chloe A. McLaren
>
> Metadata Projects Librarian
>
> Library Technical Services
>
> Cornell University Library
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code of 
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> --- 
> 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 dspace-tech...@googlegroups.com .
> To post to this group, send email to dspac...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> Philipps-Universität Marburg | UB 
> Digitale Dienste | Deutschhausstraße 9 | D018
> Tel. +49 06421 28-24624  
> --
>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Creative Commons license logo error

2018-12-06 Thread Paul Münch
Hello Chloe,

the showed logo depends on an hard coded String in the UI-Code. In our
XMLUI-Mirage2 Theme we change this behaviour in the source code:
https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L646-L696

As you see is the test which logo is choosen:
"starts-with($ccLicenseUri,'http://creativecommons...')". If you change
this test to: "contains($ccLicenseUri,'creativecommons...')", the tests
are successful on 'https' and 'http'.

I hope this helps and kind regards,

Paul Münch

Am 06.12.18 um 19:54 schrieb Chloe McLaren:
> Hello!
> Our DSpace instance is running 6.3, and we are having a problem with
> display of the Creative Commons logo.
> Essentially, if the license uri is http:... the logo comes up specific
> to the license (see: https://hdl.handle.net/1813/47905) while if the
> license uri is https:... the logo comes up as a generic "some rights
> reserved" logo (see: https://hdl.handle.net/1813/59038)
> Any ideas on how to correct this? Or is this a problem with the CC API?
> Thanks!
> Chloe
>
> Chloe A. McLaren
>
> Metadata Projects Librarian
>
> Library Technical Services
>
> Cornell University Library
>
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code
> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> 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 dspace-tech+unsubscr...@googlegroups.com
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
Philipps-Universität Marburg | UB 
Digitale Dienste | Deutschhausstraße 9 | D018
Tel. +49 06421 28-24624  
--

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


[dspace-tech] Creative Commons license logo error

2018-12-06 Thread Chloe McLaren
Hello!
Our DSpace instance is running 6.3, and we are having a problem with 
display of the Creative Commons logo. 
Essentially, if the license uri is http:... the logo comes up specific to 
the license (see: https://hdl.handle.net/1813/47905) while if the license 
uri is https:... the logo comes up as a generic "some rights reserved" logo 
(see: https://hdl.handle.net/1813/59038) 
Any ideas on how to correct this? Or is this a problem with the CC API?
Thanks!
Chloe

Chloe A. McLaren

Metadata Projects Librarian

Library Technical Services

Cornell University Library

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.