[Dspace-tech] Ordering community collection listings
It appears the default order of community collection listings is done alphabetically. How would one go about altering the listing as follows: 1) Ordering listing alphabetically, but in descending order 2) Ordering by item count in community/collection -- Lighton Phiri http://lightonphiri.org -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] search and export
is there a way I can do this search and then export the metadata of the results? http://cgspace.cgiar.org/handle/10568/1/browse?value=AGRICULTURE+FOR+NUTRITION+AND+HEALTHtype=crpsubject Thanks sisay -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] search and export
On Tue, Mar 5, 2013 at 10:47 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: is there a way I can do this search and then export the metadata of the results? http://cgspace.cgiar.org/handle/10568/1/browse?value=AGRICULTURE+FOR+NUTRITION+AND+HEALTHtype=crpsubject Unfortunately not, but this seems to be a popular request. You can add your vote for it here: https://jira.duraspace.org/browse/DS-1262 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Adding static pages
Hi Guillermo, I don't have time for a thorough answer right now, just quick word of warning - you said you're using DSpace 3.1. The default theme here is Mirage, which is based on (overrides) the dri2xhtml-alt theme. You mentioned dri2xhtml.xsl, which is the basis for the older themes (Reference). So making edits in dri2xhtml.xsl won't reflect in Mirage. You have to do your edits in dri2xhtml-alt or Mirage.xsl (or, alternatively, your theme, if it overrides Mirage). That said, in this particular case I'd say it would work to simply add the template to Mirage. Haven't tested it, though. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problems with crosswalks, export site: user passwords
On Mon, Mar 4, 2013 at 11:55 PM, Luis Alberto Maguiña Silva lmagu...@pucp.pe wrote: We use DSpace 3.1, we have a problem: Caused by: org.dspace.content.packager.PackageException: java.lang.NullPointerException, Reason: java.lang.NullPointerException at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254) Hi Luis, you say you're using DSpace 3.1. This is the place in the source code where the NullPointerException is reported: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/packager/RoleDisseminator.java#L254 But that seems wrong, there's no command on that line. Did you modify your source code in any way? What is on line 254 in that file in your source code? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] search and export
By the way, if you go to JSPUI (which can be deployed in parallel to XMLUI), you can export the search results into CSV from there. AFAIK, that's currently the only way. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about restrictions in XMLUI
On Mon, Mar 4, 2013 at 10:25 PM, George S Kozak g...@cornell.edu wrote: I am using DSpace 1.82. We are currently using the JSPUI, but I am working on migrating to the XMLUI interface (modified Mirage theme). I have a collection in which all of the bitstreams are restricted, but the metadata can be viewed by anonymous users. I can view the collection homepage fine in JSPUI, but in XMLUI, I see “This collection is restricted” and a request to login before I can view the collection homepage. Is this how the XMLUI interface handles collections with restricted items or do I have something set up wrong? If this is how it works, can someone tell me where I can go in and modify things to work as they do in the JSPUI? Hi George, interesting, I didn't know collections can be made private, but it seems they can now (judging from the message). Try logging in as admin and going here to see if the collection shows up: http://example.com/admin/private I'd expect only items to show up, but who knows. Second thing you can check is to go to the collection and click on Authorizations in the sidebar. It should look like this for a normal collection: ID Action Group 71 READAnonymous [Edit] 72 DEFAULT_ITEM_READ Anonymous [Edit] 73 DEFAULT_BITSTREAM_READ Anonymous [Edit] Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about restrictions in XMLUI
Thank you, Ivan: The collection in question has the following restrictions: 525 ADD theses_dissertations [Edit] 524 DEFAULT_BITSTREAM_READ theses_dissertations [Edit] 523 DEFAULT_ITEM_READ Anonymous [Edit] The collection is viewable if I am logged in as the Admin. However, average anonymous users can not view the collection homepage in XMLUI, but it is viewable in JSPUI. I guess my question is: does placing any restriction at a collection level on the items result in locking down the collection in XMLUI? PS: I checked this out using the Mirage Theme and the Default Theme. If you'd like to see this on our production system: JSPUI version: http://ecommons.library.cornell.edu/handle/1813/47 (the collection is viewable) XMLUI version: http://ecommons.library.cornell.edu/xmlui/handle/1813/47 (the collection is not viewable) What I'd like to do is make the XMLUI work like the JSPUI (if possible) in this case. George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Tuesday, March 05, 2013 5:42 AM To: George S Kozak Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Question about restrictions in XMLUI On Mon, Mar 4, 2013 at 10:25 PM, George S Kozak g...@cornell.edu wrote: I am using DSpace 1.82. We are currently using the JSPUI, but I am working on migrating to the XMLUI interface (modified Mirage theme). I have a collection in which all of the bitstreams are restricted, but the metadata can be viewed by anonymous users. I can view the collection homepage fine in JSPUI, but in XMLUI, I see “This collection is restricted” and a request to login before I can view the collection homepage. Is this how the XMLUI interface handles collections with restricted items or do I have something set up wrong? If this is how it works, can someone tell me where I can go in and modify things to work as they do in the JSPUI? Hi George, interesting, I didn't know collections can be made private, but it seems they can now (judging from the message). Try logging in as admin and going here to see if the collection shows up: http://example.com/admin/private I'd expect only items to show up, but who knows. Second thing you can check is to go to the collection and click on Authorizations in the sidebar. It should look like this for a normal collection: ID Action Group 71 READAnonymous [Edit] 72 DEFAULT_ITEM_READ Anonymous [Edit] 73 DEFAULT_BITSTREAM_READ Anonymous [Edit] Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about restrictions in XMLUI
On Tue, Mar 5, 2013 at 4:07 PM, George S Kozak g...@cornell.edu wrote: The collection in question has the following restrictions: 525 ADD theses_dissertations [Edit] 524 DEFAULT_BITSTREAM_READ theses_dissertations [Edit] 523 DEFAULT_ITEM_READ Anonymous [Edit] Yes, seems like you're missing Anonymous READ. I guess my question is: does placing any restriction at a collection level on the items result in locking down the collection in XMLUI? I think so, and I just confirmed it with a brief test - removing the Anonymous READ policy results in the error message. So just re-add the policy. There's a Click here to add a new policy. on the Authorizations screen. P.S. I didn't test with JSPUI, but if it doesn't recognize the missing policy, the new feature (that collections can be made private) wasn't ported to JSPUI just yet, but it should be (for consistency). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about restrictions in XMLUI
Ivan: Super! That did it. Thank you. George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Tuesday, March 05, 2013 10:16 AM To: George S Kozak Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Question about restrictions in XMLUI On Tue, Mar 5, 2013 at 4:07 PM, George S Kozak g...@cornell.edu wrote: The collection in question has the following restrictions: 525 ADD theses_dissertations [Edit] 524 DEFAULT_BITSTREAM_READ theses_dissertations [Edit] 523 DEFAULT_ITEM_READ Anonymous [Edit] Yes, seems like you're missing Anonymous READ. I guess my question is: does placing any restriction at a collection level on the items result in locking down the collection in XMLUI? I think so, and I just confirmed it with a brief test - removing the Anonymous READ policy results in the error message. So just re-add the policy. There's a Click here to add a new policy. on the Authorizations screen. P.S. I didn't test with JSPUI, but if it doesn't recognize the missing policy, the new feature (that collections can be made private) wasn't ported to JSPUI just yet, but it should be (for consistency). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Seeking advice -- How to get view/open item links to trigger some java code (for both JSPUI and XMLUI)?
Hello, It'd be grateful for any advice on the following: How would you customize the code in order to get *view/open item* links to trigger some java method instead of actually opening/viewing the item (for both JSPUI and XMLUI)? Many thanks in advance, Eric -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problems with crosswalks, export site: user passwords
Hi helix84: I read the file RoleDisseminator.java, in 254 line there is no a command. //Only disseminate an People element if some people exist 238 if(people!=null) 239 { 240 writer.writeStartElement(EPERSONS); 241 242 for (EPerson eperson : people) 243 { 244 writeEPerson(eperson, writer, emitPasswords); 245 } 246 247 writer.writeEndElement(); // EPERSONS 248 } 249 250 writer.writeEndElement(); // DSPACE_ROLES 251 writer.writeEndDocument(); 252 writer.close(); 253 }//end if Groups or People exist 254 } 255 catch (Exception e) 256 { 257 throw new PackageException(e); 258 } 259 } When I write the query in psql select * from eperson, the system show me the users with passwords.That's ok. Luis 2013/3/5 helix84 heli...@centrum.sk On Mon, Mar 4, 2013 at 11:55 PM, Luis Alberto Maguiña Silva lmagu...@pucp.pe wrote: We use DSpace 3.1, we have a problem: Caused by: org.dspace.content.packager.PackageException: java.lang.NullPointerException, Reason: java.lang.NullPointerException at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254) Hi Luis, you say you're using DSpace 3.1. This is the place in the source code where the NullPointerException is reported: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/packager/RoleDisseminator.java#L254 But that seems wrong, there's no command on that line. Did you modify your source code in any way? What is on line 254 in that file in your source code? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luis Maguiña Linux user number 386737 Estás en tierra de Linux. En las noches tranquilas, se puede escuchar en la lejanía el ruido de las máquinas de windows reiniciándose una y otra vez -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] OAI8 Pre-Conference DSpace User Group Meeting
Apologies for the cross posting @mire and the DSpace Community Advisory Team with the support of DuraSpace, invite all DSpace enthusiasts to the DSpace user group meeting on Tuesday, June 18th from 9:00am to 5:00pm in Geneva, Switzerland. Taking place right before the OAI8 conference the meeting will feature sessions on recent DSpace developments, both addressed to repository managers and developers. In addition, @mire representatives will introduce @mire's offering of services and add-on modules, supporting institutions running their own in-house repository. Invited speakers and attendees presenting their own experiences with DSpace will be announced in the coming weeks. To register, visit here. More information and the separate registration for the actual CERN Workshop on Innovations in Scholarly Communication (OAI8) can be found on the OAI8 website. The conference provides valuable updates for any repository manager in sessions led by Herbert Van de Sompel, Frank Scholze, Cameron Neylon, David Prosser and Neil Jacobs. Participants are also invited to visit CERN followed by an evening of inter cultural drink sharing in CERN's Globe.-- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] deleting a collection in dev
Today in my development environment I tried to delete a collection and got this error: org.postgresql.util.PSQLException: ERROR: update or delete on table item violates foreign key constraint $2 on table communities2item Detail: Key (item_id)=(216864) is still referenced from table communities2item. I looked at the item table and see that the contstraint is there, but if I look at the schema file in in 30, I see no constraint of the sort. Should I get rid of the constraint from the item table? Is communities2items updated every time the browse is update? How do entries get into communities2item? Thanks! Jose -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problems with crosswalks, export site: user passwords
Hi. Thanks helix84. I have tried with DSpace 1.8 and the same results. I think that the error is in throw new PackageException(e), Any solution? We have 1,400 users Luis 2013/3/5 helix84 heli...@centrum.sk On Mon, Mar 4, 2013 at 11:55 PM, Luis Alberto Maguiña Silva lmagu...@pucp.pe wrote: We use DSpace 3.1, we have a problem: Caused by: org.dspace.content.packager.PackageException: java.lang.NullPointerException, Reason: java.lang.NullPointerException at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254) Hi Luis, you say you're using DSpace 3.1. This is the place in the source code where the NullPointerException is reported: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/packager/RoleDisseminator.java#L254 But that seems wrong, there's no command on that line. Did you modify your source code in any way? What is on line 254 in that file in your source code? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luis Maguiña Linux user number 386737 Estás en tierra de Linux. En las noches tranquilas, se puede escuchar en la lejanía el ruido de las máquinas de windows reiniciándose una y otra vez -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] problems with crosswalks, export site: user passwords
Hi, helix84. Sorry!! In Dspace 1.8 the error is in line 254, in Dspace 3.1 the error is in line 257 : throw new PackageException(e) Luis 2013/3/5 helix84 heli...@centrum.sk On Mon, Mar 4, 2013 at 11:55 PM, Luis Alberto Maguiña Silva lmagu...@pucp.pe wrote: We use DSpace 3.1, we have a problem: Caused by: org.dspace.content.packager.PackageException: java.lang.NullPointerException, Reason: java.lang.NullPointerException at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254) Hi Luis, you say you're using DSpace 3.1. This is the place in the source code where the NullPointerException is reported: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/packager/RoleDisseminator.java#L254 But that seems wrong, there's no command on that line. Did you modify your source code in any way? What is on line 254 in that file in your source code? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luis Maguiña Linux user number 386737 Estás en tierra de Linux. En las noches tranquilas, se puede escuchar en la lejanía el ruido de las máquinas de windows reiniciándose una y otra vez -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] dspace 3.x OAI-PMH help
Hello, I recently upgraded from dspace 1.8.1 tp dspace 3.1, I am trying to harvest a collection using OAI. I entered the parameters as stated in the documentation, however, I am unable to harvest the items from the external dspace source (which is dspace 3.1). I get this message: OAI server did not contain any updates on 2013-03-05 16:35:54.606 I can harvest from dspace 1.8.1 though. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette