Re: [Dspace-tech] Confused About UTF-8
Hi Thomas, on a second look I notice that your LC_* variables are missing the encoding part. E.g. I have LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE=en_US.UTF-8 etc. That assumes that locale is present on your system. E.g. on my Debian, I would run sudo dpkg-reconfigure locales An alternative to setting the env. variables is running createdb --locale=en_US.utf8, but the locale still needs to be present on your system. Let me know if that doesn't solve the problem. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Jul 25, 2013 at 8:49 PM, Thomas Ronayne ronayne.tho...@gmail.com wrote: Hi, helix84, OK, so got the notice about DSpace update, going through the steps to install and... well, something seems to care. Executing createdb -U dspace -E UNICODE dspace createdb: database creation failed: ERROR: encoding UTF8 does not match locale en_US DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1. The system locale is locale LANG=en_US LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=en_US LC_COLLATE=C LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US LC_IDENTIFICATION=en_US LC_ALL= Does that need to change or make a change to the dspace user account? Kinda lost here (not doing so hot with DSpace, but trying to get there one way or the other). Appreciate any help or advice, Thomas A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm stickin' to it. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] DSpace LDAP authentication problem
On Thu, Jul 25, 2013 at 11:47 PM, Keir Vaughan-Taylor k...@usyd.edu.au wrote: USYDPERSONENTITLEMENT: staff Hi Keir, the groupmap option doesn't work with attributes. It only tries to match components of the full DN. So you could match e.g. ou=people or dc=ucc: login.groupmap.1 = dc=ucc:dspace-group-for-ucc I agree that an option to assign group based on attributes would be nice, it just doesn't currently work that way. The modification to LDAPAuthentication.java wouldn't be hard, if you want to try. I have yet to look the null problem. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] DSpace LDAP authentication problem
The difference I see between your DSpace configuration and your ldapsearch is that in DSpace you're using anonymous bind, in ldapsearch you're binding as resotest. Try setting: search.anonymous = false search.user = uid=resotest,ou=people,dc=ucc,dc=usyd,dc=edu,dc=au search.password = resotestpassword Try that first and let me know if it helped. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Doubs..
On Fri, Jul 26, 2013 at 4:28 PM, Jimena Quiroga jim...@gmail.com wrote: 1. When I type localhost: 8080/jpsui in Google Chrome, the window appears in English, which is not the default language. If I use IE window appears correct. Hi Jimena, DSpace only respects user's preferences set in their browser, that's why you see different behaviour for different browsers. Here's how you can set your Chrome to prefer another desired language before English: https://support.google.com/chrome/answer/95416 2. I made some changes in style.css and header-default, but these are not displayed after writing the command mvn package and ant update. These working on Windows 8, it is necessary to copy all folders and files in C: \ dspace-3.1-src-release \ dspace \ target \ dspace-3.1-build \ webapps to the address C: \ Tomcat \ webapps??? You should never change anything in [dspace-source]/dspace/target. Always make your changes in [dspace-source], then you'll be able to get them to [dspace] using mvn package and ant update. In case of stylesheets, you may be able to simply copy the changed files from [dspace-source] to [dspace]. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Error while enabling Discovery
Hi Remi, most likely you just misconfigured search.server in [dspace]/config/modules/discovery.cfg. By default, it should point to http://localhost:8080/solr/search. What value do you have there? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Best practice for adding javascript to avoid jQuery conflicts with other libraries?
On Thu, Jul 25, 2013 at 4:24 AM, Nemiz, Elvi esne...@seafdec.org.ph wrote: I would like to ask for any advice on how to add javascript and avoiding issues of jQuery conflicts. I've seen in some repositories using the jQuery.conflict() mode. I also noticed that some of these conflicts that I've encountered were fixed by rearranging the sequence of imported javascript in sitemap.xmap. What is the best way to add javascript and avoiding jQuery conflicts with other libraries in DSpace? Hi Elvi, this is actually explained very well on the jQuery website: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] DSpace LDAP authentication problem
On Thu, Jul 25, 2013 at 12:42 AM, Keir Vaughan-Taylor k...@usyd.edu.au wrote: LifeH2O is correct in that it is the email address being populated with NULL characters added to the username. Is this the email column or the netid column of the eperson table, or both? Please, also send your whole LDAP configuration. I'm especially interested in your value of id_field. I can see this using the unix command ldapsearch Just to make sure, when you do ldapsearch, are you binding as the same user as dspace? E.g. anonymous search or a particular admin user in both cases? Attributes can have different visibility for different LDAP users. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] DSpace LDAP authentication problem
On Wed, Jul 24, 2013 at 3:00 AM, Keir Vaughan-Taylor k...@usyd.edu.au wrote: My problem arises in that an undregistered user get authenticated and entered into DSpace but their user name is modified to contain the letters NULL after their user name. How can I prevent this happening? I assume you're using autoregister = true. These are the fields that map LDAP attributes to DSpace ePerson surname and given name. Please, check that these attributes are present and have values in your LDAP. [dspace]/modules/authentication-ldap.cfg: surname_field = sn givenname_field = givenName Please, remember that if you change this, the users who already autoregistered will not have the existing values updated on login, so either try this on a new person who never logged in or delete the dspace user so that he can autoregister again upon next login. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 deploying the DSpace application
On Tue, Jul 23, 2013 at 9:32 PM, Thornton, Susan M. (LARC-B702)[LITES] susan.m.thorn...@nasa.gov wrote: I'm assuming that once we would copy the /webapps directory over to the Production machine, we will have to run ant, but not mvn? Is that correct? You don't have to run Maven on the target machine, maven is run on the building machine and produces the wars. Technically, it's possible to do everything that Ant does manually. Just look at this file what ant actually does, it mostly just copies files around: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/src/main/config/build.xml Here's a brief overview of what ant does: * copies webapps to installation directory * copies /lib, /bin, /etc and /solr (configuration, not data) to installation directory, backing up the old ones * filters configuration (replaces ${placeholders} with actual values), copies it over (including the GeoLite database) and optionally replaces old configuration * creates/drops the database (not used during ant update) It's convenient (and officially recommended) to use ant during upgrades, but when you're just rebuilding and need to redeploy only the webapps, you can do it even without ant. Of course we have to have our dspace.cfg file configured for Production, but are there any other files that will need to be edited once they're copied over to Production? Not really, no. There's Tomcat configuration (including Context definitions) but you do that only once. Just take care not to lose the Solr statistics core data (if you're using Solr statistics) because that information is not stored anywhere else. Same goes for ElasticSearch statistics. Also your old logs (dspace.log.*) contain old usage events, which can be converted and imported to Solr or ES. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 deploying the DSpace application
On Wed, Jul 24, 2013 at 1:01 PM, helix84 heli...@centrum.sk wrote: On Tue, Jul 23, 2013 at 9:32 PM, Thornton, Susan M. (LARC-B702)[LITES] susan.m.thorn...@nasa.gov wrote: I'm assuming that once we would copy the /webapps directory over to the Production machine, we will have to run ant, but not mvn? Is that correct? I might not have fully answered your question, so here's the rest: Keep in mind, that maven runs from [dspace-source], i.e. on the building machine. Normally, would run ant update from the [dspace-source]/target/dspace-[version]-build/ directory, also on the building machine. So if you copy over just /webapps, there's no way how you can run ant on the production machine. You'd have to copy [dspace-source]/target/dspace-[version]-build/ to production to be able to run ant there. One of the alternatives would be to run ant update on the build machine and then copy the whole [dspace] directory to production. Like I said, ant just copies things around, so just try to understand what you need (all the directories under [dspace]) and remember you can copy it over even manually. I hope that makes sense. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Error uploading file to DSpace
Hi Lewatle, you need to include the full Java stacktrace. This is almost certainly a permissions issue. Which user runs your Tomcat? Which user owns the [dspace] directory, assetstore and everything under it? Double check that it's the same user and that he owns everything under [dspace]. Is there any chance that you're running 32-bit linux with a PAE kernel (in order to address more than 4 GB of RAM)? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] RV: Problen send to repository
On Wed, Jul 24, 2013 at 3:51 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr wrote: java.lang.RuntimeException: Error while attempting to create identifier for Item id: 949 at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:117) The generic Exception was caught here. There should be a Caused by: line in the stracktrace just under what you posted. It's hard to guess without that information. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] RV: Problen send to repository
On Wed, Jul 24, 2013 at 5:47 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr wrote: java.lang.RuntimeException: ERROR: permission denied for relation versionitem Hi Luis, it seems that you haven't run the database_schema_18-3.sql upgrade script as your postgres dspace role. There are some examples how to fix that here: http://stackoverflow.com/questions/15520361/permission-denied-for-relation However, this likely means you also didn't run the other database upgrade scripts as the dspace role, either. Therefore you may expect some of the other new features in 1.5.0 - 3.0 to misbehave. Check all commands executed there, especially CREATE TABLE, but perhaps also CREATE INDEX and CREATE SEQUENCE and fix the permission issues. It might be easier just to drop them and re-run the upgrade scripts as the correct role. You'll have to judge that for yourself. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Confused About UTF-8
Hi Thomas, there's very little reason to be concerned. The most important part to get right is encoding when creating the database: createdb -U dspace -E UNICODE dspace What you mentioned is default locale set in shell environment variables. DSpace (an Java in general) doesn't care about those very much. In fact, off the top of my head I can't think of a single instance where it would matter. In any case, this can be changed at any time should you happen to run into any problems. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Installing Dspace in sub directory
On Sun, Jul 21, 2013 at 2:36 PM, suzon suzonduisl...@gmail.com wrote: Hi Helix, Our dspace address is dspace.library.daffodilvarsity.com. Shoud I allocate a new domain as mobile.dspace.library.daffodilvarsity.com ? Kindly Reply me. That's correct. The complete instructions are here: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/mobile/readme.txt Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 deploying the DSpace application
On Mon, Jul 22, 2013 at 5:52 PM, Mark H. Wood mw...@iupui.edu wrote: [DSpace]/lib. But, come to think of it, there's no reason that they *must* be on that host. Interesting idea. But how would you update the index? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 deploying the DSpace application
On Mon, Jul 22, 2013 at 5:08 PM, Thornton, Susan M. (LARC-B702)[LITES] susan.m.thorn...@nasa.gov wrote: Here are my questions: 1. Why don’t we deploy the .war file like we used to? Why the change, what’s the difference in doing it this way, and are there any benefits? Hi Sue, I'm not an expert in this, so I'll leave someone else answer it: http://stackoverflow.com/questions/3906881/advantages-disadvantages-to-exploded-wars My personal point of view: With WARs, Tomcat would detect when you deleted/updated the WAR and undeploy/redeploy it. With the new recommended approach, where you configure Contexts in individual context fragments (.xml files), you can simply delete/touch the context fragment. 2. We are modifying the structure of our new DSpace sites, to include a separate PostgreSQL server and not having the DSpace source code on the Production server. The SAs have asked me to find out: a. If we can deploy DSpace 3.1 with a .war file that can just be copied over from the Dev machine once we’re ready to go to Production? The webapps (whether WARs or exploded) will be the same. Note the difference in configuration: You only need to change dspace.hostname and possibly dspace.baseUrl and dspace.url. Then there are also other directories in [dspace], but after the upgrade, if you're only redeploying changed code, you most likely don't need to change anything there. For the upgrade itself, all the changes to these directories will be covered in the upgrading docs. b. Are there any other ways of doing this so the DSpace source code is NOT on the Production server? Sure, you could actually use the binary distribution and never touch the actual source code. You still need to do mvn package, though, to create the webapps. Once you've upgraded and you only want to redeploy changed webapps from dev to production, you could skip the ant step and just copy over the webapps manually. I hope this answers your questions, let me know if it doesn't. In some parts I felt like I could go into more detail but I didn't want to flood you with too much information. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] How to override the labels of itemDetailView-DIM?
Hi Elvi, here's my example (untested) code: td class=label-cell xsl:choose xsl:when test=@element='contributor' and @qualifier='author' i18n:textxmlui.dri2xhtml.METS-1.0.item-author/i18n:text /xsl:when xsl:when test=@element='title' i18n:textxmlui.dri2xhtml.METS-1.0.item-title/i18n:text /xsl:when xsl:when test=@element='description' and @qualifier='abstract' i18n:textxmlui.dri2xhtml.METS-1.0.item-abstract/i18n:text /xsl:when!-- More to be added here -- xsl:otherwise xsl:value-of select=./@mdschema/ xsl:text./xsl:text xsl:value-of select=./@element/ xsl:if test=./@qualifier xsl:text./xsl:text xsl:value-of select=./@qualifier/ /xsl:if /xsl:otherwise /xsl:choose/td Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ 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] OAI Request
Hi Remi, yes, that looks OK. This is what the OAI interface looks like in DSpace up to version 1.8.x. Now you may want to * try to use some verbs, e.g.: http://dspace.univcasa.ma:8080/oai/request?verb=Identify http://dspace.univcasa.ma:8080/oai/request?verb=ListSets http://dspace.univcasa.ma:8080/oai/request?verb=ListRecordsmetadataPrefix=oai_dc * browse it using an explorer interface: http://re.cs.uct.ac.za/ * validate its conformance to the OAI-PMH specification: http://validator.oaipmh.com/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] [Dspace-general] User id _ Password set up for the orgn. not having intranet email server - having computes in network
Please, always reply to dspace-tech, never directly to me. That's an SQL command. If you're using Postgres, log in as your dspace user and type psql dspace where dspace is the name of your dspace database. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Fri, Jul 19, 2013 at 4:48 PM, C. Sugumaran C c_suguma...@hotmail.com wrote: Can you please inform me, where and which file in which directory, we have correct the following line UPDATE eperson SET password=md5('newpassword'), salt=NULL, digest_algorithm=NULL WHERE email='newu...@example.com'; C. Sugumaran Scientist / Engr 'SF' Documentation Officer Liquid Propulsion Systems Centre INDIAN SPACE RESEARCH ORGANISATION VALIAMALA - 695 547 TRIVANDRUM PHONE : 0471- 2567 678 (O), FAX : 0471 - 2567841 (pp) - EMAIL - c_suguma...@hotmail.com ; c_suguma...@yahoo.co.in ; c_suguma...@lpsc.gov.in -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Musings on metadata
On Thu, Jul 18, 2013 at 8:54 AM, Alan Orth alan.o...@gmail.com wrote: org.subject.example org.subject.example2 Hi Alan, this is the principle behind Dublin Core, which the DSpace metadata schema is generally based on. The second part from the left (element) is less specific, while the third one (qualifier) is more specific. Since DNS and LDAP use the same principle, I don't really see how you came up with the first one. If that's based on www being the same value in the third part from the left, there's no real reason for that. A web server FQDN doesn't really have to start with www (and arguably shouldn't, see e.g. no-www.org for reasons), so I see this particular convention more as a coincidence than a rule. Just to make sure, can you give a specific example of such metadata in your repository? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Σχετ: url redirection on view/ open for an item
Isn't that what I did in the last example with xsl:variable? Sorry, I don't understand if you mean something else. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Jul 18, 2013 at 12:37 AM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: Thanks again but as far my first question ,is it possible for the url to be stored dynamically to the xsl variable ? Thank you very much Απο: helix84 heli...@centrum.sk Προς: Μάριος Πετρόπουλος acid...@yahoo.gr Κοιν.: dspace-tech dspace-tech@lists.sourceforge.net Στάλθηκε: 6:15 π.μ. Τετάρτη, 17 Ιουλίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/ open for an item On Wed, Jul 17, 2013 at 3:01 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: You are right . I am using it in multiple places . What i meant was to store each time the servers url to a variable and then place it to the actual link command line . For example xsl:value-of select=concat('myvar/path/script.php?.. Where myvar contains the servers name at any given time.. Define: xsl:variable name=myappurlhttp://yourapp.com/xsl:variable Use: concat($myappurl + '/path/script.php', ... As far the second one yes a POST is what i need but i thought that it maybe be needed some new code adding. So in order to make a POST request do i have to add a HTML form in the excisting script or it has to be entirely changed ? Instead of a xsl:attribute name=href /xsl:attribute /a Use form input xsl:attribute name=typehidden/xsl:attribute xsl:attribute name=namefile/xsl:attribute xsl:attribute name=value xsl:value-of select=$baseurl, mets:FLocat[@LOCTYPE='URL']/@xlink:href) / /xsl:attribute /input input xsl:attribute name=typesubmit/xsl:attribute xsl:attribute name=valueSend/xsl:attribute /input /form In script.php, instead of reading from $_GET['file'], read from $_POST['file'] or even better from $_REQUEST['file']. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Change StaticTrail title in breadcrumb
Hi Diego, to be more precise, StaticTrail will show up only if you name your page something else than page/about. For page/about, About This Repository will show up as trail text. You have overriden only the match=dri:body template [1]. To specify custom trail text and title text, you also have to override these other two templates, respectively: [2] [3]. [1] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L578 [2] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L288 [3] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L400 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] OAI configuration Properties
Hi Emilio, On Thu, Jul 18, 2013 at 9:48 AM, emilio lorenzo elore...@arvo.es wrote: AbstractCatalog.secondsToLive=86401 AbstractCatalog.granularity=-MM-DDThh:mm:ssZ I believe these two options can't be configured in the new OAI. According to description [1] of these properties in OAICat (the old OAI library), the first one determines how long resumptionTokens are valid. In XOAI, these are implemented differently and you can't control that. In any case, the OAI-PMH specification leaves it up to the application what the meaning of resumptionTokens is, so your harvester shouldn't rely on this. I don't think you can control granularity in XOAI configuration (it's either days or seconds [2]), but if you really need to modify this, grep the source of XOAI [3]. Identify.repositoryName=${dspace.name} Identify.adminEmail=${mail.admin} Identify.earliestDatestamp=2001-01-01T00:00:00Z Identify.deletedRecord=persistent This feature wasn't implemented in DSpace 3.0 or 3.1, but it will actually be part of 4.0 and also 3.2, due to be released next week. If you need the patch now, see [4]. [1] http://pubserv.oclc.org/oaicat/jars/docs/properties.html [2] https://github.com/lyncode/xoai/blob/master/schemas/oai-pmh.xsd#L275 [3] https://github.com/lyncode/xoai [4] https://jira.duraspace.org/browse/DS-1479 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Musings on metadata
I think I understand now. I don't have a definitive answer, but I can offer you my point of view. You are trying to define different schemata for different oraganizational units. A more natural fit in dspace would be to do this at the namespace level (the first part, which we wrongly call schema). So IMHO, a more natural fit for DSpace would be: org-group1.subject org-group2.subject You may want to consult this on dspace-general or with DCAT, who are currently dealing with this kind of thing and may offer better advice. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Jul 18, 2013 at 10:37 AM, Alan Orth alan.o...@gmail.com wrote: Helix, Perhaps it was a poor example. As a sysadmin I of course abhor www as well, but it was an easy example to illustrate DNS hierarchy; mail.example.org. would have worked as well for demonstration purposes. :) To clarify, I'm naturally more comfortable with a format like this: org.group1.subject org.group2.subject Where org is a large, common parent organization, and group1 and group2 are autonomous groups in this organization. Each group will have their own special, non-overlapping subjects, special terminology, authors, etc. The alternative, as my librarian suggests, is: org.subject.group1 org.subject.group2 Are there any technical merits to using one convention over the other? We had previously been polluting DC with things like dc.xzysubject.subject, which is what we want to move away from. Thanks, Alan On 07/18/2013 11:13 AM, helix84 wrote: On Thu, Jul 18, 2013 at 8:54 AM, Alan Orth alan.o...@gmail.com wrote: org.subject.example org.subject.example2 Hi Alan, this is the principle behind Dublin Core, which the DSpace metadata schema is generally based on. The second part from the left (element) is less specific, while the third one (qualifier) is more specific. Since DNS and LDAP use the same principle, I don't really see how you came up with the first one. If that's based on www being the same value in the third part from the left, there's no real reason for that. A web server FQDN doesn't really have to start with www (and arguably shouldn't, see e.g. no-www.org for reasons), so I see this particular convention more as a coincidence than a rule. Just to make sure, can you give a specific example of such metadata in your repository? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Alan Orth alan.o...@gmail.com http://alaninkenya.org http://mjanja.co.ke I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] OAI Harvesting
On Tue, Jul 16, 2013 at 3:44 PM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: A long shot, but is there any way to control the amount of simultaneous external harvests that are allowed at any one time? Hi Ben, not that I know of, but if you put your OAI behind Apache, you can use the MaxRequestWorkers directive [1]. The drawback there is that it doesn't issue a temporary error HTTP status code to the client, it just queues him. The request will most likely time out, so the OAI server may appear unresponsive. Ideally, according to the OAI-PMH spec, you would want to issue a 503 response code and a Retry-After header [2]. I'd probably write a simple HTTP wrapper in Python to do this. [1] http://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers [2] http://www.openarchives.org/OAI/openarchivesprotocol.html#HTTPResponseFormat Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Musings on metadata
Yes, it would work either way. You were asking about best practice, though. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] OAI configuration Properties
On Thu, Jul 18, 2013 at 1:29 PM, João Melo jm...@lyncode.com wrote: NOTE: As the OAI-PMH guidelines define there are only two possible granularities (Day and Second). Thanks for noting that. Actually, I just noticed even in OAICat there are only these two possible values (day and second): http://pubserv.oclc.org/oaicat/jars/docs/properties.html Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Σχετ: url redirection on view/ open for an item
Oh, you mean the base URL of the DSpace server, not the script server? You can get it from DRI request.serverName. Here's the simplified version: xsl:value-of select=concat('http://', /dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request' and @qualifier='serverName'])/ Ideally, you should concat request.scheme, request.serverName and request.serverPort, I'm just lazy. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Jul 18, 2013 at 1:51 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: Instead of me defying the url in xsl:variable name=myappurlhttp://yourapp.com/xsl:variable , i want the script to identify the actual Url Something like php's $_SERVER['HTTP_HOST']; . although i know that there is not such a command in xsl Thank you again Απο: helix84 heli...@centrum.sk Προς: Μάριος Πετρόπουλος acid...@yahoo.gr Κοιν.: dspace-tech dspace-tech@lists.sourceforge.net Στάλθηκε: 1:14 π.μ. Πέμπτη, 18 Ιουλίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/ open for an item Isn't that what I did in the last example with xsl:variable? Sorry, I don't understand if you mean something else. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Jul 18, 2013 at 12:37 AM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: Thanks again but as far my first question ,is it possible for the url to be stored dynamically to the xsl variable ? Thank you very much Απο: helix84 heli...@centrum.sk Προς: Μάριος Πετρόπουλος acid...@yahoo.gr Κοιν.: dspace-tech dspace-tech@lists.sourceforge.net Στάλθηκε: 6:15 π.μ. Τετάρτη, 17 Ιουλίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/ open for an item On Wed, Jul 17, 2013 at 3:01 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: You are right . I am using it in multiple places . What i meant was to store each time the servers url to a variable and then place it to the actual link command line . For example xsl:value-of select=concat('myvar/path/script.php?.. Where myvar contains the servers name at any given time.. Define: xsl:variable name=myappurlhttp://yourapp.com/xsl:variable Use: concat($myappurl + '/path/script.php', ... As far the second one yes a POST is what i need but i thought that it maybe be needed some new code adding. So in order to make a POST request do i have to add a HTML form in the excisting script or it has to be entirely changed ? Instead of a xsl:attribute name=href /xsl:attribute /a Use form input xsl:attribute name=typehidden/xsl:attribute xsl:attribute name=namefile/xsl:attribute xsl:attribute name=value xsl:value-of select=$baseurl, mets:FLocat[@LOCTYPE='URL']/@xlink:href) / /xsl:attribute /input input xsl:attribute name=typesubmit/xsl:attribute xsl:attribute name=valueSend/xsl:attribute /input /form In script.php, instead of reading from $_GET['file'], read from $_POST['file'] or even better from $_REQUEST['file']. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ 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] Installing Dspace in sub directory
On Wed, Jul 17, 2013 at 5:11 PM, suzon suzonduisl...@gmail.com wrote: can you tell me how to configure sitemap so that any user will be redirected to www.du.edu/m from mobile.du.edu . Here is the info on redirects in Cocoon, but I didn't try any of it: http://wiki.apache.org/cocoon/Redirecting I briefly tied map:call, but it worked only for redirects within the current domain. http://cocoon.apache.org/2.2/core-modules/core/2.2/844_1_1.html Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Σχετ: url redirection on view/ open for an item
On Wed, Jul 17, 2013 at 1:48 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: Well , Thank you so much !! It worked fine !! I have 2 more questions though. 1) Is it possible to pass (in our example) the : http://yourapp.com/path/ as a parameter into a variable ,so to run instantly, when running the script on other servers without having to change each time that value ? (something like reading each server's url name and storing it ) I'm not sure what you mean. Where would you like to have it stored? You could put it into an xsl:variable, but what's the difference? It's defined in the same xsl file. This only makes sense if you're using it in multiple places. Alternatively, you could put it into a dspace configuration file, these can also be read from XSL. The disadvantage is a small performance penalty (calling Java from XSL). 2) How can it be, when passing the file as a parameter to my app , not to display the file name on the url but just the http://yourapp.com/path/script.php? ? To do that, you would need to do a HTTP POST. That means having a HTML form with a Submit button instead of a link. The file name would be passed in an input element with type=hidden. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Σχετ: url redirection on view/ open for an item
On Wed, Jul 17, 2013 at 3:01 PM, Μάριος Πετρόπουλος acid...@yahoo.gr wrote: You are right . I am using it in multiple places . What i meant was to store each time the servers url to a variable and then place it to the actual link command line . For example xsl:value-of select=concat('myvar/path/script.php?.. Where myvar contains the servers name at any given time.. Define: xsl:variable name=myappurlhttp://yourapp.com/xsl:variable Use: concat($myappurl + '/path/script.php', ... As far the second one yes a POST is what i need but i thought that it maybe be needed some new code adding. So in order to make a POST request do i have to add a HTML form in the excisting script or it has to be entirely changed ? Instead of a xsl:attribute name=href /xsl:attribute /a Use form input xsl:attribute name=typehidden/xsl:attribute xsl:attribute name=namefile/xsl:attribute xsl:attribute name=value xsl:value-of select=$baseurl, mets:FLocat[@LOCTYPE='URL']/@xlink:href) / /xsl:attribute /input input xsl:attribute name=typesubmit/xsl:attribute xsl:attribute name=valueSend/xsl:attribute /input /form In script.php, instead of reading from $_GET['file'], read from $_POST['file'] or even better from $_REQUEST['file']. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Installing Dspace in sub directory
On Wed, Jul 17, 2013 at 7:04 AM, suzon suzonduisl...@gmail.com wrote: Hi, all. I am working on enabaling dspace mobile theme in our institution. But I want to enable it in another directory,, as like -- www.du.edu/m but I can not. please help me. Hi Suzon, currently, this is not supported. We weren't able to figure out so far how to make it work this way. The only supported method is to use a subdomain (e.g. mobile.www.du.edu) as described in the mobile theme installation instructions. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Como modificar y personalizar Dspace
On Wed, Jul 17, 2013 at 4:09 PM, Jimena Quiroga jim...@gmail.com wrote: Did somebody knows if there are some tutorial on how to modify Dspace in spanish? Hi Jimena, you need to be more specific. If you want to know how to enable Spanish in DSpace interface, take a look at default.locale and webui.supported.locales in dspace.cfg. If you want to know how to modify the translation messages, look at messages_es.xml (for XMLUI) or Messages_es.properties (for JSPUI). If you want to know how to modify DSpace, regardless of translation, please specify your DSpace version, interface and theme and what you want to modify. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Como modificar y personalizar Dspace
On Wed, Jul 17, 2013 at 4:50 PM, Jimena Quiroga jim...@gmail.com wrote: Hi Hélix: I`m using dspace 3.1, I need to modify the logo, the header, footer, news and some colors to start. Is there some tutorial to learn that? Thanks! Jimena Please, always reply to dspace-tech, never directly to me. Location od the logo depends on theme used. In the default Mirage theme, you can find it in Mirage/images/dspace-logo-only.png. Header and footer: https://wiki.duraspace.org/display/DSPACE/Customize%20header%20or%20footer%20(Manakin) News: [dspace]/config/news-xmlui.xml Colors: it's best to use the Inspect Element function of your browser to determine the DOM path you want to change. Then change it in Mirage/lib/css/*.css Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Como modificar y personalizar Dspace
When working with XSL files, also keep this in mind: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] [Dspace-devel] Embargo Dspace 3.0
On Wed, Jul 17, 2013 at 4:54 PM, Geanina King gba...@uttyler.edu wrote: Thank you so much for your response. I am confused! :-) I have already uncommented Step 4 (Upload with Embargo) and commented out the other Step 4. I do need the information provided below, is that correct? # DC metadata field to hold the user-supplied embargo terms embargo.field.terms = dc.embargo.terms # DC metadata field to hold computed lift date of embargo embargo.field.lift = dc.embargo.liftdate Besides Step 4 setup, is there anything else you would recommend we do? I created several items in the Submission and the embargo was never lifted. The items just stayed in the Private Items. Thanks, Geanina Please, always reply to dspace-tech, never directly to me. No, with simple embargo those configuration properties do nothing. I don't think you need to do anything else besides keeping your server's clock running precisely (use NTP). If you created private items, you probably checked the Private item checkbox in the submission step. Try not to do this. You only need to specify the lift date in Embargo Access until Specific Date in the described format. IIRC, you can do this for both items and bitstreams. I don't remember what it does when you specify it for items, but it's likely that the item is private while it's under embargo. Try it with individual bitstreams in the Upload step. Try to take a look at the screenshots here: https://wiki.duraspace.org/display/DSDOC3x/Embargo#Embargo-SimpleEmbargoSettings Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Σχετ: url redirection on view/open for an item
Thanks, it's clear now. Instead of the xsl:template match=mets:fileGrp[@USE='CONTENT'] template, you should override the xsl:template match=mets:file template. The only thing you need to change in that template is the value of href attribute as you can see below. For clarity, I added the $baseurl variable separately. xsl:variable name=baseurl select=concat(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='scheme'], '://', /dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverName'], ':', /dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverPort'])/ !-- Build a single row in the bitstreams table of the item view page -- xsl:template match=mets:file xsl:param name=context select=./ tr xsl:attribute name=class xsl:textds-table-row /xsl:text xsl:if test=(position() mod 2 = 0)even /xsl:if xsl:if test=(position() mod 2 = 1)odd /xsl:if /xsl:attribute td a xsl:attribute name=href xsl:value-of select=concat('http://yourapp.com/path/script.php?file=', $baseurl, mets:FLocat[@LOCTYPE='URL']/@xlink:href)/ /xsl:attribute ... Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Σχετ: url redirection on view/open for an item
By the way, once you get that working, you may want to urlencode the bitstream URL before you add it as parameter to the URL, for two reasons 1) if the filename itself contains non-ascii characters and 2) to prevent the ?sequence=1 parameter from causing problems. Here is one suggested solution: http://stackoverflow.com/questions/2425516/xslt-version-1-url-encoding/3518109#3518109 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Sitemap error.
Hi Anis, that error happens if your theme doesn't have the sitemap.xmap file (located in [dspace]/webapps/xmlui/themes/YourTheme/sitemap.xmap). Look at other themes to see what it should look like. You can actually copy it over from your parent theme, you only need to change these two things in it: theme-pathYourTheme/theme-path theme-nameYourTheme/theme-name Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Fwd: Regarding Making modification inDSpace
On Mon, Jun 24, 2013 at 8:22 AM, Chitra Sharma chitra.sharm...@gmail.com wrote: Hello Sir/Ma'am M bringing out with a problem in DSpace about how to add new servlet files (.java files) and to compile them to use in the existing DSpace. Kindly Reply Soon If you want to rebuild DSpace, please follow these instructions: https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace There is also a recommended location for your changes into an overlay to keep them separate from the DSpace source in order to make upgrades easier. That method is explained here: https://www.ideals.illinois.edu/handle/2142/11915 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Generating thumbnails
Hi Sisay, try following these instructions: https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-XPDFFilter Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Tracking Themes
In that case, here's how you can access the raw statistics data directly [1]. They're stored in the statistics Solr core. Here is some basic information on XMLUI customization: [2] There aree more detailed guides here: [3], I suggest you start here [4] If you only want to change the text on the front page, that one is stored in the news-xmlui.xml file [5] and any modifications to it require DSpace restart and in some cases, also clearing the Cocoon cache [6]. [1] https://wiki.duraspace.org/display/DSPACE/Solr [2] https://wiki.duraspace.org/display/DSDOC3x/XMLUI+Configuration+and+Customization [3] https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides [4] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial [5] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/news-xmlui.xml [6] https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] DSpace stats and Excel
On Mon, Jun 24, 2013 at 12:28 PM, remi asare remi.as...@gmail.com wrote: I'm only interested in exporting the entire solr statistics to a csv file. The example above you gave me can help? Yes, that's exactly what it does (exports 10 rows starting with row 0). I wrote detailed information how to access Solr here: https://wiki.duraspace.org/display/DSPACE/Solr However, be prepared for large quantities of data that Excel surely won't handle. E.g. my rather small and not so old DSpace instance has 8 million hits recorded in Solr, which means my CSV file would have 8 million rows. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Welcome to the latest DSpace committer: Keiji Suzuki
Dear DSpace Community, The DSpace committers team are delighted to announce a new member to the group: Keiji Suzuki from Ebetsu, Japan. Please join us in welcoming him! Keiji is a freelance consultant on library-related systems. Before beginning the current job, he worked as a librarian in two university libraries and the NACSIS (currently NII [1]) for 20 years. Keiji got to know DSpace for the first time through translation of the DSpace manual requested by NII-IRP, a Japanese project to promote open access, in 2004. His first contribution to DSpace was a patch to fix a minor bug in version 1.2.1. Since then, he has been providing the Japanese translation, reporting and fixing bugs and submitting new features like authority control in the Batch Metadata Editor, document type-based submission and advanced embargo for JSPUI. In addition, he has been hosting a website and a blog for the Japanese community since 2005, which provide instructions on how to localize DSpace and several functions to fulfill the domestic needs in Japan. Keiji supports the idea of open access and is interested in refining DSpace, especially its JSPUI, as a tool to promote the green road to open access. We are always on the lookout for new developers, contributors, and committers within the DSpace community. Anyone who would like to get more involved is encouraged to do so. You are also welcome to contact us at any time if you'd like some ideas of how to start contributing: - https://wiki.duraspace.org/display/DSPACE/DSpaceContributors Contributions can take many forms, from writing code to editing documentation, or testing new releases to designing new themes for our user interfaces. If you or someone you know has been an active DSpace contributor for some time, you can also nominate that person to become our next committer! Nomination details are available at: - https://wiki.duraspace.org/display/DSPACE/Committer+Nominations Thanks, The DSpace Committers Group [1] http://www.nii.ac.jp/en/ -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Change the way the collection list is displayed in submit link (Manakin)
On Mon, Jun 24, 2013 at 1:31 PM, remi asare remi.as...@gmail.com wrote: After having followed this guide https://wiki.duraspace.org/pages/viewpage.action?pageId=19006093 and modify the SelectCollectionStep.java file (which is located in \dspace-3.1-src-release\dspace-xmlui\src\main\java\org\dspace\app\xmlui\aspect\submission\submit. ) What should do next to make visible in my interface? Anyone knows? please You need to rebuild and redeploy DSpace and restart Tomcat. https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] DSpace stats and Excel
On Mon, Jun 24, 2013 at 1:39 PM, remi asare remi.as...@gmail.com wrote: Okay, i can try that on online dspace right? it's because Peter said that i may recieve an error if i try to query a SOLR system outside of my localhost. That's exactly what my Solr wiki page explains. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Σχετ: url redirection on view/open for an item
Hi Marios, I don't really understand your question. What do you mean by application? Do you mean a desktop application from which you're trying to access the DSpace data? Or a web application? Or just a XMLUI theme? Please, provide as much detail as you can. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] DSpace stats and Excel
On Mon, Jun 24, 2013 at 3:54 PM, remi asare remi.as...@gmail.com wrote: Are you refering to that context path=/solr in the chunk below? Thanks That's correct. Just add your own docBase and change the IP addresses as you need. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] enabling ldap authentication causes java.lang.NullPointerException login error
Hi Bobby, the problem is that while you enabled hierarchical LDAP (bind/search/bind), you didn't uncomment any search_scope property. Using the default search_scope = 2 is fine in most cases. https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java#L391 Also, please note that you included your password in search.password in the authentication-ldap.cfg file you attached to this email. Since this is a public mailing list, please make sure you change your password. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] LDAP permssion
On Thu, Jun 20, 2013 at 9:47 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: We implemented LDAP/SSL. Our e-people doesn’t have the same permission as the normal dsapce/password login when they login through the LDAP. Use login.specialgroup and/or login.groupmap.* to assign LDAP users to DSpace groups as described in https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#AuthenticationPlugins-ConfiguringLDAPAuthentication Keep in mind that LDAP groups are assigned dynamically, only for the duration of the login session, so user's membership in such group won't be visible to the administrator using the usual tools. You may, however, check the effective group membership in the user's profile while he's logged in. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Remove the box My account only from home
On Thu, Jun 20, 2013 at 2:41 PM, M. Àngels Pulido m.angels.pul...@uvic.cat wrote: How I can remove the box My Account only from home? because I need it in other contexts ... Usually, this would be as simple as this: xsl:template match=dri:list[@id='aspect.viewArtifacts.Navigation.list.account'] xsl:if test=//dri:metadata[@element='request' and @qualifier='URI']/text() != '' xsl:apply-templates / /xsl:if/xsl:template But in this case dri:list adds some formatting and here we're missing it (because we're matching it and thus replacing its content). I found it easier to recreate this particular content than to hunt for element we missed: xsl:template match=dri:list[@id='aspect.viewArtifacts.Navigation.list.account'] xsl:if test=//dri:metadata[@element='request' and @qualifier='URI']/text() != '' xsl:variable name=authenticated select=/dri:document/dri:meta/dri:userMeta/@authenticated = 'yes' / h1 xmlns:i18n=http://apache.org/cocoon/i18n/2.1; class=ds-option-set-headi18n:textxmlui.EPerson.Navigation.my_account/i18n:text/h1 div id=aspect_viewArtifacts_Navigation_list_account class=ds-option-set ul class=ds-simple-list xsl:choose xsl:when test=$authenticated lia href=/logouti18n:textxmlui.EPerson.Navigation.logout/i18n:text/a/li lia href=/profilei18n:textxmlui.EPerson.Navigation.profile/i18n:text/a/li lia href=/submissionsi18n:textxmlui.Submission.Navigation.submissions/i18n:text/a/li /xsl:when xsl:otherwise lia href=/logini18n:textxmlui.EPerson.Navigation.login/i18n:text/a/li lia href=/registeri18n:textxmlui.EPerson.Navigation.register/i18n:text/a/li /xsl:otherwise /xsl:choose /ul /div /xsl:if/xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] use of metadata registry tab for dspace administrator?
On Thu, Jun 20, 2013 at 2:50 PM, jayachandra B jayachandra1...@gmail.com wrote: I am using dspace 1.8.2 jspui, what is the use of meta data registry and what is the user of namespace and name in the meta data registry. Hi Jayachandra, this is documented here: https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-MetadataFormatRegistries Name is the short namespace name that appears as namespace.element.qualifier. If you're creating your own local namespace, then namespace URI can be anything in URI form - DSpace doesn't really use it for anything useful. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] doubt in adding e-people in dspace
On Thu, Jun 20, 2013 at 3:15 PM, jayachandra B jayachandra1...@gmail.com wrote: I am using dspace 1.8.2 jspui version. I am adding new E-people after logged in as administrator using administer tool. Now how can the new user can log in in to dspace. Go to Administrative - Access Control - People, click on a person and click the Reset password button. If the person has a valid email, they will receive an email and be able to set their own password. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] doubt in adding e-people in dspace
1) create a new E-person 2) fill in a valid email address as netid (=username) 3) press the Reset password button Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] doubt in adding e-people in dspace
On Thu, Jun 20, 2013 at 6:19 PM, jayachandra B jayachandra1...@gmail.com wrote: Where is the reset password button? Sorry, I gave you instructions for XMLUI because I didn't notice you said you use JSPUI. There's not Reset password button in JSPUI. As Andrea said: You need to use the forget password link that is present in the login box (click on mydspace as unlogged user). On Thu, Jun 20, 2013 at 6:29 PM, Andrea Bollini a.boll...@cineca.it wrote: http://demo.dspace.org/jspui/forget The correct link is: http://demo.dspace.org/jspui/forgot Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Psuedo video streaming with item attachment and seeking enabled
On Tue, Jun 18, 2013 at 7:31 PM, Sara Amato sam...@willamette.edu wrote: I notice in the VTech example, following the link http://vtechworks.lib.vt.edu/bitstream/handle/10919/18426/S11L1U0024h_qtp.mp4?sequence=3 actually plays the video. $ wget --server-response http://vtechworks.lib.vt.edu/bitstream/handle/10919/18426/S11L1U0024h_qtp.mp4?sequence=3; --2013-06-19 10:15:22-- http://vtechworks.lib.vt.edu/bitstream/handle/10919/18426/S11L1U0024h_qtp.mp4?sequence=3 Resolving vtechworks.lib.vt.edu (vtechworks.lib.vt.edu)... 128.173.127.96 Connecting to vtechworks.lib.vt.edu (vtechworks.lib.vt.edu)|128.173.127.96|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Wed, 19 Jun 2013 08:15:22 GMT Set-Cookie: JSESSIONID=62C0449028B6DB15AFCE71002D2F11A5; Path=/ X-Cocoon-Version: 2.2.0 Vary: User-Agent Last-Modified: Wed, 14 Nov 2012 20:46:11 GMT Expires: Wed, 19 Jun 2013 09:15:22 GMT Accept-Ranges: bytes Content-Type: video/mp4 Content-Length: 14010976 Connection: close Length: 14010976 (13M) [video/mp4] Saving to: `S11L1U0024h_qtp.mp4?sequence=3' Confirming Jonathan's observation, this returns Content-Type: video/mp4 video src=/xmlui/bitstream/handle/10177/62/Knopf.mp4?sequence=1 width=320 height=240 controls= autobuffer= / the video does not play. If I go to the link directly, it downloads the video rather than playing. I couldn't verify this assumption on your repository, because it doesn't contain the mp4 bitstream (anymore?): http://libmedia.willamette.edu/xmlui/metadata/handle/10177/62/mets.xml Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] El recurso requerido (/jspui) no esta disponible
Hi Jimena, I just looked at your server.xml and I do not see any Context declarations under Host. There are multiple ways how to point Tomcat to webapps (=contexts), but if you follow the official DSpace 3 documentation (Step 9 of the Installation chapter, as Kostas pointed out) you should declare them in server.xml. I don't want to confuse you with the other alternatives at this time. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Psuedo video streaming with item attachment and seeking enabled
On Wed, Jun 19, 2013 at 7:32 PM, Sara Amato sam...@willamette.edu wrote: Content-Type: video/mp4;charset=ISO-8859-1 Because this seems to be the problem, removing ;charset=ISO-8859-1 using mod_headers [1] could if not solve the problem, at least confirm that this is the only thing that causes the problem. [1] http://httpd.apache.org/docs/current/mod/mod_headers.html Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Hide bitstreams with restricted access?
Hi Jessica, copy this mets:file template over to your theme, in order to override it: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L388 Them make the following modifications to the XSL file that contains it: 1) add the following attributes to the xsl:stylesheet element: xmlns:jstring=java.lang.String xmlns:util=org.dspace.app.xmlui.utils.XSLUtils xmlns:rights=http://cosimo.stanford.edu/sdr/metsrights/; modify the mets:file template this way: 2) replace xsl:param name=context select=./ with xsl:variable name=context select=./ 3) on the following line (after the context variable), add: xsl:variable name=file_id select=jstring:replaceAll(jstring:replaceAll(string(@ADMID), '_METSRIGHTS', ''), 'rightsMD_', '')/ xsl:variable name=rights_declaration select=../../../mets:amdSec/mets:rightsMD[@ID = concat('rightsMD_', $file_id, '_METSRIGHTS')]/mets:mdWrap/mets:xmlData/rights:RightsDeclarationMD/ xsl:variable name=rights_context select=$rights_declaration/rights:Context/ xsl:if test=($rights_context/@CONTEXTCLASS = 'GENERAL PUBLIC') or not ($rights_context/rights:Permissions/@DISPLAY = 'true') 4) on the very last line of the template (before /xsl:template), add: /xsl:if Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Questions on upgrading from 1.5 to 3.1 and maintaining a live and test instance
On Mon, Jun 17, 2013 at 6:52 PM, Spencer Lamm sla...@swarthmore.edu wrote: 1) This wiki post by Mark Diggory details how to upgrade on the same box without overwriting - essentially install the new code, diff the config file differences, copy the db files to the new instance, and run the db upgrades. We need to upgrade on a new server due to OS issues. Are there any additional considerations replicating Mark's process on a new server? https://wiki.duraspace.org/display/DSPACE/To+upgrade+without+overwriting Hi Spencer, using a new server when upgrading is actually a procedure I would recommend over in-place upgrade, especially in case of a large version jump. I outlined the procedure here (I really need to make a wiki page for it): http://dspace.2283337.n4.nabble.com/Migrate-1-8-to-3-0-database-td4661490.html http://dspace.2283337.n4.nabble.com/migrate-repository-into-a-new-instances-machine-td4660930.html Basically, make sure you read through each of the upgrading instructions (1.5-1.6, 1.6-1.7, ...). You don't need to do all the steps, but at the very least you have to run the database migration scripts in the correct order. Then, in the last one (1.8-3.1) follow the repeated steps you previously skipped. 2) Our assetstore is on a Compellent SAN accessible via a server mount. What I would love to do is use this upgrade as an opportunity to set up live and development DSpace servers that are as close as possible to being exact replicas. Is it possible to have two DSpace instances pointing to the same assetstore? Do database changes in DSpace upgrades affect the assetstore ? Yes, it's possible, but I strongly recommend against it! If you did, you could delete a file in the staging instance and it would be also missing in the production instance assetstore, but the production instance wouldn't know about it, because it would still have a record that it exists in its database. What you can do is make separate assetstores and use some deduplication method (because most of the files will be the same) - from primitive ones like hardlinks to advanced ones like deduplication on ZFS - check with your SAN admin. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Hide bitstreams with restricted access?
On Tue, Jun 18, 2013 at 11:13 AM, M. Àngels Pulido m.angels.pul...@uvic.cat wrote: If you select Metadata files, when you Upload a new bitstream, this bitstream is not visible. That's right, files in other bundles than ORIGINAL or CONTENT will be hidden by default. The problems with this approach are: 1) They will not be displayed even to the user/group that has access to them 2) They will probably not be indexed and therefore not fulltext-searchable Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Hide bitstreams with restricted access?
On Tue, Jun 18, 2013 at 12:06 PM, M. Àngels Pulido m.angels.pul...@uvic.cat wrote: Yes Helix, to us this approach works because we want to hide the bitstream that is a .pdf where the user put the permission to publish their work: article, book, etc. in our repository and therefore, this document contains personal data. So we are interested that are not indexed in the search engines and is a document that can only access the administrators. I'm not sure if this is what Jessica hopes ... That's a good approach for your use case - storing permissions in the repository. But let me give you a suggestion. If you create a new bundle, it will be listed in the METS file and unless you restrict the bitstrean access rights, it will be accessible (if you know how to find out its URL from the METS file). A better way would be to use the LICENSE bundle for storing permissions, because it' not shown in the list of bundles by defaut. In either case, you should still make sure to remove Anonymous READ access from the file. You probably do that, I'm just making sure. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Index file
On Tue, Jun 18, 2013 at 1:43 PM, remi asare remi.as...@gmail.com wrote: Please guys, is there any index file that bounds together the JSPUI homepage? or anything like that? Please i really need it to change the cellspacing. Thanks in advance Hello Remi, is this what you're looking for? https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/webapp/home.jsp Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Index file
On Tue, Jun 18, 2013 at 2:17 PM, remi asare remi.as...@gmail.com wrote: I don't think so, because what i'm looking i am seeing it there. Ill explain myself; i'm using firebug to do the real time edition of JSP. In the firebug menu the code line that i'm supposed to find is : table class=centralPane width=99% cellspacing=1 cellpadding=3 border=0 Why don't you just grep the source? https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/webapp/layout/header-default.jsp#L149 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Index file
On Tue, Jun 18, 2013 at 3:21 PM, remi asare remi.as...@gmail.com wrote: Will it work if i grep in the source? if so i will rebuild after right? grep only searches for the file which contains given text, it has nothing to do with modifying DSpace. You can then proceed as usual. I recommend using the grep -RnI options to search recursively, display line number for matches and skip binary files. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Index file
cd [dspace-source] grep -RnI text you're searching * Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] How to delete item/collection/community
On Sun, Jun 16, 2013 at 12:10 PM, Md. Ataur Rahman ataurb...@gmail.com wrote: I'm using dspace 3.1 xmlui with Mirage theme. I want to completely delete an item as well as a collection. How can I do this as there is no option in the admin section for doing this type of work. Please help Log in as administrator, go to the collection, choose Edit Collection from the Context menu and press the Delete Collection button at the bottom of the page. The collection will be deleted including its items: This will delete: * Any items and incomplete submissions in this collection that aren't contained in other collections * The contents of those items * All associated authorization policies Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Email notification to existing specified users only
Hi LifeH2O, perhaps you could try asking these question again at dspace-devel, maybe you'll get an answer there. On Mon, Jun 17, 2013 at 12:08 PM, LifeH2O life...@gmail.com wrote: I want to select dc.contributor.author in input forms (submission form) from existing EPersons only. How do I do that? I'm afraid you can't. DSpace currently has no ties between epersons and authors. There aren't even proper objects for authors, authors are only strings in metadata. The only thing that binds a single author in multiple items is an optional authority identifier. I think this is something that would be much appreciated if you're willing to work on it. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Hide browse columns for which there is no metada
On Mon, Jun 17, 2013 at 1:54 PM, LifeH2O life...@gmail.com wrote: All the collections in our system include /dc.student.class/. To make it visible we added it in dspace.cfg /webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, dc.contributor.*, dc.student.class/ Now we have another collection 'Meeting minutes' which includes /time/ but no /student.class/or author. How do we hide Class column for this collection and add other columns if required for this collection only JSPUI or XMLUI? In case of XMLUI, which theme? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Hide browse columns for which there is no metada
I realized that you mentioned webui.itemlist.columns, which works only in JSPUI. I don't know much about JSPUI, but you'll have to modify source to achieve what you need: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemListTag.java#L149 For each list row, you should check each item's parent collection's ID or handle and use that to decide which metadata field you'll display. You might want to leave that column header empty or list both possible values. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Email notification to existing specified users only
On Mon, Jun 17, 2013 at 2:00 PM, LifeH2O life...@gmail.com wrote: Ok. Then is it possible to select authors from all existing dc.contributor.author ? User can always enter incorrect name for dc.contributor.author, dc.contributor.advisor etc. We want name to be suggested from existing metadata elements. You could try something like this: SELECT *FROM metadatavalueWHERE metadata_field_id IN ( SELECT metadata_field_id FROM metadatafieldregistry WHERE element = 'contributor' AND qualifier = 'author') Notice the text_value column, that's where the strings are. When using authority control, the authority identifier will be in the authority column and there will also be a confidence value. I have seen choice authority system but unable to make it work like my understanding. I'll ask it on dspace-devel if you still cannot help. IMHO, the authority system is currently the best way to make the connection between epersons and authors (because of the lack of an author object). What kind of problem did you have with making it work? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Email notification to existing specified users only
On Mon, Jun 17, 2013 at 2:24 PM, Konstantinos Stamatis kstama...@ekt.gr wrote: To give you a hint on how you can implement it, you need to create a new type of input control for the submission form, which will make ajax requests upon completion to a new servlet that will be responsible to answer such requests with an XML or JSON, depending on the autocomplete control that you will be using. In this servlet you can search (and return) all metadata values of a specific field, or all epersons as you mentioned or whatever. There would also need to be a server-side component in the submission step that would verify the input once again to prevent any manual changes to the form variables (bypassing JavaScript). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 moving a collection from one community to another
On Mon, Jun 17, 2013 at 3:38 PM, Terry Brady tw...@georgetown.edu wrote: Would it be sufficient to run index-update rather than index-init after updating the community2collection table? Hi Terry, I don't think you need to update the Lucene index at all, because you didn't actually change any item metadata. But I'm not 100% sure. If you're using Discovery, then you do need to run update-discovery-index - the Solr index used by Discovery does store relations. It is my understanding that index-init should be run while the application server is suspended. That's true. index-init must be done while Tomcat is down. index-update and update-discovery-index are done while Tomcat is running. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 moving a collection from one community to another
On Mon, Jun 17, 2013 at 4:01 PM, helix84 heli...@centrum.sk wrote: On Mon, Jun 17, 2013 at 3:38 PM, Terry Brady tw...@georgetown.edu wrote: Would it be sufficient to run index-update rather than index-init after updating the community2collection table? Hi Terry, I don't think you need to update the Lucene index at all, because you didn't actually change any item metadata. But I'm not 100% sure. I think I was wrong. I looked at the index structure and there's a location field that specifies the parent. I don't see an option to reindex existing items like Discovery has (see below), so you might have to either run index-init or specify the updated items using the -i option to index-update. You can use a tool like Luke to look at the index (located in [dspace]/search) and check whether the location field is updated on a particular affected item when you run just index-update. If you're using Discovery, then you do need to run update-discovery-index - the Solr index used by Discovery does store relations. Running just update-discovery-index actually doesn't reindex existing items. When you do an external change that DSpace is not aware of, like using SQL in this case, you may need to also reindex all existing items. To do that, run update-discovery-index -f. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 moving a collection from one community to another
On Thu, Jun 13, 2013 at 10:42 PM, Terry Brady tw...@georgetown.edu wrote: Aside from running my own SQL, is there an existing tool to accomplish such a relationship? Hi Terry, I'd look into using AIP import/export of a whole subtree. I know, it's more invasive than flipping a pointer somewhere as community-filiator does, but it's well documented (not that there would be any caveats in SQL). So here's how you can export a collection: https://wiki.duraspace.org/display/DSDOC3x/AIP+Backup+and+Restore#AIPBackupandRestore-ExportingAIPHierarchy Then you'd need to delete it and import it using the restore mode (-r) with a new parent community (-p). Make sure you try this to get familiar with it, e.g. on demo.dspace.org before you do it in production. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] URL Change
On Fri, Jun 14, 2013 at 10:19 AM, Rajat Gupta ra...@webinito.com wrote: The URL http://abc.co.in is not working, else http://abc.co.in:8080/ is working. How to make URL http://abc.co.in work. Hi Rajat, there are several methods available and described here: https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Unable to send email
What was the solution? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Unable to send email
On Fri, Jun 14, 2013 at 1:01 PM, SanjibKumarDeka xan...@gmail.com wrote: I have edited the /etc/hosts file and entered the server IP and name along with mail server domain name and the local host. Its like, OK, but you had an IP there before for nmbor.iit.ernet.in, which was a different IP (202.141.80.9nmbor.iitg.ernet.in nmbor ). So the problem was just that the IP was wrong, right? 127.0.0.1 localhosts 202.141.0.0nmbor.iit.ernet.innmbor 202.141.8.7central-library Secondly, you now have 127.0.0.1 localhosts there. It's not localhosts, it's localhost. If you don't correct this, it can cause you problems at places where you wouldn't even expect it. In fact, I recommend you to use what you originally had there: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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 banner image in v3.1?
If you want to replace the logo, the source location is: [dspace-source]/dspace-jspui/src/main/webapp/image/dspace-blue.gif the installed location is [dspace]/webapps/jspui/image/dspace-blue.gif Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 banner image in v3.1?
On Fri, Jun 14, 2013 at 2:04 PM, Michael White michael.wh...@stir.ac.uk wrote: Thanks - I'm not actually replacing that image, rather I've got a modified header-default.jsp that builds a banner from a number of separate images that I've placed in [dspace-source]/dspace-jspui/src/main/webapp/image/ - so your response appears to confirm that I've put them in the right place, so it must be something else stupid that I'm doing . . . . . My images don't get copied over to [dspace]/webapps/jspui/image when I rebuild DSpace, so the issue appears to be before my webapps ever get as far as tomcat . . . . Sorry, I have no idea why, I just tried and it works just fine. Are you running mvn package from [dspace-source], not from [dspace-source]/dspace/? The next thing I was going to suggest overlays, as Claudia did. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Source location and Installation location
On Fri, Jun 14, 2013 at 2:55 PM, SanjibKumarDeka xan...@gmail.com wrote: Could anybody please tell me the difference between editing/ changing a file in the Source and Installed location? If we make a change in the installed location does it changes automatically in the source location ? Or should we need to change in both the location ? The files from [dspace-source] are copied to [dspace] during the ant fresh_install or ant update step. During update, ant will backup and replace some directories in [dspace], e.g. [dspace]/webapps to [dspace]/webapps.bak-20130614-142609. You're supposed to make changes in [dspace-source], build them using mvn package and deploy them using ant update. At your own risk, it is possible to take a shortcut and edit files in [dspace]. These changes are _never_ automatically reflected in [dspace-source], you should _always_ do the change manually also in [dspace-source]. If you don't, your changes in [dspace] will be replaced the next time you run ant, as described above. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 banner image in v3.1?
And where did you get the information that you should run maven in [dspace-source]/dspace/ (which is not the recommended way anymore)? Maybe we have some outdated documentation somewhere. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Front page news section gone away after editing the news on news-xmlui.xml
Hi Ataur, news-xmlui.xml is not an HTML file. It has its own syntax. It's an XML file which is not nearly as forgiving to syntax errors as HTML. If it's not well-formed, it simply won't work. Use a tool like xmllint to check its syntax after you change it. Although you can use p, you can't use P as per XML syntax. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Front page news section gone away after editing the news on news-xmlui.xml
On Thu, Jun 13, 2013 at 9:56 AM, Md. Ataur Rahman ataurb...@gmail.com wrote: The news-xmlui.xml file details is as follows- That looks OK. Whats the wrong here.I can't understand. I've also tried by restarting tomcat according to this http://dspace.2283337.n4.nabble.com/changes-in-news-xmlui-xml-not-picked-up-after-tomcat-restart-td3279113.html#a3279118; but no result Yes, you need to restart Tomcat. Only refreshing the browser page is not enough. If the changes still do not appear after restarting Tomcat, clear the Cocoon cache: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Queries
On Thu, Jun 13, 2013 at 9:33 AM, Parul dubey parul.du...@itsl.in wrote: 1) Please tell me the procedure to how to create a user having ‘Add a new Item/Submit to Collection’ to Collection1 , and read Items of collection2 , rights only. Like I said, you do not assign rights to users. You assign policies to communities/collections/items that say which users/groups can read/edit them. 1) create a new user 2) edit Collection1 3) open the COLLECTION_1_SUBMIT role 4) add your user to this resource policy To make items of Collection2 unreadable for a particular user, you'd have to remove the read rights for the Anonymous user (i.e. everyone) and then enumerate everyone except for your particular user. I don't think you want to do that. 2) Also I want increase the Font Size of the Read marked field as shown in the attachment. In general, search for the text (Publication/Event Date) in Messages.properties and find the associated key (something like browse.type.metadata.author). Then grep the source for this key. That's how you'll find where it's used. There you can change the style. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] another unscheduled shutdown
On Thu, Jun 13, 2013 at 10:02 AM, ady ad...@unhas.ac.id wrote: Dear Mr.Wood and Mr.Gibson, Thank you for the insight, our repo. system hasn't been crashed for a week now. I just follow Mr.Gibson suggestion to reduce log file (change all instances of INFO to ERROR) Please, note that by removing the INFO lines from log files, you'll be unable to generate some statistics later. However, Solr statistics will still work if you use them. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Understanding Statistics in DSpace 3
On Wed, Jun 12, 2013 at 4:14 PM, Mark H. Wood mw...@iupui.edu wrote: We should perhaps review the default logging configuration. We might want to provide separate appenders for statistical and general logging, since each set of entries is a vexing amount of noise for the other purpose. That's a great idea. I'd also be grateful for more examples how to tweak logging (set different levels for different parts of the system). Java logging often confuses me. In particular, I'd like to be able to set each module to log into its own file and set log level for it separately. There's an amazing amount of chatter from Solr in the servlet container logs as well, that most will probably not care about. We might at least siphon it off to our own logs. If Solr could log into its own file, that would be great. It's true that it quickly fills the tomcat log. I'd also like to be able to modify the amount of information shown, e.g. hide the INFO queries for Solr separately. In another instance, I'd like to see the Solr statistics and oai queries - currently only the Discovery queries are logged. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Queries
On Thu, Jun 13, 2013 at 10:23 AM, Parul dubey parul.du...@itsl.in wrote: While trying to register new user it is showing internal error .Please let me know how to resolve this issue and register new user . An Internal System error actually means that more information should have been logged in DSpace or Tomcat log files. Unfortunately it's a generic DSpace system message which does not provide the information we need to help you resolve the problem. Sorry I cannot provide more help, but unfortunately we cannot tell what caused the 'internal system error' without information from the log files. Here's a guide we wrote up to help people locate errors in logs: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Please unsubscribe me, thanks
You can unsubscribe here: https://lists.sourceforge.net/lists/listinfo/dspace-tech Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] another unscheduled shutdown
On Thu, Jun 13, 2013 at 10:23 AM, Ady Wahyudi Paundu ad...@unhas.ac.id wrote: - dual processor IBM machine with 16 GB memory - JAVA_OPTS=-Xmx1024M -Xms512M -XX:MaxPermSize=256M -Dfile.encoding=UTF-8 Since you have 16 GB of memory, you may definitely want to assign majority of it to Tomcat. You're giving it less than 2 GBs. I recommend giving it about 14 GB, the rest should be more than enough for postgres, apache, disk cache and any other processes. If disk space for log files is a problem, you may want to compress them or move them to another machine. Most syslog implementations allow you to do both. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Queries
On Thu, Jun 13, 2013 at 10:48 AM, Parul dubey parul.du...@itsl.in wrote: 1) While registering a new user I am getting Internal error.Let me know how to resolve. See my previous email. 2) Also let me know how to edit Anonymous users Read rights. You can't. See my previous two emails. 3) The term 'Publication/Event Date' appears twice in Message.Properties file.The associate keys are : ‘metadata.dc.description’ , ‘itemlist.dc.description’ The metadata.* keys are a bit special - they are read here: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L474 and displayed on line 487. For itemlist, it's similar: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemListTag.java#L357 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Mobile theme on DSpace 1.8.2
On Thu, Jun 13, 2013 at 2:37 PM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: At the moment I got the domain registered for mobile theme and is currently opening the same web pages as main domain, as mentioned I will now follow other steps you indicated as long as on step 0 is correct. Yes, it seems correct: $ host wiredspace.wits.ac.za wiredspace.wits.ac.za is an alias for kalypso.wits.ac.za. kalypso.wits.ac.za has address 146.141.11.21 $ host mobile.wiredspace.wits.ac.za mobile.wiredspace.wits.ac.za is an alias for kalypso.wits.ac.za. kalypso.wits.ac.za has address 146.141.11.21 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Unable to send email
On Thu, Jun 13, 2013 at 2:01 PM, SanjibKumarDeka xan...@gmail.com wrote: Following contents is available in the /etc/hosts. That looks correct. What's the contents of your /etc/nsswitch.conf file? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Log-In Problem
Which DSpace version are you using? If you're using DSpace 3, you can try setting the xmlui.session.ipcheck=false option. If you're using an older version, you'll also need to apply this patch. https://jira.duraspace.org/browse/DS-1192 I'm not certain this will help, but it's worth trying. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] Fwd: Front page news section gone away after editing the news on news-xmlui.xml
The email arrived fine to me (no space). It also works for Ataur, forwarding his confirmation. This is why people should always reply to the list, sigh. -- Forwarded message -- From: Md. Ataur Rahman ataurb...@gmail.com Date: Thu, Jun 13, 2013 at 10:17 AM Subject: Re: [Dspace-tech] Front page news section gone away after editing the news on news-xmlui.xml To: Ivan Masár heli...@centrum.sk hi helix, thanks a lot. its working after clearing the Cocoon cache. thank you very much. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] how to show total item on a community/collection [Help me please]
Hi Ataur, schedule a cron job (e.g. nightly): [dspace]/bin/dspace item-counter in dspace.cfg: webui.strengths.show = true webui.strengths.cache = true then restart Tomcat. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] OAI ListIdentifiers Problem
Hi Sönmez, you probably didn't run oai import, so OAI doesn't have any of your items in its Solr index. See: https://wiki.duraspace.org/display/DSDOC3x/OAI+2.0+Server#OAI2.0Server-OAIManager(SolrDataSource) Please note that you need to schedule it as a cron job. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Wed, Jun 12, 2013 at 7:53 AM, Sönmez ÇELİK snmz...@gmail.com wrote: Hi helix, Thank you for your response. 1) Trying to register to http://www.openarchives.org/ I'm having the following error. Checking ListIdentifiers response Request: GET http://openaccess.iyte.edu.tr:8080/oai/request?verb=ListIdentifiersmetadataPrefix=oai_dc [PASS] responseDate has correct format: 2013-06-07T11:06:23Z [FAIL] The response to the ListIdentifiers verb contained no identifier elements. No further tests will be made. 2) Traying to register OpenAIRE http://www.openaire.eu/ I'm having the following error. But I added OpenAIRE fields to DSpace. ec_fundedresources' set must exist (hierarchy allowed) Sonmez CELIK Dogus University 2013/6/9 helix84 heli...@centrum.sk On Fri, Jun 7, 2013 at 1:36 PM, Sönmez ÇELİK snmz...@gmail.com wrote: I'm usuing Dspace 3.1 on my test server and tray to register OAI. The validation shows ListIdentifiers problem. dspace.cfg and oai.conf is ok. But I think the problem JAVA_PATH. How can I prepare JAVA_PATH. Hi Sönmez, can you please give us more details about what you're trying to do and what is failing? Especially, does your OAI report any problems when accessed directly? What validator are you using and what exact messages is it showing? Why do you think JAVA_PATH is the problem? Since the OAI implementation in DSpace 3 is new, we also have a list of validation issues that have been encountered. Most of them have been fixed as of DSpace 3.1. You can find details here: https://jira.duraspace.org/browse/DS-1311 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Sonmez CELIK Dogus University Library http://sonmezcelik.blogspot.com http://journal.dogus.edu.tr/ http://kutuphane.dogus.edu.tr/ 0 216 544 55 14 0 555 472 99 75 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Queries
On Wed, Jun 12, 2013 at 7:31 AM, Parul dubey parul.du...@itsl.in wrote: 1) How many different users are supported by Dspace .i.e. is the any user which only view not download the documents permission . Or how can particular users can be set to view(access) particular community documents only etc. Hi Paul, in DSpace you don't set access rights to all items for a certain user. You set it on each item and bitstream. So the item resource policy says that a certain user or group is allowed to READ/WRITE this item/bitstream. To assign new resource policy to all newly submitted items to a collection, modify the resource policy of that collection. To change resource policies on a number of existing items, use the Advanced Policy Manager (wildcard policy admin tool). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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] how to show total item on a community/collection [Help me please]
Sorry, I made a typo in the command. It must have given you an error. It's supposed to be: [dspace]/bin/dspace itemcounter Don't forget to set up a cron job for it, otherwise you'll have outdated counts after they change. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Wed, Jun 12, 2013 at 9:55 AM, Md. Ataur Rahman ataurb...@gmail.com wrote: Thanks a lot for your quick reply. Its working. But the result shows [0] though I have five documents on a specific collection. please help On Wed, Jun 12, 2013 at 1:36 PM, helix84 heli...@centrum.sk wrote: Hi Ataur, schedule a cron job (e.g. nightly): [dspace]/bin/dspace item-counter in dspace.cfg: webui.strengths.show = true webui.strengths.cache = true then restart Tomcat. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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