Hello, Just wondering if anyone has ever written code to sort items in the task pool, eg sort by collection? Version 1.4.2?
Many thanks, Joseph Greene Institutional Repository Project Manager 325 James Joyce Library University College Dublin Belfield, Dublin 4 353 (0)1 716 7398 [email protected] http://irserver.ucd.ie/dspace/ -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 10 June 2009 09:17 To: [email protected] Subject: DSpace-tech Digest, Vol 38, Issue 21 Send DSpace-tech mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of DSpace-tech digest..." Today's Topics: 1. Re: Strange Behaviour when exporting items and collections (Kim Shepherd) 2. Re: Producing mets.xml for SWORD (Scott Yeadon) 3. How to add thumbnail preview for all items in one collection in xmlui & how to add video preview for xmlui. (Yureshwar Dspace) 4. Re: Strange Behaviour when exporting items and collections (Manuel Martin Mohedano) ---------------------------------------------------------------------- Message: 1 Date: Wed, 10 Jun 2009 10:02:30 +1200 From: "Kim Shepherd" <[email protected]> Subject: Re: [Dspace-tech] Strange Behaviour when exporting items and collections To: "Manuel Martin Mohedano" <[email protected]>, <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" Hi Manuel, I?m assuming that you?re exporting from the CLI here, but if that?s not the case please say so.. Do you use ?sudo? when running dsrun? (I?m guessing so, or you wouldn?t be able to create the files beneath the exports folder if it?s owned by root). If so, you?re effectively running the ?dsrun? command as root unless you do something like ?sudo ?u tomcat dsrun org.dspace.app......? or ?sudo ?u dspace dsrun .......? ? the username you pass to sudo should be whatever user dspace is actually running as. If you get sudo errors when you try this, you may need to ask the sysadmin to allow you to sudo ?dsrun? as your dspace user as well as (or, preferably, instead of!) root. You?ll also want them to change ownership of [dspace]/export/* to the dspace user, or you won?t be able to write to it. There?s no need to be concerned about Dspace itself escalating privileges to root when it shouldn?t be ? the dsrun script will run as whatever user it thinks is running it (?effective user?), so if you make sure you can sudo to the dspace/tomcat user rather than just to root, you should be able to avoid any root-owned files/dirs being created. If you?re using the webui or I?m totally barking up the wrong tree, apologies -- maybe give a few more details about how you?re exporting items/collections. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems & Development The University of Waikato New Zealand DDI +64 7 838 4025 From: Manuel Martin Mohedano [mailto:[email protected]] Sent: Tuesday, 9 June 2009 7:59 p.m. To: [email protected] Subject: [Dspace-tech] Strange Behaviour when exporting items and collections Hi all. I was doing some exporting tests with communities and items yesterday and there was a thing that surprised me. Exported files are stored in a folder on server called exports/downloads/number. The thing is the owner of this folder is the root of the system but I don't have any root account on the machine. How is this possible?? Can Dspace run processes as root?? Thank's and regards. ________________________________ Charlas m?s divertidas con el nuevo Windows Live Messenger <http://download.live.com> -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Wed, 10 Jun 2009 08:24:52 +1000 From: Scott Yeadon <[email protected]> Subject: Re: [Dspace-tech] Producing mets.xml for SWORD To: [email protected] Cc: DSpace Tech <[email protected]>, Larry Stone <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mika, You may also want to try out the METS Java API (or other tools) available at http://www.loc.gov/standards/mets/mets-tools.html to see what suits you best. Scott. Date: Fri, 5 Jun 2009 14:37:33 -0400 From: Larry Stone <[email protected]> Subject: Re: [Dspace-tech] Producing mets.xml for SWORD To: "mikan.d.dspace listmail" <[email protected]> Cc: Dspace Tech <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes The Harvard METS toolkit gives you an convenient (though DOM-like) API for the METS data model, takes care of some of the housekeeping, and it has logic to prevent schema mistakes: http://hul.harvard.edu/mets/ There's also a toolkit that helps you build a whole submission package, including the METS. It ought to work with SWORD too; see: http://wiki.dspace.org/index.php/DSpace_SIP_Toolkit (If you develop any tricks or procedures for using it with SWORD, please add them to that wiki page!) -- Larry On Jun 5, 2009, at 5:25 AM, mikan.d.dspace listmail wrote: > > Im hoping to use SWORD in order to deposit items to DSpace. What would > > be the best way to produce mets-metadata for the items to be > > submitted? Should I write the entire metadata file myself or is there > > templates / frameworks available for this? > > > > Thanks, > > Mika > ------------------------------ Message: 3 Date: Wed, 10 Jun 2009 12:51:51 +0530 From: Yureshwar Dspace <[email protected]> Subject: [Dspace-tech] How to add thumbnail preview for all items in one collection in xmlui & how to add video preview for xmlui. To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi can anyone help me how to add thumbnail preview for all items in one collection in xmlui. & i want to add video preview for xmlui. I found one resource but there is not enough guidence on how to add it here is link. Link: http://wiki.dspace.org/index.php//DSpace_1.5_XMLUI_FLV_Video_Progressive_Dow nload/ Thanks in advance. Regards, Yureshwar Ravuri. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Wed, 10 Jun 2009 09:57:10 +0200 From: Manuel Martin Mohedano <[email protected]> Subject: Re: [Dspace-tech] Strange Behaviour when exporting items and collections To: <[email protected]>, <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="windows-1252" Hello Kim. Thank's for answering! But the thing is I am exporting from de Webui... :S. What I do after login in the site as admin is accesing a comunnity and using teh admin tools (right side of the screen) I click the button "Export Community" and this message appears : Thank You The task is complete, and notification has been sent to the appropriate people. When I enter the CLI I see a new zip file corresponding to the exported comunnity has been created inside exports folder, which has only root access (And of course I don't have any privileges in the system to do that). Thank's in advance. Regards Manuel Subject: RE: [Dspace-tech] Strange Behaviour when exporting items and collections Date: Wed, 10 Jun 2009 10:02:30 +1200 From: [email protected] To: [email protected]; [email protected] Hi Manuel, I?m assuming that you?re exporting from the CLI here, but if that?s not the case please say so.. Do you use ?sudo? when running dsrun? (I?m guessing so, or you wouldn?t be able to create the files beneath the exports folder if it?s owned by root). If so, you?re effectively running the ?dsrun? command as root unless you do something like ?sudo ?u tomcat dsrun org.dspace.app......? or ?sudo ?u dspace dsrun .......? ? the username you pass to sudo should be whatever user dspace is actually running as. If you get sudo errors when you try this, you may need to ask the sysadmin to allow you to sudo ?dsrun? as your dspace user as well as (or, preferably, instead of!) root. You?ll also want them to change ownership of [dspace]/export/* to the dspace user, or you won?t be able to write to it. There?s no need to be concerned about Dspace itself escalating privileges to root when it shouldn?t be ? the dsrun script will run as whatever user it thinks is running it (?effective user?), so if you make sure you can sudo to the dspace/tomcat user rather than just to root, you should be able to avoid any root-owned files/dirs being created. If you?re using the webui or I?m totally barking up the wrong tree, apologies -- maybe give a few more details about how you?re exporting items/collections. Cheers, Kim -- Kim Shepherd IRR Technical Specialist ITS Systems & Development The University of Waikato New Zealand DDI +64 7 838 4025 From: Manuel Martin Mohedano [mailto:[email protected]] Sent: Tuesday, 9 June 2009 7:59 p.m. To: [email protected] Subject: [Dspace-tech] Strange Behaviour when exporting items and collections Hi all. I was doing some exporting tests with communities and items yesterday and there was a thing that surprised me. Exported files are stored in a folder on server called exports/downloads/number. The thing is the owner of this folder is the root of the system but I don't have any root account on the machine. How is this possible?? Can Dspace run processes as root?? Thank's and regards. Charlas m?s divertidas con el nuevo Windows Live Messenger _________________________________________________________________ Chatea sin l?mites en Messenger con la tarifa plana de Orange http://serviciosmoviles.es.msn.com/messenger/orange.aspx -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ---------------------------------------------------------------------------- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ------------------------------ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech End of DSpace-tech Digest, Vol 38, Issue 21 ******************************************* ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

