Re: [Dspace-tech] Hide browse columns for which there is no metada
Dear LifeH2O, As far as I know, this is not possible out of the box in DSpace. Moreover, what you are saying is not correct in many ways, ie. what will happen if an unscoped search (like simple search in home page) results items from both collections? Which column will be shown in such a case. The same applies for browsing. If you ensure that search or browse result items belong only to one collection, then BrowseListTag and ItemListTag for JSPUI are the files you need to deal with, along with dspace configuration in order to allow separate configuration per collection. However, just to make it clear, this is not possible in the majority of the repositories since search and browse results span several collections. Regards, Kostas -Original Message- From: LifeH2O [mailto:life...@gmail.com] Sent: Monday, June 17, 2013 2:54 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Hide browse columns for which there is no metada 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 -- View this message in context: http://dspace.2283337.n4.nabble.com/Hide-browse-columns-for-which-there-is-n o-metada-tp4664985.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- 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 -- 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
Dear LifeH2O As helix mentioned, this is not possible in DSpace. 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. Regards, Kostas -Original Message- From: LifeH2O [mailto:life...@gmail.com] Sent: Monday, June 17, 2013 3:01 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Email notification to existing specified users only 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. 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. -- View this message in context: http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified -users-only-tp4664880p4664986.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- 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 -- 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
Dear Parul, 1) I am not sure that I understand what you really ask, but DSpace supports unlimited number of users and groups. You can assign users to groups (one user can belong to many groups) and then bind authorizations (regarding items, bitestreams, etc) with separate users or groups or both. To do this, you need to log in as administrator, move in admin area by pressing the administer link in the default sidebar, and then, click the option Authorization in the admin sidebar. 2) Regarding the list that appears after an item browsing, dspace configuration offers some options for you but not for the Font Size. Take a look for these options in the dspace.cfg file that mentions the following (under the Web Interface Settings part of the config file): # You can customise the width of each column with the following line - you can have numbers (pixels) # or percentages. For the 'thumbnail' column, a setting of '*' will use the max width specified # for browse thumbnails (webui.browse.thumbnail.maxwidth, thumbnail.maxwidth) # webui.itemlist.widths = *, 130, 60%, 40% Thus, if you like to change the Font Size, this must be made directly in the source code. Regards, Kostas From: Parul dubey [mailto:parul.du...@itsl.in] Sent: Wednesday, June 12, 2013 8:31 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Queries Dear All, Wanted to Know : 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. 2) Also while browsing the Particular communities Item by Title , it shows the list having Title, Issue Date, Author . I have changed the fields to Date , Title , Community , now how can the Font Size of these heading can be changed. Kindly suggest. Regards Parul Dubey -- 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 reindex problem
As helix mentioned, no errors seem to appear in the script output. However, normal index-init run outputs the total time browse and search indexing needed to run. Seems that the procedure stuck or you did not let it finish. Does it totally finished by outputting the command prompt again, or the last message you show was the one you sent and then you pressed something like ctrl C to bring the command prompt back? Since, the indexing procedure can last long, you should wait for indexing to finish. Here is an example of an index-init run: = [root@localhost bin]# ./dspace index-init INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=44092adc-da73-4f42-9923-6ec21b58c032,type=DSpac eKernel:lastLoad=null: loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/ usr/local/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /usr/local/dspace /config/log4j.properties Started: 1370954210990 Ended: 1370954256617 Elapsed time: 45 secs (45627 msecs) Started: 1370954257352 Ended: 1370954273089 Elapsed time: 15 secs (15737 msecs) = Between the last INFO message and the first Started message, the time period varies depending on the number of items that the repository hosts and the quantity of the metadata fields than need to be indexed. Regards, Kostas -Original Message- From: helix84 [mailto:heli...@centrum.sk] Sent: Tuesday, June 11, 2013 2:56 PM To: Webshet, Sisay (ILRI) Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] dspace reindex problem These are no errors (as the INFO level shows), these are normal diagnostic messages showing where DSpace looks for its configuration file. If there is no other message, index-init finished successfully. 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 -- 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] Uploading Bibliographic information from RefWorks
Dear Tom, Regarding your first question, the fact is that you cannot have different configurations based on the import type. However, there are two solutions/tricks that you can try and help you in this point. 1) Since bte.xml file is a Spring Configuration file for Dependency Injection, you can isolate some of the beans in different files. Then, In the main file (bte.xml) you can import the file you like with the specific configuration for the specific import type using the following code snippet import resource=classpath:spring-config.xml / It is not perfect because you will have to change the xml when you change the import type. However, it's easier than changing all the beans. 2) As you can see from here: https://code.google.com/p/biblio-transformation-engine/ BTE has a transformation workflow that can consist of Modifiers. Modifiers are there to change your records. We have shipped a specific modifier with BTE called FileKeyRenameModifier (http://bit.ly/Wh5GoP). This modifier is responsible of reading a map file to transform from one schema to another. BTE has such files by default (for example http://bit.ly/YkJf0q which is a bibtex to dc mapping). If you use a modifier like this, you can have many mapping files with the key_after value be the same for all cases, and finally, in your bte.xml file use only the values for dc. So instead of having mapping from A to DSpace, B to DSpace, C to DSpace and so on in your bte.xml, you can have mappings A to DC, B to DC, C to DC in different files and another one mapping DC to DSpace in your bte.xml. So, what you need to do is summarized here: a. Copy/Create mapping files from your input format to dc b. Enable modifiers in the bte.xml by adding a step in the TransformationWorkflow bean property name=steps list ref bean=fileKeyRenameModifier/ /list /property c. Create the modifier bean: bean id=fileKeyRenameModifier class=gr.ekt.transformationengine.modifiers.FileKeyRenameModifier property name=filename value=/input/bibtex2dc_keymapping.xml/ /bean d. Change the mapping xml file according to your import type e. Configure output generator to use the new values Regarding the second question, again you can use a modifier to change the values of a field. But in this case, you will need to write the modifier class by your own. All you need to do, is to write a class (by extending our abstract Modifier) and implement a method. In this modifier, you can have access to the record, and by using the Record class methods you can add/remove/change the values. For instance, you can keep author in a local variable, delete this field and create a new one with the same name, but now do not forget to split the author value. Each field within a record can have a list of values. For more information, please check the google code site https://code.google.com/p/biblio-transformation-engine/ and in the downloads section you can find sample projects and documentation. If you have any other specific question, please contact me either through this list or directly via email. Best regards, kostas From: Thomas Misilo [mailto:misi...@fit.edu] Sent: Wednesday, January 30, 2013 5:09 PM To: 'Konstantinos Stamatis'; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Uploading Bibliographic information from RefWorks Thanks Kostas for the information, I have started looking at this, and am able to get Bibtex working item by item (trying to narrow out the bad ones). I was wondering if there is any thoughts to have different configuration files based on the import type? That way one does not need to change the bte.xml depending on the format they are using to import the data? Second, I do not think it is possible at least by default, to be able to split on multiple authors in a Bibtex authors line, and maybe be able to intelligently split the first and last name up correctly? Thanks, Tom From: Konstantinos Stamatis [mailto:kstama...@ekt.gr] Sent: Wednesday, January 30, 2013 2:46 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Uploading Bibliographic information from RefWorks Dear Thomas, At the very beginning, we would like to thanks you for trying to use EKT's contribution to DSpace in order to load records in your system. As far as the bibtex exception concerns, it seems that the problem relies on jbibtex library rather on the BTE implementation. My guess is that the exported bibtex file includes invalid characters or something like that. Regarding the issue that Endnote or RIS data are imported with no values in the various fields, keep in mind that you have to specify your configuration in the following file: dspace/config/spring/api/bte.xml In this file, you have to specify in the output
Re: [Dspace-tech] Uploading Bibliographic information from RefWorks
Dear Thomas, At the very beginning, we would like to thanks you for trying to use EKT's contribution to DSpace in order to load records in your system. As far as the bibtex exception concerns, it seems that the problem relies on jbibtex library rather on the BTE implementation. My guess is that the exported bibtex file includes invalid characters or something like that. Regarding the issue that Endnote or RIS data are imported with no values in the various fields, keep in mind that you have to specify your configuration in the following file: dspace/config/spring/api/bte.xml In this file, you have to specify in the output generator bean (bean id=outputGenerator class=gr.ekt.transformationengine.outputGenerators.DSpaceOutputGenerator) the schemas that you have in your DSpace installation and then, in each of these schemas you need to specify a list of pairs (name of the field of the imported data + the name of the schema element) like the following XML snippet : key valueTitle/value /key ref bean=titleDSpaceMetadata / In the case of RIS format, values must be terms like AU, TY, PY and so on. The default value Title is not going to work in your case. The reference bean (titleDSpaceMetadata) must declare the element and qualifier of your DSpace schema like the following lines: bean id=titleDSpaceMetadata class=gr.ekt.transformationengine.dspace.DSpaceMetadata property name=schema value=dc / property name=element value=title / /bean Hope it helps. Should you need any further help, we would be more than happy to help you. Best regards, Kostas Stamatis National Documentation Center, Athens, Greece On 1/29/13 10:55 AM, Thomas Misilo misilot@... wrote: Hi, I was wondering if anyone has used the new bibliographic upload for DSpace 3.0 yet with a refworks bibtex file? Below is what I have tried, and the ouput I got. If you want the refworks bibtex file, I can dspace import -b -m refworks-map.map -e misilot@... -c 123456789/6856 -s refworkstest.txt -i bibtex INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=cf20d3c4-227c-4adb-82da-1def97a034c7,type=DSp aceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/srv/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /srv/dspace/config/log4j.properties Destination collections: Owning Collection: Bibupload Holding INFO: Dataloader gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader@... will be used for the import! Started: 1359477659086 Ended: 1359477660013 Elapsed time: 0 secs (927 msecs) Exception: Lexical error at line 1, column 79. Encountered: \u03b7 (951), after : org.jbibtex.TokenMgrError: Lexical error at line 1, column 79. Encountered: \u03b7 (951), after : at org.jbibtex.LaTeXParserTokenManager.getNextToken(LaTeXParserTokenManager.j ava:303) at org.jbibtex.LaTeXParser.jj_scan_token(LaTeXParser.java:408) at org.jbibtex.LaTeXParser.jj_3R_6(LaTeXParser.java:270) at org.jbibtex.LaTeXParser.jj_3_3(LaTeXParser.java:253) at org.jbibtex.LaTeXParser.jj_2_3(LaTeXParser.java:242) at org.jbibtex.LaTeXParser.String(LaTeXParser.java:190) at org.jbibtex.LaTeXParser.Object(LaTeXParser.java:66) at org.jbibtex.LaTeXParser.ObjectList(LaTeXParser.java:46) at org.jbibtex.LaTeXParser.LaTeX(LaTeXParser.java:21) at org.jbibtex.LaTeXParser.parse(LaTeXParser.java:16) at gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader.parseLaTeX (BibTexDataLoader.java:169) at gr.ekt.transformationengine.dataloaders.dspace.BibTexDataLoader.loadData(B ibTexDataLoader.java:132) at gr.ekt.transformationengine.core.TransformationEngine.transform(Transforma tionEngine.java:111) at org.dspace.app.itemimport.ItemImport.addBTEItems(ItemImport.java:649) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) I was able to load the data via an EndNote export from RefWorks, however all it did was create the ~400 records, with all Unknown data. Thanks for any help, Tom -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: