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=detailaid=2086708group_id=19984atid=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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
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=detailaid=2086708group_id=19984atid=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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.5.1 -- Mysterious new feature?
We recently upgraded our test server to DSpace 1.5.1, and encountered a problem with an unresolvable tag in community-home.jsp and collection-home.jsp: input type=hidden name=step value=%= MyDSpaceServlet.REQUEST_EXPORT_ARCHIVE % / As a temporary fix, I found the constant being called and simply hard-coded it in; this let us proceed without an error message. However, when we log in, we are now confronted with a mysterious new button, labeled jsp.mydspace.request.export collection. It doesn't have a messages.properties key. It isn't documented anywhere that we can find. When one clicks on it, one gets a Malformed Request error. It seems to offer the ability to export collections and communities in archive format -- which would indeed be a nifty feature. Is it working for anybody? Is it supposed to be there, or is it something that accidentally snuck in from the development branch? Thanks, Bill Anderson Software Developer Digital Library Development Georgia Tech Library - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.5.1 -- Mysterious new feature?
Hello Charles, just add these tags to your Messages.properties file jsp.mydspace.request.export.collection = Export Collection jsp.mydspace.request.export.item= Export Item (this has been fixed in the maintenance branch 1.5.x) The configuration settings for the item export (which is available afair for administrators and collection administrators) are in the dspace.cfg: org.dspace.app.itemexport.work.dir = ${dspace.dir}/exports org.dspace.app.itemexport.download.dir = ${dspace.dir}/exports/download org.dspace.app.itemexport.life.span.hours = 48 org.dspace.app.itemexport.max.size = 200 Be aware that the item export exports items regardless of access restrictions. hope that helps Claudia Jürgen We recently upgraded our test server to DSpace 1.5.1, and encountered a problem with an unresolvable tag in community-home.jsp and collection-home.jsp: input type=hidden name=step value=%= MyDSpaceServlet.REQUEST_EXPORT_ARCHIVE % / As a temporary fix, I found the constant being called and simply hard-coded it in; this let us proceed without an error message. However, when we log in, we are now confronted with a mysterious new button, labeled jsp.mydspace.request.export collection. It doesn't have a messages.properties key. It isn't documented anywhere that we can find. When one clicks on it, one gets a Malformed Request error. It seems to offer the ability to export collections and communities in archive format -- which would indeed be a nifty feature. Is it working for anybody? Is it supposed to be there, or is it something that accidentally snuck in from the development branch? Thanks, Bill Anderson Software Developer Digital Library Development Georgia Tech Library - 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding Creative Commons icon to Manakin display
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 pi18n:textxmlui.dri2xhtml.METS-1.0.license-text/i18n:text/p ul xsl:if test=@USE='CC-LICENSE' lia 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' lia 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=detailaid=2086708group_id=19984atid=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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's
[Dspace-tech] Fwd: How Dspace 1.5 jspui manage I18N ?
Thank you Claudia, I added the two links to Messages_xx.properties and it works fine. Do others files like [dspace-source]/dspace/config/input-forms_LOCALE.xml or [dspace-source]/dspace/config/emails/register_LOCALE also have to have links in Messages_xx.properties ? . AF -- Forwarded message -- From: Claudia Jürgen [EMAIL PROTECTED] Date: Oct 14, 2008 11:41 AM Subject: Re: [Dspace-tech] How Dspace 1.5 jspui manage I18N ? To: Adam Fethi [EMAIL PROTECTED] Hi Adam, please do NOT write to me personally, but keep discussions started on the DSpace lists on the lists. You'll get better feedback and the discussion is not lost to the DSpace community. Make sure that the links in the Messages_xx.properties point to the right files news-side.html = news-side_xx.html news-top.html = news-top_xx.html Claudia Jürgen Adam Fethi schrieb: Thank you Claudia, it Works fine with Messages_xx.properties, but not with others html files like news-top_xx.html. I create a new-top_xx. html in [dspace-source]/dspace/config/, I run ant init_configs in [dspace-source]/dspace/target/dspace-1.5.1-build.dir. new-top_xx and dspace.cfg are copied to [dspace-dir]/config (I modified dspace.cfg by including xx to webui.supported.locales property). I restarted Tomcat, but Dsapce still use the default file new-top.html when I switch to the language wich correspond to xx. Please help. Thanks. On 10/10/08, Claudia Juergen [EMAIL PROTECTED] wrote: Hi Adam, these are managed via a dependency for dspace-api-lang in the pom.xml and result in a dspace-api-lang.jar in the lib directory which contains all the available Messages_xx.properties for a given version. Hope that helps Claudia Jürgen Hi, How Dspace 1.5 jspui manage I18N, there is no messages_xx.properties files under [tomvat]\webapps\jspui\WEB-INF\classes? AF - 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net 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=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Adding Creative Commons icon to Manakin display
Wow, now thats a Hack ;-) This is why putting a url in a Bitstream is a bit weak. The url should have always just been metadata attached to the Item (i.e. dc:rights). I also see now why the XMLUI used the html file as the link... it was less work to implement the behavior. Heres another trick that I think will work... Change the mime-type/ext on your license BitstreamFormat to be text/ html and htm rather than text/plain. Because your only exposing the html version in XMLUI, this will allow it to render in the browser... I tested this locally and it works without changing the xlink target. All that would be left is to add in the the CC logo. I'll get to work on a better solution under the hood in XMLUI METS java classes and see if we can get those url based license fields to express as dim fields in the generated mets.xml for the Item, then they will be readily available in the XSLT transform. -Mark On Oct 14, 2008, at 1:39 PM, Walker, David wrote: 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 pi18n:textxmlui.dri2xhtml.METS-1.0.license-text/ i18n:text/p ul xsl:if test=@USE='CC-LICENSE' lia href=http://library.calstate.edu/dspace/ license/?url=http://ecommons.csun.edu{mets:file/mets:FLocat [EMAIL PROTECTED]:title='license_url']/@xlink:href}Creative Commons/a/li /xsl:if xsl:if test=@USE='LICENSE' lia href={mets:file/mets:FLocat [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=detailaid=2086708group_id=19984atid=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=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ---