Re: [Dspace-tech] encoding issue - again?
Elo! The Dark Lord from Redmont stroke again! Thanks so much Dorothea, that makes perfect sense. The best example of not a bug but a feature that I have seen so far! I replaced all that gunk with the proper UTF characters in the database and the problem is indeed solved. Thanks again. I was indeed totally looking the wrong way! ~maike On 21-Apr-08, at 5:57 AM, Dorothea Salo wrote: (tr etc) #146;Feel It, Don#146;t Think: snip which displays like 'Feel It, Don't Think: snip This isn't UTF-8. This is a mangled horror from Microsoft. Windows-1252, I think it's called; see http://www.alanwood.net/demos/ansi.html. You have two choices: fix the encoding in your items (if what is supposed to appear above is a right single quote, #146; should be #8217;), or switch out of UTF-8 back to Windows-1252. I recommend the former; it's more up-front hassle, but far less hassle as future items appear in UTF-8. Dorothea - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] encoding issue - again?
Hi all, I'm really fazed by this one. I may be staring in the face of the obvious, but just need another pair of eyes (or brains) to see what is going on here. I'm upgrading from 1.2.1 to 1.5. Now at 1.4. Re. UTF-8 compliancy: I did everything that seems to be required: postgres DB says: dspace= \l+ List of databases Name| Owner | Encoding |Description ---+--+--+--- dspace| postgres | UTF8 | == Java process says: [EMAIL PROTECTED] conf]$ ps -eF | grep UTF dspace 23927 1 0 186486 43356 0 18:19 pts/000:00:07 /usr/local/jre/bin/java -Xmx512M -Xms64M -Dfile.encoding=UTF-8 {...} == .bash_profile for user Dspace says: JAVA_OPTS=-Xmx512M -Xms64M -Dfile.encoding=UTF-8 == but still: 1.2.1 installation, HTML source of browse-title gives (tr etc) #146;Feel It, Don#146;t Think: snip which displays like Feel It, Dont Think: snip while 1.4 gives: (tr etc) amp;#146;Feel It, Donamp;#146;t Think: snip which displays like #146;Feel It, Don#146;t Think: The headers of the source code both say: meta http-equiv=Content-Type content=text/html; charset=UTF-8 the database for BOTH installations contain the same lines: 1.4 dspace= select * from itemsbytitle where title like '%Digital Games%'; items_by_title_id | item_id | title | sort_title ---+-+-+-- 1603077 |1510 | #146;Feel It, Don#146;t Think: 1.2.1 dspace= select * from itemsbytitle where title like '%Digital Games%'; items_by_title_id | item_id | title | sort_title ---+-+-+-- 1690147 |1510 | #146;Feel It, Don#146;t Think: now what can I have overlooked? ~maike - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Titles are not displayed correctly in updated Dspace 1.2.1 - 1.4
Hi I am in the process of updating a 1.2.1 Dspace installation to 1.5 I am not at 1.4 and there are some issues that I have a hard time to figure out. The first one is that, for instance, on the Browse by Title page, the special characters in the entries show up like 2006#145;Controlled by Canadians#146; #150; Public process and the CRTC: Public participation, the community channel, and the regulation of Canada#146;s broadcasting system 2005#146;Feel It, Don#146;t Think: the Significance of Affect in the Study of Digital Games 2006#147;Second image reversed#148; reexamined while this is still OK in the old 1.2.1 installation: 2006Controlled by Canadians Public process and the CRTC: Public participation, the community channel, and the regulation of Canadas broadcasting system 2005Feel It, Dont Think: the Significance of Affect in the Study of Digital Games 2006Second image reversed reexamined I have activated UTF-8 in Tomcat's server.xml .. AND there is a JAVA_OPTS environment variable: JAVA_OPTS=-Xmx512M -Xms64M -Dfile.encoding=UTF-8 I'm using Postgres 8.1 so that should have standard UTF support .. any idea where else this might go wrong? TIA -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How do I set the handle to local ?
Hi, another problem with the 1.2.1 - 1.4 upgrade: I am installing the upgrade on another server. I made a fresh environment with new versions of Tomcat (5.5) and Postgres (8.1) and copied the whole thing over: dspace directory, assetstores, database dump. It seems to work pretty well until now, except a few issues that I am slowly staring myself blind upon. The first one is in that previous mail .. the incorrect rendering of some characters in the titles, and the other one is this: I get an error upon clicking on a displayed entry. I *assume* that this is because it is not possible to port the handle over to another machine just like that, and want to at least get a fresh start by starting out with the handle set to the default 123456789/ . But when I change the handle setting in dspace.cnf to 123456789 - nothing changes. It keeps generating URL's like http://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3409 and not http://lib-ir.lib.sfu.ca:8080/dspace/handle/123456789/3409 after clicking one of those, dspace.log shows this: 2008-04-07 00:59:55,393 INFO org.dspace.app.webui.servlet.DSpaceServlet @ anonymous:session_id=CF40451CD0DCBD8596A6F02F0C189E22:ip_addr=64.180.221.18:view_i tem:handle=1892/3390 2008-04-07 00:59:55,430 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=CF40451CD0DCBD8596A6F02F0C189E22:internal_error:-- URL Was: htt p://lib-ir.lib.sfu.ca:8080/dspace/handle/1892/3390 -- Method: GET -- Parameters were: java.lang.NullPointerException at org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:286) at org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:164) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) (etcetera) and DSpace displays: Internal System Error The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. any hint as to what might be causing this persistent memory of the old handle prefix .. and how to wipe that? (or other suggestions ... maybe I am all wrong in thinking it is caused by the fact that I cannot use the same handle prefix on another server?) TIA -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] URL's are not displayed correctly in updated Dspace
HiI am in the process of updating a 1.2.1 Dspace installation to 1.5I am not at 1.4 and there are some issues that I have a hard time to figure out.The first one is that, for instance, on the Browse by Title page, the special characters in the entries show up like2006 #145;Controlled by Canadians#146; #150; Public process and the CRTC: Public participation, the community channel, and the regulation of Canada#146;s broadcasting system 2005 #146;Feel It, Don#146;t Think: the Significance of Affect in the Study of Digital Games 2006 #147;Second image reversed#148; reexaminedwhile this is still OK in the old 1.2.1 installation:2006 ‘Controlled by Canadians’ – Public process and the CRTC: Public participation, the community channel, and the regulation of Canada’s broadcasting system2005 ’Feel It, Don’t Think: the Significance of Affect in the Study of Digital Games 2006 “Second image reversed” reexaminedI have activated UTF-8 in Tomcat's server.xml ..AND there is a JAVA_OPTS environment variable: JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8"I'm using Postgres 8.1 so that should have standard UTF support.. any idea where else this might go wrong?TIA--Ms. Maike Dulk - Programmer / AnalystMcPherson Library, University of Victoria(t) 250-886-5709 / (e) [EMAIL PROTECTED]-- Harthon gerithach aeair vilui / I hope you will have kind seas - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] upgrade 1.2.1 - input-forms.xml
hi I was wondering why I could not find a input-forms.xml in the old 1.2.1 installation of DSpace .. and noticed this line in the upgrade doc, the 1.2.1 to 1.2.2 paragraph: To finialise the install of the new configurable submission forms you need to copy the file [dspace-1.2.2-source]/config/input-forms.xml into [dspace]/config. So how was the input process configured before that? I can't really figure out if that old installation was customised in any way, and if and how I should port that to the input-forms.xml ... -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Older versions of Dspace?
if anyone's interested .. I've uploaded my checklist from the 1.2.2 -> 1.4.1 to my website athttp://luthien.awardspace.co.uk/doc/dspace_documentation_v2.doc- or -http://luthien.awardspace.co.uk/doc/dspace_documentation_v2.pdfOn 26-Mar-08, at 8:27 PM, Jayan Chirayath Kurian wrote:It would look nice to upgrade to a latest version (1.5) from previous major releases (1.3) with the help of a checklist.Thanks, Jayan--Ms. Maike Dulk - Programmer / AnalystMcPherson Library, University of Victoria(t) 250-886-5709 / (e) [EMAIL PROTECTED]-- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Older versions of Dspace?
thanks Mark and James! my goodness .. it was just below there on the DL page ... ... just overlooked it *blush* thanks again. On 26-Mar-08, at 10:02 AM, James Rutherford wrote: They're all on SourceForge : http://sourceforge.net/project/showfiles.php?group_id=19984package_id=64285 Jim On Wed, Mar 26, 2008 at 04:58:06PM +, Maike Dulk wrote: Hi I've been asked to upgrade a Dspace 1.2.1 installation .. and it looks like I am going to do that in multiple stages. Problem is - I cant find older versions of dspace - anywhere in the internet. Does anyone know if and where they'd be available? TIA :) -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Older versions of Dspace?
Hi Claudia that would be much appreciated! thanks in advance for your time! I did an update from 1.2.2 to 1.4.2 last year, via to 1.3.2 and 1.4.1 ... and indeed did the DB updates and JSP local change updates .. and all the configuration things. Is there a way to shortcut this then? Did you do it in one go from 1.2.1. to 1.4.1? maike On 26-Mar-08, at 10:05 AM, Claudia Jürgen wrote: Hi Maike, you can download the older versions via Sourceforge http://sourceforge.net/project/showfiles.php?group_id=19984 As for updating we did 1.2.1 - 1.4.1 last year, basically you need to adjust prerequisites, update the db schema step by step, adjust your local changes and then just build it with the new code. If I can find my checklist, I'll send it to you. cheers Claudia Maike Dulk schrieb: Hi I've been asked to upgrade a Dspace 1.2.1 installation .. and it looks like I am going to do that in multiple stages. Problem is - I cant find older versions of dspace - anywhere in the internet. Does anyone know if and where they'd be available? TIA :) -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Older versions of Dspace?
thanks! On 26-Mar-08, at 5:03 PM, Scott Phillips wrote: Each of the major points (1.2, 1.3, 1.4, 1.5) require database schema changes so you can not skip those. You can skip all the minor points (1.3.1, 1.3.2, 1.4.1, 1.4.2, etc...) However if you skip those minor points then you must start with a fresh configuration file set from the latest version and update it accordingly. Scott-- On Mar 26, 2008, at 6:47 PM, Gary Browne wrote: Hi all Sort of related to this thread - I'm currently on 1.4.1 and want to go to 1.5. Any suggestions of best path? Do I need to upgrade to 1.4.2 first? Or best to just install 1.5 and migrate data then run db scripts etc? Thank you kindly G Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maike Dulk Sent: Thursday, 27 March 2008 10:10 AM To: dspace-tech Subject: Re: [Dspace-tech] Older versions of Dspace? thanks Scott! yes, that's how I did it the previous time as well. My only uncertainty is which releases are safe to skip ... last time I figured out that, going from 1.2.2. to 1.4.1, I could skip versions 1.3, 1.3.1 and 1.4 maike On 26-Mar-08, at 11:10 AM, Scott Phillips wrote: Previously on SourceForge versions older than 2 or 3 releases had been tagged as hidden. I corrected that when I put up the 1.5 release because it made sense that all stable releases should be public, and only old beta alphas are hidden. However the previous advice is correct, all you should need to do is run each of the SQL upgrade scripts from each version, and then update your configuration. In my opinion the best option would be to just grab a fresh copy of the configuration files and update your values in that instead of trying to add only new parameters step-by- step - you're very likely to miss something. Scott-- -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Older versions of Dspace?
if anyone's interested .. I've uploaded my checklist from the 1.2.2 - 1.4.1 to my website at http://luthien.awardspace.co.uk/doc/dspace_documentation_v2.doc - or - http://luthien.awardspace.co.uk/doc/dspace_documentation_v2.pdf On 26-Mar-08, at 8:27 PM, Jayan Chirayath Kurian wrote: It would look nice to upgrade to a latest version (1.5) from previous major releases (1.3) with the help of a checklist. Thanks, Jayan -- Ms. Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Creative Commons Enigma
http://wiki.dspace.org/index.php/TechnicalFaq http://wiki.dspace.org/index.php/LocaliseCreativeCommons :-) maike On 11-Jan-08, at 9:04 AM, Richard Rodgers wrote: Glad it worked! Sure, the wiki is fine. Just somewhere that someone else searching could discover. Thanks, Richard On Thu, 2008-01-10 at 14:45 -0800, Maike Dulk wrote: Hi Richard wow, thanks again! This is indeed the solution. I will gladly document this .. should I put it in the Wiki? thank you Maike On 10-Jan-08, at 12:32 PM, Richard Rodgers wrote: Hi Maike: I have not tested this, but if you consult the documentation at: http://wiki.creativecommons.org/Web_Integration_Guide it suggests that if you add a query parameter 'jurisdiction' (the doc calls them 'URL variables') to the Creative Commons URL requested in the submit/creative_commons.jsp, you can force the Canadian licenses to appear. If this works, document it for the benefit of others. Thanks, Richard Quoting Maike Dulk [EMAIL PROTECTED]: Hi Richard, gosh, that is indeed entirely new, not only to me but also to the librarians who have used DSpace for a longer time now as well. This is indeed confusing. So thank you very much for clarifying this! The only thing that I would like to know is how I can change the target of that iFrame, which is now the 3.0 generic license, to the CC license that we want to use, i.e. the Canadian 2.5 version .. and I cannot find any setting / file where that is set. Do you know that? cheers maike On 9-Jan-08, at 6:23 AM, Richard Rodgers wrote: Hi Maike: A few explanations to help unravel the enigma: First, you should understand that there are two different licenses involved here, not a choice of one. The first - the deposit license - is (roughly) a licence that the depositor grants to the repository. It is not optional, and does not display to users in the item display. For many institutions, it is a legal requirement. It is a standard 'click-thru' license in the sense that the grantor can only accept or reject it (as you note). The license.default you mention contains this license text. The second - CC license - is (roughly) a license that an author grants to consumers of her work. It is entirely optional (as you note with the cc-enable property), and *does* prominently display to users in the item page. Here, the submitter *can* choose from a set of licenses that reflect the desire to control/share content. What is confusing is that they both appear in the submission work- flow (first CC, then deposit), and the the CC is a mini-workflow in itself consisting if steps in an Iframe. Many have lamented the 'brittle' Iframe, but it was the only programmatic access we had when it was first offered. Now there are 'web'service' interfaces to CC that should probably be adopted (volunteers welcome!). Hope this helps, Richard Quoting Maike Dulk [EMAIL PROTECTED]: Hi I noticed some really strange behaviour in our DSpace installation. It is the Creative Commons licensing. When the setting in dspace.cfg is set to true Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = true the Creative Commons section of the submission process has TWO separate steps. The first one is the one that has the iFrame that displays the Creative Commons webpage in it, and there are two choices that the submitter can set before accepting the license. After that, there is another step that asks another time whether the submitter wants to accept the Creative Commons license. This page is much simpler and has no choices, only two buttons - either I Grant the License or I Do Not Grant the License . The strange thing is that the first stage points to a version of the CC license that is NOT the one that we want to use, and that I have entered in the default.license config file. We want to use the Canadian 2.5 license, but it displays - AND attaches - the generic 3.0 CC license. That second stage does point to the Canadian 2.5 version license - but it is apparently discarded. The strangeness becomes more apparent when I do this: Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = false In that case, there is no longer the first step (the iFrame one) - but the second step (the one with the url to the Canadian version and the I Grant the License or I Do Not Grant the License buttons) STILL comes up. But submissions do not have the CC license attached .. which does make some sense, since it is disabled. So I'd really like to know: - what makes this second step appear even though the CC is disabled in dspace.cfg? - How can I turn it off? - where can I make the first CC license point to the right CC license version (Canadian 2.5) ? It is not in the default.license
Re: [Dspace-tech] Creative Commons Enigma
Hi Richard wow, thanks again! This is indeed the solution. I will gladly document this .. should I put it in the Wiki? thank you Maike On 10-Jan-08, at 12:32 PM, Richard Rodgers wrote: Hi Maike: I have not tested this, but if you consult the documentation at: http://wiki.creativecommons.org/Web_Integration_Guide it suggests that if you add a query parameter 'jurisdiction' (the doc calls them 'URL variables') to the Creative Commons URL requested in the submit/creative_commons.jsp, you can force the Canadian licenses to appear. If this works, document it for the benefit of others. Thanks, Richard Quoting Maike Dulk [EMAIL PROTECTED]: Hi Richard, gosh, that is indeed entirely new, not only to me but also to the librarians who have used DSpace for a longer time now as well. This is indeed confusing. So thank you very much for clarifying this! The only thing that I would like to know is how I can change the target of that iFrame, which is now the 3.0 generic license, to the CC license that we want to use, i.e. the Canadian 2.5 version .. and I cannot find any setting / file where that is set. Do you know that? cheers maike On 9-Jan-08, at 6:23 AM, Richard Rodgers wrote: Hi Maike: A few explanations to help unravel the enigma: First, you should understand that there are two different licenses involved here, not a choice of one. The first - the deposit license - is (roughly) a licence that the depositor grants to the repository. It is not optional, and does not display to users in the item display. For many institutions, it is a legal requirement. It is a standard 'click-thru' license in the sense that the grantor can only accept or reject it (as you note). The license.default you mention contains this license text. The second - CC license - is (roughly) a license that an author grants to consumers of her work. It is entirely optional (as you note with the cc-enable property), and *does* prominently display to users in the item page. Here, the submitter *can* choose from a set of licenses that reflect the desire to control/share content. What is confusing is that they both appear in the submission work- flow (first CC, then deposit), and the the CC is a mini-workflow in itself consisting if steps in an Iframe. Many have lamented the 'brittle' Iframe, but it was the only programmatic access we had when it was first offered. Now there are 'web'service' interfaces to CC that should probably be adopted (volunteers welcome!). Hope this helps, Richard Quoting Maike Dulk [EMAIL PROTECTED]: Hi I noticed some really strange behaviour in our DSpace installation. It is the Creative Commons licensing. When the setting in dspace.cfg is set to true Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = true the Creative Commons section of the submission process has TWO separate steps. The first one is the one that has the iFrame that displays the Creative Commons webpage in it, and there are two choices that the submitter can set before accepting the license. After that, there is another step that asks another time whether the submitter wants to accept the Creative Commons license. This page is much simpler and has no choices, only two buttons - either I Grant the License or I Do Not Grant the License . The strange thing is that the first stage points to a version of the CC license that is NOT the one that we want to use, and that I have entered in the default.license config file. We want to use the Canadian 2.5 license, but it displays - AND attaches - the generic 3.0 CC license. That second stage does point to the Canadian 2.5 version license - but it is apparently discarded. The strangeness becomes more apparent when I do this: Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = false In that case, there is no longer the first step (the iFrame one) - but the second step (the one with the url to the Canadian version and the I Grant the License or I Do Not Grant the License buttons) STILL comes up. But submissions do not have the CC license attached .. which does make some sense, since it is disabled. So I'd really like to know: - what makes this second step appear even though the CC is disabled in dspace.cfg? - How can I turn it off? - where can I make the first CC license point to the right CC license version (Canadian 2.5) ? It is not in the default.license .. since that is set to the Canadian one. - if we could get the second step to work with the right CC version that would be even better, since it is much simpler than that brittle iFrame mechanism My gosh, this is *complex*. thanks in advance, maike -- Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709
[Dspace-tech] Creative Commons Enigma
Hi I noticed some really strange behaviour in our DSpace installation. It is the Creative Commons licensing. When the setting in dspace.cfg is set to true Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = true the Creative Commons section of the submission process has TWO separate steps. The first one is the one that has the iFrame that displays the Creative Commons webpage in it, and there are two choices that the submitter can set before accepting the license. After that, there is another step that asks another time whether the submitter wants to accept the Creative Commons license. This page is much simpler and has no choices, only two buttons - either I Grant the License or I Do Not Grant the License . The strange thing is that the first stage points to a version of the CC license that is NOT the one that we want to use, and that I have entered in the default.license config file. We want to use the Canadian 2.5 license, but it displays - AND attaches - the generic 3.0 CC license. That second stage does point to the Canadian 2.5 version license - but it is apparently discarded. The strangeness becomes more apparent when I do this: Creative Commons settings ## # are Creative Commons licenses used in submission? webui.submit.enable-cc = false In that case, there is no longer the first step (the iFrame one) - but the second step (the one with the url to the Canadian version and the I Grant the License or I Do Not Grant the License buttons) STILL comes up. But submissions do not have the CC license attached .. which does make some sense, since it is disabled. So I'd really like to know: - what makes this second step appear even though the CC is disabled in dspace.cfg? - How can I turn it off? - where can I make the first CC license point to the right CC license version (Canadian 2.5) ? It is not in the default.license .. since that is set to the Canadian one. - if we could get the second step to work with the right CC version that would be even better, since it is much simpler than that brittle iFrame mechanism My gosh, this is *complex*. thanks in advance, maike -- Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] -- Harthon gerithach aeair vilui / I hope you will have kind seas - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Report title on statistics page
thanks Stuart! It is working like a charm now. :-) maike On 7-Jan-08, at 11:05 PM, Stuart Lewis [sdl] wrote: Hi Maike, For some reason the generated reports keep on displaying the title Statistics for Edinburgh Research Archive on neptune == our server name The dspace name setting in dspace.cfg is set to our own name, and I can find nowhere in the messages.properties, the stat executables, the dstat.cfg or anywhere else where this can be changed. I did restart the tomcat server after doing the necessary changes. Have you changed the last two lines in [dspace]/config/dstat.cfg: # the name and url of the service being reported on host.name=Edinburgh Research Archive host.url=http://www.era.lib.ed.ac.uk/ Once those have been changed, you will probably need to (AFTER TAKING A BACKUP) remove all the files: [dspace]/log/*.dat (NOT *.log) which are the data files created by the statistics log analyser. These dat files hold the Edinburgh name and URL. You can then re-run all the stats scripts (including the stat 'initial' scripts) and hopefully the problem might be solved. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] not displaying all three questions on Submit: Describe this Item
Hi I've been looking into this for a some now and it does not become any clearer. It's this. When you submit an item, there are these Initial Questions (initial-questions.jsp). There seem to be three of them. I was wondering how it is determined whether they are displayed or not? In initial-questions.jsp I can see that this depends on the return values of the functions inputSet.isDefinedMultTitles(), inputSet.isDefinedPubBefore() and SubmitServlet.isWorkflow(si) but that does not really explain why one user in our Dspace installation gets only the The item consists of more than one file question, and the other (they are both Dspace admins) sees The item has more than one title, e.g. a translated title AND The item consists of more than one file but NOT the third one. Incidentally, when we choose a different collection all three questions do show up. i cannot find any place in Dspace where this behaviour is set ... i.e. like in a config file of sorts. I could try and track this issue down through the java code, but just in case that any of you have seen this behaviour before and could offer me a shortcut, that could save me a lot of time ... thanks in advance! oh btw .. running Dspace 1.4.2 -- Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] Arithmetic: An obscure art no longer practiced in the world's developed countries. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] (no subject)
Hi I've been looking into this for a some now and it does not become any clearer. It's this. When you submit an item, there are these Initial Questions (initial-questions.jsp). There seem to be three of them. I was wondering how it is determined whether they are displayed or not? In initial-questions.jsp I can see that this depends on the return values of the functions inputSet.isDefinedMultTitles(), inputSet.isDefinedPubBefore() and SubmitServlet.isWorkflow(si) but that does not really explain why one user in our Dspace installation gets only the The item consists of more than one file question, and the other (they are both Dspace admins) sees The item has more than one title, e.g. a translated title AND The item consists of more than one file but NOT the third one. Incidentally, when we choose a different collection all three questions do show up. i cannot find any place in Dspace where this behaviour is set ... i.e. like in a config file of sorts. I could try and track this issue down through the java code, but just in case that any of you have seen this behaviour before and could offer me a shortcut, that could save me a lot of time ... thanks in advance! oh btw .. running Dspace 1.4.2 -- Maike Dulk - Programmer / Analyst McPherson Library, University of Victoria (t) 250-886-5709 / (e) [EMAIL PROTECTED] Arithmetic: An obscure art no longer practiced in the world's developed countries. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 'node id' in controlled vocabulary .xml file ?
Hi Andres and Cristophe thanks a bunch. I'll go and figure out that vocabulary2html.xsl :-) cheers -- Maike (not Mike ;-) ) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 'node id' in controlled vocabulary .xml file ?
This is really weird. I took Christophe's version of the xls file, because that does make absolute sense: the original search for A::B(::C etcetera) did not yield any results, but now I get *too many* results. For instance, searching on 'Ethnology' gives me one result that does not have Ethnology as subject (there aren't any Ethnology theses in our DSpace as yet) but that does cite the word 'Ethnology' in its references list. In other words, the Subject Search now behaves as a Full Text search ... Maike On 9-May-07, at 2:14 AM, Dupriez Christophe wrote: Hi Mike and Andres, (please forward this message to the Tech list as I am not able to post from here) At search time, the XSLT producing the displayed tree generates a search term by concatenating all generic of the choosen subject (and adding a right troncature I think). Currently, In a hierarchy like A-B-C, choosing B generates a search on A::B. For MeSH, this was not suiting my need, so I made a little modification to search on the choosen subject only: I attach this modified XSLT. Subject searching will have to be improved on two points: * selecting a subject should also select its specifics * XSLT is very slow for big vocabularies like MeSH: vocabularies should be loaded once in the background and redrawn using JavaScript. Short example with the beginning of my MeSH xml: ?xml version=1.0 encoding=UTF-8? !-- MeSH: NIH Medical Subject Headings -- node id=MESH label=NIH Medical Subject Headings isComposedBy node id=A01 label=Body Regions isComposedBy node id=A01.047 label=Abdomen isComposedBy node id=A01.047.025 label=Abdominal Cavity isComposedBy node id=A01.047.025.600 label=Peritoneum isComposedBy node id=A01.047.025.600.225 label=Douglas' Pouch/ node id=A01.047.025.600.451 label=Mesentery isComposedBy node id=A01.047.025.600.451.535 label=Mesocolon/ /isComposedBy /node node id=A01.047.025.600.573 label=Omentum/ node id=A01.047.025.600.678 label=Peritoneal Cavity/ /isComposedBy /node node id=A01.047.025.750 label=Retroperitoneal Space/ /isComposedBy /node node id=A01.047.050 label=Abdominal Wall/ node id=A01.047.365 label=Groin/ node id=A01.047.412 label=Inguinal Canal/ node id=A01.047.849 label=Umbilicus/ /isComposedBy Have a nice day! Christophe Dupriez Quast [EMAIL PROTECTED] a écrit : Hi Mike, the node-Tag is used to render the controlled vocabulary tree by a XSLT- stylesheet. It has two attributes (id, label) used to render the tree in a correct way. So I wonder if you have changed the stylesheet (vocabulary2html.xsl) in an appropriate way. The attribute id is used within the stylesheet to name each checkbox of the controlled vocabulary tree. The attribute label contains the search term, which is used for the subject search. hope this helps, Andres Hi (DSpace version 1.4.1) I have a question about the 'node id' in the controlled vocabulary .xml file. We created our own sciences index file to confine the set of keywords that can be entered in the submission form. When creating that .xml file I was looking at the supplied Scandinavian examples - and from that (because in these two examples they are so different !), concluded that the 'node id' was not actually *doing* something: it looks merely as some sort of enumeration and I assumed I was free to use whatever code we use at our institute i.e. use it as a mnemonic. But I discovered that these controlled vocabularies are also used in the Subject Search. Unfortunately, it does not seem to work there: when I do an advanced search on a subject and get a certain result, clicking the same (or indeed any) box in the Subject Search form does not retrieve any results. My gut feeling here is that this 'node id' is thus a bit more than just an enumeration. But I cannot find anywhere (documents, internet) what it *should* contain ... In the submission form (input-forms.xml), the controlled vocabulary is configured like this: dc subject lcsh true Subject Area onebox Enter your subject area of the item below. uvsi Does anyone have a clue? TIA -- Maike Dulk Programmer / Analyst McPherson Library, University of Victoria [EMAIL PROTECTED] IBM: It may be slow, but it's hard to use. -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Dr. Andres Quast Virtuelle
[Dspace-tech] 'node id' in controlled vocabulary .xml file ?
Hi (DSpace version 1.4.1) I have a question about the 'node id' in the controlled vocabulary .xml file. We created our own sciences index file to confine the set of keywords that can be entered in the submission form. When creating that .xml file I was looking at the supplied Scandinavian examples - and from that (because in these two examples they are so different !), concluded that the 'node id' was not actually *doing* something: it looks merely as some sort of enumeration and I assumed I was free to use whatever code we use at our institute i.e. use it as a mnemonic. But I discovered that these controlled vocabularies are also used in the Subject Search. Unfortunately, it does not seem to work there: when I do an advanced search on a subject and get a certain result, clicking the same (or indeed any) box in the Subject Search form does not retrieve any results. My gut feeling here is that this 'node id' is thus a bit more than just an enumeration. But I cannot find anywhere (documents, internet) what it *should* contain ... In the submission form (input-forms.xml), the controlled vocabulary is configured like this: field dc-schemadc/dc-schema dc-elementsubject/dc-element dc-qualifierlcsh/dc-qualifier repeatabletrue/repeatable labelSubject Area/label input-typeonebox/input-type hintEnter your subject area of the item below./hint required/required vocabularyuvsi/vocabulary /field Does anyone have a clue? TIA -- Maike Dulk Programmer / Analyst McPherson Library, University of Victoria [EMAIL PROTECTED] IBM: It may be slow, but it's hard to use. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Edit Submitters button disappeared after upgrade to 1.4.1
Dear Claudia, works like a charm - you just saved me a whole lot of work and frustration :-) Many thanks! Maike On 3-May-07, at 12:02 AM, Claudia Jürgen wrote: Hi Maike, this is due to see bug: http://sourceforge.net/tracker/index.php? func=detailaid=1638565group_id=19984atid=119984 Here is a patch: http://sourceforge.net/tracker/index.php? func=detailaid=1638569group_id=19984atid=319984 hope that helps Claudia Jürgen University of Dortmund Maike Dulk schrieb: Hi, after an upgrade from 1.2.2, via 1.3.2 to 1.4.1 the Edit Submitters in the sidebar of the Collection page has disappeared. The rest of the upgrade seems to have gone fine. I'm looking deep into the servlet code but - until now - it is completely dark to me what could have caused this and how to repair it. Does anyone have a clue? TIA Maike Dulk Programmer / Analyst McPherson Library University of Victoria [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Edit Submitters button disappeared after upgrade to 1.4.1
Hi, after an upgrade from 1.2.2, via 1.3.2 to 1.4.1 the Edit Submitters in the sidebar of the Collection page has disappeared. The rest of the upgrade seems to have gone fine. I'm looking deep into the servlet code but - until now - it is completely dark to me what could have caused this and how to repair it. Does anyone have a clue? TIA Maike Dulk Programmer / Analyst McPherson Library University of Victoria [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech