[Dspace-tech] About SRB Integration
hi All, I just want my assets to be stored in a server other than the DSpace server. Do I have to use the SRB? Where can I find out more about how SRB is integrated and used with DSpace? Thanks In Advance. Jimmy. * * - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Check out TechMDExtractor
Hello, I would like to install JHOVE in DSpace using the TechMDExtractor. I can view the cvs files at http://libaxis1.mit.edu/viewcvs/sandbox/TechMDExtractor/ but I do not find which URL to use to check them out. Thanks! Karen -- Karen Janssens Mevr. Courtmansstraat 12 B-2600 Antwerpen-Berchem Belgium Tel32-3-239.07.97 Mobile 32-474-59.04.68 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] collection id and collection name
Hi! Is there a way to find out collection id and collection name from postgresql. From dspace-admin we can find this out, but requires searching for each collection and corresponding id. Is there an easy way to find this for batch importing? I searched HANDLE table and COLLECTION table but couldn't succeed. Thanks, Jayan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] collection id and collection name
If I understood you correctly, you can try something like this from the command line: su postgres -c psql dspace -c 'select name, collection_id from collection;' -Mika Hi! Is there a way to find out collection id and collection name from postgresql. From dspace-admin we can find this out, but requires searching for each collection and corresponding id. Is there an easy way to find this for batch importing? I searched HANDLE table and COLLECTION table but couldn’t succeed. Thanks, Jayan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mika Stenberg IT-asiantuntija Terveystieteiden Keskuskirjasto Lääketieteellinen tdk PL 61 (Haartmaninkatu 4) Helsingin Yliopisto 00290 Helsinki puh. +358-9-191 26807 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Validation and accents
luis jose miralls skrev: - DSpace does not fing words with accents. Example: If i put a word like Camión and then i try to find it. Find : Camion it would not find it. The following worked for us (University Library in Gothenburg) with dspace-1.4.1 tomcat4. You could try it out here: https://gupea.ub.gu.se/dspace you can e.g. search for thoren and get authors named Thorén or search for skold and get authors named Sköld... - Short answer: - Write a new lucene analyzer class which uses a filter that removes accents. - Edit dspace.cfg so that it uses the new class instead of the default - Rebuild, reindex and restart. -- Long answer: org/dspace/search/DSAnalyzer.java is the default dspace search analyzer, used for indexing the contents of the documents in the repository. If you look at the method public final TokenStream tokenStream(String fieldName, final Reader reader) you can see that various filters are applied: one that converts all words to lowercase, one that filters out stopwords etcetera. Here you need to make it apply a new filter that removes accents. I found this one: http://www.google.com/codesearch?q=isolatin1accentfilterhl=enbtnG=Search+Code appareantly included in lucene 2.1.0 (We have 2.0.0). It seems to exist both under GPL and Apache licenses. I created two classes: - se.gu.ub.lucene.analysis.sv.SwedishEnglishAnalyzer.java ( it contains swedish stopwords in addition to the english ones) - se.gu.ub.lucene.analysis.sv.SwedishISOLatin1Filter.java ( which is a copy of the IsoLatin1AccentFilter.java, I might have some plans to make it not strip swedish åäö-accents, thus the renaming). ... put them in a folder $DSPACE_SRC/src/se/gu/ub/lucene/analysis/sv/ ... added the following line to $DSPACE_SRC/config/dspace.cfg: search.analyzer = se.gu.ub.lucene.analysis.sv.SwedishEnglishAnalyzer ... rebuilt and restarted dspace ... did $DSPACE_INSTALLDIR/bin/index-all ... restarted dspace ... done package se.gu.ub.lucene.analysis.sv; /** * SwedishEnglishAnalyzer.java * David Hjelm 2007 * licens: GNU General Public License, ingen särskild version. * * Bygger lite på den DSAnalyzer som följer med dspace 1.4.1, men förutom de * engelska stopporden kan den klassen knappt anses ha verkshöjd jämfört med * Lucenes medföljande exempel. Om man tar bort de engelska stopporden, eller * återställer till Lucenes original-stoppord kan man nog lugnt också ta bort * nedanstående copyrightmeddelande: * ** Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts ** Institute of Technology. All rights reserved. * * De svenska stopporden är tagna från * http://snowball.tartarus.org/algorithms/swedish/stop.txt under följande * licens: * ** All the software given out on this Snowball site is covered by the BSD ** License (see http://www.opensource.org/licenses/bsd-license.html ), ** with Copyright (c) 2001, Dr Martin Porter, and (for the Java developments) ** Copyright (c) 2002, Richard Boulton. */ import java.io.Reader; import java.util.Set; import org.dspace.search.DSTokenizer; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.LowerCaseFilter; import org.apache.lucene.analysis.StopFilter; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.standard.StandardFilter; public class SwedishEnglishAnalyzer extends Analyzer{ private static final String[] STOP_WORDS = { // new stopwords (per MargretB) a, am, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, the, to, was, // svenska stoppord // (http://snowball.tartarus.org/algorithms/swedish/stop.txt) och,det,att,i,en,jag,hon,som,han,på,den,med, var,sig,för,så,till,är,men,ett,om,hade,de,av, icke,mig,du,henne,då,sin,nu,har,inte,hans,honom, skulle,hennes,där,min,man,ej,vid,kunde,något,från, ut,när,efter,upp,vi,dem,vara,vad,över,än,dig, kan,sina,här,ha,mot,alla,under,någon,eller,allt, mycket,sedan,ju,denna,själv,detta,åt,utan,varit, hur,ingen,mitt,ni,bli,blev,oss,din,dessa,några, deras,blir,mina,samma,vilken,er,sådan,vår,blivit, dess,inom,mellan,sådant,varför,varje,vilka,ditt,vem, vilket,sitta,sådana,vart,dina,vars,vårt,våra,ert, era,vilkas }; final static private Set stopSet = StopFilter.makeStopSet(STOP_WORDS); public final TokenStream tokenStream(String fieldName, final Reader reader) { TokenStream result = new DSTokenizer(reader); result = new StandardFilter(result); result = new SwedishISOLatin1AccentFilter(result); result = new LowerCaseFilter(result); result = new StopFilter(result, stopSet); //result = new PorterStemFilter(result); return result; } } package se.gu.ub.lucene.analysis.sv; /** * SwedishISOLatin1AccentFilter.java * David Hjelm 2007 * licens: GNU General Public License, ingen särskild version. * * Är en kopia av *
Re: [Dspace-tech] collection id and collection name
Hi! Mika, This gives collection id related with a community. I wish to get in the form 123456789/113 AMIC Conference for batch import. I believe 123456789/113 is the handle id and AMIC Conference is the collection name. any help? jayan -Original Message- From: Mika Stenberg [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 5:05 PM To: Jayan Chirayath Kurian Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] collection id and collection name If I understood you correctly, you can try something like this from the command line: su postgres -c psql dspace -c 'select name, collection_id from collection;' -Mika Hi! Is there a way to find out collection id and collection name from postgresql. From dspace-admin we can find this out, but requires searching for each collection and corresponding id. Is there an easy way to find this for batch importing? I searched HANDLE table and COLLECTION table but couldn't succeed. Thanks, Jayan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mika Stenberg IT-asiantuntija Terveystieteiden Keskuskirjasto Lääketieteellinen tdk PL 61 (Haartmaninkatu 4) Helsingin Yliopisto 00290 Helsinki puh. +358-9-191 26807 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Input forms - how to support multiple languages for one field
I have a question regarding customization of the submission input forms. Our requirement is that the submitting user should be able to enter the title of a document in two languages of his own choice, say English and German. How do I accomplish this? Is it possible to add a Language dropdown next to specific fields in the submission form? Or is there some other simple solution to this? (I'm familiar with input-forms.xml but I haven't found a way to add a language qualifier to arbitrary fields..) Thanks in advance, Mathias Hjelt Swedish School of Economics and Business Administration - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Differences between version 1.3.2 of Dspace and versions 1.4.1 or 1.4.2
Hi! Can you say me what are the principal differences between version 1.3.2 of Dspace and versions 1.4.1 or 1.4.2? I'm trying to find information about this in Internet but I didn't find much information. Can you help me? Thanks João Santos - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech