[Dspace-tech] XMLUI caching, recommended mod_expires settings?
All, We've been on and off battling with excessive XMLUI caching in our DSpace environment. It seems the server-side issue is less rampant since 1.8.x introduced the ability to clear the Cocoon cache from the Control Panel. Now we're attempting to solve the client-side caching issue, and I'd like to know what settings other people are using. Our environment uses Apache httpd in front of Tomcat, so we put this in our DSpace virtual host: ### See: http://httpd.apache.org/docs/2.2/mod/mod_expires.html # Turn on Expires and set default to 1 IfModule mod_expires.c ExpiresActive On ExpiresDefault A1 /IfModule I'm wondering if Access +1 second is a bit overzealous. Perhaps we should be using the modification time of the file (CSS or GIF, for example). What are you guys using? Thanks! -- 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++ -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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: need help
Hi Ashapurna, Try running one of these commands on your DSpace machine to verify that you can connect to Maven Central: wget http://repo1.maven.org/maven2/org/dspace/dspace-pom/10/dspace-pom-10.pom or curl http://repo1.maven.org/maven2/org/dspace/dspace-pom/10/dspace-pom-10.pom Do you need to use a proxy server to connect to the internet from this machine? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] [KE1019161] Using dspace script with JNDI ?
Hi Helix, no not though a local firewall. The firewall between the DMZ and the Database net. I have now requested the firewall administrative to enable the needed port but I have to test it. So thank you for support and idea on this topic to you and Mark! Btw. The JNDI configuration is working well! Have a nice day Marco -Ursprüngliche Nachricht- Von: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von helix84 Gesendet: Dienstag, 22. Januar 2013 16:34 An: marco.we...@kesslernetworks.de Cc: Dspace Tech Betreff: Re: [Dspace-tech] [KE1019161] Using dspace script with JNDI ? On Tue, Jan 22, 2013 at 4:03 PM, marco.we...@kesslernetworks.de wrote: url=jdbc:postgresql://127.0.0.1:5432/dspace What can i do if i have to go through a SPI Firewall that allows me only to connect if it is a tomcat connection configured as JNDI? You have to go via firewall to get to localhost? Oh, well. As you probably know, the problem is that you don't have db.username (and others) set in dspace.cfg. Can't you just enable this? (see the comment above it) db.jndi = jdbc/dspace If not, try looking here and see if any of it helps: http://stackoverflow.com/questions/1615417/out-of-container-jndi-data-source Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Top 10 item downloads.
Hi Helix I am on the tech list now. Was: wget http://localhost/solr/statistics/select?indent=onversion=2.2start=0rows=10fl=*%2Cscoreqt=standardwt=standardexplainOther=hl.fl=q=type:0; -O response.xml How do I extract handles from the XML file. -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] Funder data in Metadata ?
We want to show funder data in the publication records in DSpace. On one record, there could be multiple grant names from the same funder, two or more funders on the same publication, two or more grant numbers, etc. If we have 4 separate DC fields for, Funder Grant Name Grant number Note DC metadata then cannot show which grant name belongs to which funder, which grant number belongs to which grant name, etc. Give up on DC metadata for this? We made this record showing our intent. It uses a control number to look up data on an outside table holding the data, bringing the data into the DSpace publication item on-the-fly. [scroll to bottom] http://hub.hku.hk/handle/10722/68168 Is there a way to do this better? David Palmer Associate University Librarian The University of Hong Kong Libraries 10/F, Kennedy Town Centre 23 Belcher's Street Kennedy Town Hong Kong tel. +852 3921 2921 http://hub.hku.hk/rp/rp1 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Funder data in Metadata ?
Hi David, unfortunately, the order of values of a single metadata field is not defined. That said, I didn't encounter a case where DSpace would not preserve them in the order we put them in, but this can depend on several things including the underlying database. So you can just reply on that and see how it works out, but I wouldn't recommend it. I think what I'd do is store an XML tree fragment with all the values belonging together into a single metadata field, something like this: funderThe Funder/fundergrant-nameGrant Name/grant-namegrant-numberGrant number/grant-numbernoteNote/note Of course, you can still put in multiple such metadata values in case you have multiple funding sources. Unfortunately you're not using XMLUI, but in XMLUI it's trivial to extract and display the individual element values. In JSPUI, there would be an extra step but I guess a clever JSP tag would do the trick. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] DSpace 3.0 Ingestion Performance Benchmarks
I am conducting a couple of performance benchmarks and currently working towards ingesting ~2million metadata-only items into a DSpace 3.0 instance. One of things I intend to do is benchmark the ingestion process and I was hoping someone could help with the following queries: 1. I am guessing the Batch Metadata Editing [1] tool is appropriate in this context as opposed to using Simple Archive Format [2]; Yes? 2. Are experiments conducted to come up with the recommended line limit size of 1k specified here [2] documented anywhere and are there factors I should consider that could have a baring on this limit? In other workds, is the 1k size a standard of some sort? 3. Are there any other documented scalability performance benchmarks other than this [3]? I'd also appreciate any other comments/suggestions. [1] https://wiki.duraspace.org/display/DSDOC3x/Batch+Metadata+Editing#BatchMetadataEditing-AddingMetadata-OnlyItems [2] https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format [3] http://archive.nlm.nih.gov/pubs/ceb2008/2008016.pdf -- Lighton Phiri http://lightonphiri.org -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Top 10 item downloads.
Like I wrote back on dspace-general, handles are not stored in this response and need to be looked up in the database. Just noting this for later experimentation (for myself, really) - it seems database queries/tables can be easily exported as XML from Postgres: http://www.postgresql.org/docs/8.4/interactive/functions-xml.html#FUNCTIONS-XML-MAPPING That would enable a fully XSLT-based solution (e.g. for XMLUI themes). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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 3.0 Ingestion Performance Benchmarks
Hi Lighton, I don't know of any such work done as of yet. I definitely would be interested in your results/findings and surely others would be, too. Could you create a wiki page afterwards? On Tue, Jan 29, 2013 at 12:09 PM, Lighton Phiri lighton.ph...@gmail.com wrote: 1. I am guessing the Batch Metadata Editing [1] tool is appropriate in this context as opposed to using Simple Archive Format [2]; Yes? I think that's up to the implementation of BME. Theoretically, it should be faster because it deals with less file opening. I think determining whether this is true will be one of your results. I'm not sure if it is, but the CSV implementation should be streaming, i.e. not requiring to keep the whole CSV in memory at once, processing it line-by-line instead. That will have the largest impact on memory usage. 2. Are experiments conducted to come up with the recommended line limit size of 1k specified here [2] documented anywhere and are there factors I should consider that could have a baring on this limit? In other workds, is the 1k size a standard of some sort? The limit is there only for web UIs, not the command line. The reason is you don't want to upload a huge CSV file using a browser (and be frustrated when it fails when you lose connection in the middle). Also UIs display a diff of changes, giving you a chance to review and confirm/cancel them. This could produce a huge HTML page which is clearly not desirable. Command line doesn't have any such limitations apart from practical ones, like memory consumed. 3. Are there any other documented scalability performance benchmarks other than this [3]? Not that I know of, I'd just use Google as you did. I'd also appreciate any other comments/suggestions. If you're doing a comparison, could you also include AIPs? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Top 10 item downloads.
Ok. I am assuming then the response has item id's which I can look up via the XMLUI. Is it the: arr name=owningItem int19989/int /arr OR int name=id52613/int Cheers hg On 29 January 2013 13:17, helix84 heli...@centrum.sk wrote: Like I wrote back on dspace-general, handles are not stored in this response and need to be looked up in the database. Just noting this for later experimentation (for myself, really) - it seems database queries/tables can be easily exported as XML from Postgres: http://www.postgresql.org/docs/8.4/interactive/functions-xml.html#FUNCTIONS-XML-MAPPING That would enable a fully XSLT-based solution (e.g. for XMLUI themes). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] Top 10 item downloads.
That's correct. I'd write the XSL for you, I just don't have the time right now. You didn't tell me what you'd like the final output to be. Part of a page in XMLUI? Separate HTML file? CSV? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Top 10 item downloads.
Simple text to add to a wiki page for now. On 29 January 2013 13:37, helix84 heli...@centrum.sk wrote: That's correct. I'd write the XSL for you, I just don't have the time right now. You didn't tell me what you'd like the final output to be. Part of a page in XMLUI? Separate HTML file? CSV? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] Funder data in Metadata ?
Hi David, you only need to store the item-grant(s) relation in the item metadata. DSpace supports linking of entities through the authority framework, so you should have metadata= something like dc.relation.grant text_value=Textual description of the grant including all the details that you like to make easily searchable and exportable through OAI-PMH, etc. authority=the ID of the grant to use to lookup in the separate table; as you are using the dspace-cris module this should be the public ID of the Grant/Project (pj07862 http://hub.hku.hk/rp/grants/details.htm?id=7862 / please note that as you are still using a custom version of the DSpace-CRIS module the public ID is not yet exposed in your UI). In the item display page you can use a custom display strategy that using the value stored in the authority column will show more rich information about the grant. In the grant page the item will be shown without any need to put directly reference to it in the grant metadata in the same way that items are shown in the researcher page. Hope this help, Andrea Il 29/01/2013 10:43, David Palmer ha scritto: We want to show funder data in the publication records in DSpace. On one record, there could be multiple grant names from the same funder, two or more funders on the same publication, two or more grant numbers, etc. If we have 4 separate DC fields for, Funder Grant Name Grant number Note DC metadata then cannot show which grant name belongs to which funder, which grant number belongs to which grant name, etc. Give up on DC metadata for this? We made this record showing our intent. It uses a control number to look up data on an outside table holding the data, bringing the data into the DSpace publication item on-the-fly. [scroll to bottom] http://hub.hku.hk/handle/10722/68168 Is there a way to do this better? David Palmer Associate University Librarian The University of Hong Kong Libraries 10/F, Kennedy Town Centre 23 Belcher's Street Kennedy Town Hong Kong tel. +852 3921 2921 http://hub.hku.hk/rp/rp1 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Changing the location of dspace css files
Hi, I am trying to change the location of the CSS files so I can put them on another server, and be able to customize them without rebuilding tomcat all the time. When I tried changing it in my sitemap it added /themes/themename/http://url/lib/css/*.css Thank in advance, Tom -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] Uploading Bibliographic information from RefWorks
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 misi...@fit.edu -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=DSpaceKernel: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@6d1a0d35 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.java: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(BibTexDataLoader.java:132) at gr.ekt.transformationengine.core.TransformationEngine.transform(TransformationEngine.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(DelegatingMethodAccessorImpl.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 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] changing order of aspects
hi list, is it possible to change the order of the aspects in dspace 3.0? i want to change the position in the theme mirage of the dri-options (css isn't a solution for that). dri.options should appear in the source html before the content part (ds-body). changing the order of the aspects in the xmlui.xconf file doesn't work. many thanks for any ideas, hints, etc. best lars -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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
I just tried using an RIS export from Proquest and the same thing happened. The record was created with no information from the RIS file. :-/ From: Thomas Misilo [mailto:misi...@fit.edu] Sent: Tuesday, January 29, 2013 11:55 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Uploading Bibliographic information from RefWorks 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 misi...@fit.edu -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=DSpaceKernel: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@6d1a0d35 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.java: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(BibTexDataLoader.java:132) at gr.ekt.transformationengine.core.TransformationEngine.transform(TransformationEngine.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(DelegatingMethodAccessorImpl.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 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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] Changing the location of dspace css files
Hi Thomas, On 30/01/13 02:41, Thomas Misilo wrote: I am trying to change the location of the CSS files so I can put them on another server, and be able to customize them without rebuilding tomcat all the time. When I tried changing it in my sitemap it added /themes/themename/http://url/lib/css/*.css You need to change your theme slightly -- by default, all stylesheets in the sitemap are assumed to be local files. Assuming you're using Mirage or something based on Mirage, find the page-structure.xsl file and look for a comment that reads "Add stylsheets" (note the spelling). Change the xsl:for-each that follows to what's below (if your external stylesheet is accessed via https then you'll need to change the starts-with test accordingly). !-- Add stylsheets -- xsl:for-each select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='stylesheet']" link rel="stylesheet" type="text/css" xsl:attribute name="media" xsl:value-of select="@qualifier"/ /xsl:attribute xsl:attribute name="href" xsl:if test="not(starts-with(text(), 'http'))" xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]"/ xsl:text/themes//xsl:text xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='theme'][@qualifier='path']"/ xsl:text//xsl:text /xsl:if xsl:value-of select="."/ /xsl:attribute /link /xsl:for-each This snippet prepends the context path + theme only if the css URL doesn't start with "http". cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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 customize v 3.0 Discovery search filter drop-down labels
mErRYo merryob...@yahoo.com wrote: Well i created new sidebar facet and search filter now which is working fine. Steps mentioned in manual were right but the only problem i was facing that it doesn't implicitly mention to rebuild solr index also, though it has solr index maintenance topic after it. After doing editing in discovery.xml file i ran command i.e. update-discovery-index with -b parameter to recreate my solr index and it worked fine after sometime i also ran same command with -o parameter for solr search core optimization. I echo the implied suggestion that the documentation expressly note the need for or uses of update-discovery-index. *update-discovery-index* *-f* was recently useful for me. Via an sql update, I corrected some data values in my postgresql database. The new values showed up correctly in the Discovery facet only after reindexing with the -f parameter, whereas reindexing without parameters or with -o or -b did not do so. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ 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
Hi, Thomas, we chatted briefly about this on IRC, I am mostly replying so this response gets into the mail list archive, in case anyone else runs into trouble. I have not yet tried to use the bibliographic import feature of 3.0 yet (it's on our list of things to try soon, though). There is a rather nice wiki page on the new feature here: https://wiki.duraspace.org/pages/viewpage.action?pageId=32481931 As an alternative, you may also want to contact the contributor of the feature (see https://jira.duraspace.org/BROWSE/DS-1226 for details). -- University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Debug only code. Comments lie. On 1/29/13 10:55 AM, Thomas Misilo misi...@fit.edu 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 misi...@fit.edu -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@6d1a0d35 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 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] SWORDv2 Client for DSpace?
As far as I can tell from the docs, DSpace 3 contains: - SWORD v1 serverhttps://wiki.duraspace.org/display/DSDOC3x/SWORDv1+Serverto accept v1 deposits - SWORD v2 serverhttps://wiki.duraspace.org/display/DSDOC3x/SWORDv2+Serverto accept v2 deposits - SWORD v1 clienthttps://wiki.duraspace.org/display/DSDOC3x/SWORDv1+Clientto send v1 deposits into another SWORD v1 system Does anyone currently have or is anyone currently working on code to add a SWORDv2 client to DSpace? thanks, Bram -- [image: logo] *Bram Luyten* *@mire* *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com/www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ 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] SWORDv2 Client for DSpace?
Bram, Richard Jones of CottageLabs has Java code for a SWORD2 Client at https://github.com/swordapp/JavaClient2.0 He recently did some work on the SWORD2 server that we have used to replace the SWORD2 server in Dspace (there were some fixes and improvements made). I have not used the client but have tested the server using CURL and the fixes to the METS ingester work fine. Regards, Ben -- Dr Ben Ryan Jorum Technical Manager 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: benjamin.r...@manchester.ac.ukhttps://outlook.manchester.ac.uk/owa/redir.aspx?C=b28b5bdd1a91425abf8e32748c93f487URL=mailto%3abenjamin.ryan%40manchester.ac.uk -- From: Bram Luyten [mailto:b...@mire.be] Sent: 30 January 2013 04:31 To: DSpace Tech Subject: [Dspace-tech] SWORDv2 Client for DSpace? As far as I can tell from the docs, DSpace 3 contains: - SWORD v1 serverhttps://wiki.duraspace.org/display/DSDOC3x/SWORDv1+Server to accept v1 deposits - SWORD v2 serverhttps://wiki.duraspace.org/display/DSDOC3x/SWORDv2+Server to accept v2 deposits - SWORD v1 clienthttps://wiki.duraspace.org/display/DSDOC3x/SWORDv1+Client to send v1 deposits into another SWORD v1 system Does anyone currently have or is anyone currently working on code to add a SWORDv2 client to DSpace? thanks, Bram -- [Image removed by sender. logo] Bram Luyten @mire 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/ www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml inline: image001.jpg-- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ 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 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: