Okay, if you're interested, here's a hack for this problem. See this example:
http://ecommons.csun.edu/northridge_xmlui/handle/10211.2/284 How it works: DSpace stores the URL of the chosen CC license in one of the bitstreams for the item [1]. I created an external PHP script [2] that can take that license_url bitstream as a parameter. The script then calls back to DSpace, extracts the CC URL from the bitstream, and redirects the user to the CC site. Finally, I updated Manakin to pass that license_url to the PHP script. [3] --Dave [1] http://ecommons.csun.edu/northridge_xmlui/bitstream/handle/10211.2/284/license_url?sequence=2 [2] http://library.calstate.edu/dspace/license/source.php [3] <!-- creative commons workaround --> <xsl:template match="mets:[EMAIL PROTECTED]'CC-LICENSE' or @USE='LICENSE']"> <div class="license-info"> <p><i18n:text>xmlui.dri2xhtml.METS-1.0.license-text</i18n:text></p> <ul> <xsl:if test="@USE='CC-LICENSE'"> <li><a href="http://library.calstate.edu/dspace/license/?url=http://ecommons.csun.edu{mets:file/mets:[EMAIL PROTECTED]:title='license_url']/@xlink:href}">Creative Commons</a></li> </xsl:if> <xsl:if test="@USE='LICENSE'"> <li><a href="{mets:file/mets:[EMAIL PROTECTED]:title='license.txt']/@xlink:href}">Original License</a></li> </xsl:if> </ul> </div> </xsl:template> ================== David Walker Library Web Services Manager California State University http://xerxes.calstate.edu ________________________________________ From: Walker, David [EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 10:00 AM To: Claudia Jürgen; Dorothea Salo Cc: [EMAIL PROTECTED] Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin display I'm not totally familiar with the DSpace bug tracking/resolution process, so excuse my ignorance here. But should I assume it will be awhile before this bug gets fixed? If so, I can think of a few work-arounds, and will get started on those. --Dave ================== David Walker Library Web Services Manager California State University http://xerxes.calstate.edu ________________________________________ From: Claudia Jürgen [EMAIL PROTECTED] Sent: Monday, October 13, 2008 11:59 PM To: Dorothea Salo Cc: [EMAIL PROTECTED] Subject: Re: [Dspace-tech] Adding Creative Commons icon to Manakin display Hi Dorothea, this is a known bug, see: http://sourceforge.net/tracker/index.php?func=detail&aid=2086708&group_id=19984&atid=119984 Sunny greetings Claudia Jürgen Dorothea Salo schrieb: > Not to hijack the thread, but has anyone else noticed that clicking on > a CC license brings up a page of HTML -- displayed as plain-text? Or > have I done something horrible to my Manakin installation without > meaning to? > > Dorothea > > On Mon, Oct 13, 2008 at 1:32 PM, Walker, David <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> Looks like Manakin does not include the Creative Commons license icon in the >> item display, as the older JSP pages do. >> >> Seems like a simple addition, but thought I would ask if anyone has done >> this already so that I might crib their XSLT. Thanks! >> >> --Dave >> >> ================== >> David Walker >> Library Web Services Manager >> California State University >> http://xerxes.calstate.edu >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> DSpace-tech mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

