Re: [Dspace-tech] Manakin customization
Hi Miguel: In order to remove or hide a link, you need to custom your manakin theme. Or if you prefer, create a new one: https://wiki.duraspace.org/display/DSPACE/Create+a+new+theme+%28Manakin%29 If you need to change a label, you can do it editing this file: [dspace]/webapps/xmlui/i18n/messages_es.xml Regards, Alvaro Sandoval El 16/09/11 10:56, Miguel Pizarro escribi: Dear Dspace team: Anyone know how to remove and rename fields in the manakin interface? My Dspace version is 1.6.2 Example 1: How remove or hide link? How rename title? Example 2: How remove field? Thanks for your help. Miguel Pizarro Soporte Tecnolgico Alerta al Conocimiento Fono: 56 (2) 233 79 08 Santiago de Chile -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- lvaro Sandoval Pizarro BCN, Biblioteca del Congreso Nacional de Chile Ingeniera y Desarrollo Fono (5632) 226 3981 http://www.bcn.cl/ -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to enable OAI-PMH?
Stan: Do you have [dspace-source]/dspace-oai/dspace-oai-api/target/classes/org/dspace/app/oai/DSpaceOAICatalog.class? The jar that includes that class should be at: [dspace]/webapps/oai/WEB-INF/lib/dspace-oai-api-1.x.x.jar, where 1.x.x is your dspace installed version. Alvaro El 29/08/11 17:50, Stan Orlov escribió: Thank you, Alonso. I have tried the url with a verb, but it gives me: HTTP Status 500 - type Exception report description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. I looked at Tomcat logs and found this: stdout.log: java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384) at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160) at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) localhost.log: Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet oai-handler javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) How should I interpret this. Maybe I need to rebuild Dspace? Or maybe there are some files missing in my oai directory? Cheers, Stan On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl mailto:alsando...@bcn.cl wrote: Hi Stan: The OAI service is expecting a verb. Try this url instead: http://localhost:8080/oai/request?verb=ListMetadataFormats Regards, Alvaro El 29/08/11 12:58, Stan Orlov escribió: Hi Alvaro, Thank you for your instructions. I followed them and added the following line: Context path=/oai docBase=C:\dspace\webapps\oai debug=0 reloadable=true cachingAllowed=false allowLinking=true/ right after the context path for xmlui in server.xml. Restarted Tomcat. However, when I go to http
[Dspace-tech] How to include bitstream in RSS
Hi all: I would like to include bitstream URLs along with item metadata in the RSS XML. Is it possible? Thanks in advance. -- Álvaro Sandoval Pizarro BCN, Biblioteca del Congreso Nacional de Chile Ingeniería y Desarrollo Fono (5632) 226 3981 http://www.bcn.cl/ -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Import tool: How to set primary bitstream
Hi all: I am importing more than one file per item using the [dspace]/bin/import tool. I wonder how can I set one of them as primary bitstream. I know that it can be done using the UI, but I rather prefer use some automatic procedure. Does anyone know how to set it? Thanks in advance, Álvaro Sandoval BCN, Biblioteca del Congreso Nacional Servicios Digitales. Ingeniería y Desarrollo Fono: (56-32) 226 3981. Fax: (56-32) 226 3973 www.bcn.cl -- View this message in context: http://www.nabble.com/Import-tool%3A-How-to-set-primary-bitstream-tp23196493p23196493.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Brazilian Portuguese DSpace site - encoding problem
Hi Gerson: We had the same problem, and the solution applies to French, Spanish, Portuguese, etc. You have to modify org.dspace.search.DSAnalyzer.java and add the ISOLatin1AccentFilter class, as Marie-Hélène Vézina already wrote. Check these links out: http://www.nabble.com/searching-issues--for-Spanish-tt20233999.html#a20236237 http://sourceforge.net/mailarchive/forum.php?thread_name=OF4B516F3E.67A8755D-ONC1257005.003D3697-C1257005.003DF771%40upc.esforum_name=dspace-tech Regards, Alvaro Gerson de Souza Faria wrote: Hello, I wonder which is the most adequate configuration for a Brazilian Portuguese Windows DSpace site regarding character encoding and so on. I've been testing a first setup. I entered some items but when I searched by author for instance, items with specific characters like ç,ã,á etc are not returned as result. So I configured the connector to UTF-8 and nothing changed. Maybe I've made some prior configuration mistakes, in the basic phase. Has someone had such problem or solution? Thanks! -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- View this message in context: http://www.nabble.com/Brazilian-Portuguese-DSpace-site---encoding-problem-tp22873613p22879753.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] uminho commenting add-on
Hi all: We would like to add some commenting capabilities to our Dspace installation, based on jspui. Is it possible to make uminho commenting add-on work with Dspace 1.5.1? Thanks in advance, Alvaro Sandoval -- View this message in context: http://www.nabble.com/uminho-commenting-add-on-tp22043316p22043316.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] searching issues for Spanish
Hi all: I just found out that the default search analyzer that comes with out-of-the-box dspace is English-based (which is obvious). In the dspace.cfg file there is an example to change it for a chinese analyzer (org.apache.lucene.analysis.cn.ChineseAnalyzer). Is there any option for Spanish language? I coudn't find an Spanish analyzer in lucene page: http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/analysis/Analyzer.html We have at least 2 problems: - Stemming. We find different hits searching Energía v/s Energia, and we would expect the same result. - Stop words. We have irrelevant words like a, al, de, del. And we would like to exclude them from the searching process, unless the user wanted exact search. How can I define those stop words? Regards, -- Álvaro Sandoval BCN, Biblioteca del Congreso Nacional Servicios Digitales. Ingeniería y Desarrollo Fono: (56-32) 226 3981. Fax: (56-32) 226 3973 www.bcn.cl - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How to email a link to an attached file, without handle
Hi all: We would like to email (from the item page) the local URL of an attached file instead of the handle uri. Is it possible? How can we do it? Thanks in advance, -- Álvaro Sandoval BCN, Biblioteca del Congreso Nacional Servicios Digitales. Ingeniería y Desarrollo Fono: (56-32) 226 3981. Fax: (56-32) 226 3973 www.bcn.cl - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Make private Dspace repository
Hi: Is it possible to restrict access to a dspace instance in order to allow only authorized users? Not even READ access to Anonymous group. Any suggestion? Thanks in advance! -- Álvaro Sandoval BCN, Biblioteca del Congreso Nacional Servicios Digitales. Ingeniería y Desarrollo Fono: (56-32) 226 3981. Fax: (56-32) 226 3973 www.bcn.cl - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changing DB Name ¿how?
Hi txs: We needed the same. After some research and testing, I could work it out. Here is how (not necessarily the only way): Context: We have 1 instance of tomcat. Every new dspace instance is running as a different webapp, ie, with different names. 1) Create new dspace databases: $ createdb -U postgres -E UNICODE -O dspace dspace-1 $ createdb -U postgres -E UNICODE -O dspace dspace-2 $ createdb -U postgres -E UNICODE -O dspace dspace-3 2) Create new dspace source directories: $ mkdir /srv/dspace-1 $ mkdir /srv/dspace-2 $ mkdir /srv/dspace-3 3) Create new dspace config files: $ cp [dspace-source-dir]/config/dspace.cfg [dspace-source-dir]/config/dspace-1.cfg $ cp [dspace-source-dir]/config/dspace.cfg [dspace-source-dir]/config/dspace-2.cfg $ cp [dspace-source-dir]/config/dspace.cfg [dspace-source-dir]/config/dspace-3.cfg Edit each config file, change the following (using the first instance as an example): dspace.dir = /srv/dspace-1 dspace.url = http://your-dspace-url:80/jspui-1 db.url = jdbc:postgresql://localhost:5432/dspace-1 4) Create dspace instances, using ant: $ ant -Dconfig=[dspace-source-dir]/config/dspace-1.cfg fresh_install $ ant -Dconfig=[dspace-source-dir]/config/dspace-2.cfg fresh_install $ ant -Dconfig=[dspace-source-dir]/config/dspace-3.cfg fresh_install 5) Create administrator accounts: $ /srv/dspace-1/bin/create-administrator $ /srv/dspace-2/bin/create-administrator $ /srv/dspace-3/bin/create-administrator 6) Include each dspace instance in Tomcat server.xml Edit /usr/local/tomcat/conf/server.xml. Include the following in host tag: Context path=/jspui-1 docBase=/srv/dspace-1/webapps/jspui/ debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Context path=/jspui-2 docBase=/srv/dspace-2/webapps/jspui/ debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Context path=/jspui-3 docBase=/srv/dspace-3/webapps/jspui/ debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Regards, Alvaro PS: There is another way: running multiples intances of Tomcat, one for each dspace instance. This option is too expensive in CPU. Check this URL for this option: http://www.linuxjournal.com/article/8561 El mar, 19-08-2008 a las 12:05 -0400, Tebota escribió: I need to work with two separated instances of Dspace. The first installation was clean and without problems, but the second it isn't, because I need to get a different instance of DB. The mvn package command worked fine, but when I run the ant fresh_install command, gives an error saying that there is no DB named dspace (I'm running it on a test server, that doesn't have any dspace installed). I changed the line that gives acces to postgres url and ports on dspace.cfg (it was like db.url = jdbc:postgresql://localhost:5432/dspace and changed it for db.url = jdbc:postgresql://localhost:5432/newdbname) but it didn't work Where can I find the correct variable to change the DB name? or it's impossible to do that? txs - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Álvaro Sandoval BCN, Biblioteca del Congreso Nacional Servicios Digitales. Ingeniería y Desarrollo Fono: (56-32) 226 3981. Fax: (56-32) 226 3973 www.bcn.cl - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech