Re: [Dspace-tech] disable-output-escaping collection titles
Hi Terry, Yes, it would be good to just edit the collection titles, if the collections are few but this would be quite a tedious task if I have to edit the titles manually. I don't know how to edit collection titles in batch. In the future, I would advice the repository administrator/community administrator to refrain from using html entities in collection titles since these are escaped when crawled by search engines (which is an eye sore). Thanks for the time and sorry for the confusion about d-o-e (disable-output-escaping). Best regards, euler On Tue, Aug 4, 2015 at 12:15 AM, Terry Brady terry.br...@georgetown.edu wrote: Euler, what is d-o-e? It seems to me that it would be good to replace the nbsp with a space in your collection titles. On Sat, Aug 1, 2015 at 7:36 AM, euler esne...@seafdec.org.ph wrote: Hi Terry, I just want to get rid of the string “nbsp;” in the collection titles and so far I'm not been able to apply d-o-e in all the places that it appeared using xsl:template match. I know it's risky but do you think it's better to just update this via sql query (ie remove the string “nbsp;”)? Thanks in advance and regards, euler -- ___ 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] FW: request copy item
Hi Binta, Please post the contents shown if you clicked the Show underlying error stack link so that we can diagnose what is causing that error. My guess is that this is just a configuration issue. I cc'ed dspace-tech so that anyone from the list who are more knowledgeable than me can help you. Regards, euler On Thu, Jul 16, 2015 at 6:19 PM, Saidy Binta bisa...@mrc.gm wrote: Hi, When a user make a request on restricted items, I get the email notification but when I click on the link I get and error on the dspace page. 0 Go to Home Please contact the site administrator if you wish to report this error. If possible, please provide details about what you were doing at the time this error occurred. Contact site administrator || Show underlying error stack Thanks in advance BR Binta -Original Message- From: euler [mailto:esne...@seafdec.org.ph] Sent: 16 July 2015 09:31 To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] FW: request copy item Hi, You can set the metadata of the item to be accessible by anonymous user. Edit the item and check its authorizations. In xmlui, you can access it after clicking the Edit this item, and then under the tab Item Status, there is a button there named Authorizations. From there, you can change the policies of the item or its bitstream. You can also set the policies in a collection level by using the policy wildcard tool which can be found under the Administrative section of the sidebar. Click the Authorizations link. Hope this helps. Regards, euler -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ 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] PDF Citation Coverpage (Retention of PDF/A compliance and bookmarks)
Hello Peter, I would like to ask regarding PDF citation coverpage since this is already merged in the master branch. These past few days, I am trying to modify CitationDocument.java to retain PDF/A compliance of my pdfs (almost all our pdfs are at least PDF/A1-b compliant) since pdfbox supports PDF/A validation[1] and creation[2]. Please advice on which part of the code should I put the codes mentioned in [2]? I tried to insert the codes just before the PDFont fontHelvetica = PDType1Font.HELVETICA; portion and then created directories under dspace-api/src/main/resources/org/dspace/ttf where I saved the fonts and dspace-api/src/main/resources/org/dspace/pdfa for the color profile. I encountered this error in DSpace logs when trying to view a pdf: ERROR org.dspace.app.xmlui.cocoon.BitstreamReader @ Caught an error with intercepting the citation document:null I also noticed that the pdf served if I'm not logged in as an administrator does not retain the bookmarks of the pdf. Thanks in advance and regards, Elvi S. Nemiz [1]http://pdfbox.apache.org/cookbook/pdfavalidation.html [2]http://pdfbox.apache.org/cookbook/pdfacreation.html -- ___ 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] Can't run ant update after merging from upstream master
Dear Hilton, I am using the dspace master branch (DSpace 5.0-SNAPSHOT). After fetching from DSpace upstream, I saw that there are 6 commits. After merging and running mvn (mvn package build was successful though), I can't find the dspace-installer directory which I'm supposed to run ant update. The only directory inside the target folder is antrun. Running of course ant update in this directory will fail (Target update does not exist in the project maven-antrun-.) I wonder if the commit 98acddd (Move assembly of 'dspace-installer' into a default profile so that it can be disabled as needed for TravisCI) is the reason why I can't run ant update successfully. Running ant update was successful yesterday until I merged from the master branch this morning. Thanks and regards, On Fri, Sep 19, 2014 at 3:12 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Hi Euler Which DSpace version are you using? Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace Take note of the comments in red. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 19 September 2014 08:30, euler esne...@seafdec.org.ph wrote: Dear all, After merging my local master branch from upstream dspace master, I can't run ant update successfully. I can't find the previous directory dspace-installer where I'm supposed to run ant update. Is there some setting/configuration that I have to pass when doing mvn package? Thanks in advance. -- View this message in context: http://dspace.2283337.n4.nabble.com/Can-t-run-ant-update-after-merging-from-upstream-master-tp4674960.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.ph http://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlib http://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlib http://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibrary http://gplus.to/seafdecaqdlib -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Add Browse fields to specific collection only
Dear All, Is it possible to add browse fields to a specific collection only? Since other collections don't have the metadata that I'm trying to add and clicking the browse link will result to Sorry, there are no results for this browse. I'm using DSpace 3.2 and using the the standard RDBMS Browse Configuration. Thanks in advance and regards, Elvi -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ 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] Scopus Citations Count Integration
/). Feel free to 'view page source' items in our repository that have DOIs for example: http://repository.seafdec.org.ph/handle/10862/1737 for your reference. Regards, Elvi On Thu, Feb 13, 2014 at 9:07 PM, Solomon Kapfunde skapfu...@uwc.ac.zawrote: Hi Elvi This is out of the discussion forum, I have copied the code as you say in the link but I can't get it to run as it give me errors on all hyerplink tags in the script as stated in the error below. When I add the code in item-view.xml, mirage theme, xmlui i get an error 'javax.xml.transform.TransformerException: a is not allowed in this position in the stylesheet! Can you help? Regards Solomon Nemiz, Elvi esne...@seafdec.org.ph 2014/02/12 03:48 PM Hello Solomon, Perhaps this thread might help you. http://dspace.2283337.n4.nabble.com/Scopus-Integration-Cited-By-Count-API-td4667632.html . Regards, Elvi -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Scopus Citations Count Integration
Hello Solomon, Perhaps this thread might help you. http://dspace.2283337.n4.nabble.com/Scopus-Integration-Cited-By-Count-API-td4667632.html . Regards, Elvi -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Discovery Spell Checker
Dear All, In DSpace 4.0, how can I enable the query spell checking feature? https://jira.duraspace.org/browse/DS-1683 Thanks in advance. Regards, Elvi -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Ontology Plugin How to
Dear All, I wonder if anyone have implemented the ontology plugin developed by Hasselt University (preferably in xmlui)? http://aims.fao.org/community/agriocean-dspace/blogs/ontology-plug-now-available Thanks in advance, Elvi -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] How to show display value in sidebar facets?
Dear All, This might be a trivial question but I can't figure out how to show the display value in sidebar facets. For example, in my input forms, I have the display value of Book chapter and the stored value as bookSection in dc.type. In case you might ask why I'm using the stored value bookSection, this is to make our repository more zotero-friendly. I don't know if this is related to this issue: https://jira.duraspace.org/browse/DS-1225, all I want is to show the display value in sidebar facets instead of the stored value which is kind of not very 'pleasing' to the eyes. Hope someone have a workaround for this. I am using dspace 3.2 with discovery enabled. Thanks in advance and regards, Elvi -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Google Analytics Statistics within DSpace on XMLUI?
Dear All, I have read the thread here: http://dspace.2283337.n4.nabble.com/Google-Analytics-Statistics-within-DSpace-on-XMLUI-td4658773.html and tried Stuart Lewis' Surfacing Google Analytics stats in DSpace: http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/ which is build on jspui. I would like to ask if someone from the list have implemented these on xmlui? On Stuart Lewis post, I don't know how to convert the code which is written for jspui to xmlui: % // See if we can display a counter String path = /handle/ + item.getHandle(); String count = GoogleAnalyticsHitCounter.getPageCount(path); if ((count != null) (!.equals(count))) { % table align=center class=miscTable tr td class=oddRowEvenCol align=center This item has been viewed strong%= count %/strong times /td /tr /table % } % If you read the last comment that I posted in Stuart's post, I want to implement this in item-view.xsl. Thanks in advance and regards, -- Elvi -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] AddThis breaks subsequent code
Hello David, Try to add #160; in between the addthis html tags, eg. a class=addthis_button_preferred_1#160;/a, based on my experience, the layout of the site breaks if it encountered empty tags. Hope this helps. Regards, Elvi -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Scopus Integration (Cited-By Count API)
Hello Mr. Mukhopadhyay, Assuming you are using DSpace 3.x (Mirage), in the itemSummaryView-DIM template in item-view.xsl, you can insert the javascript code just below the xsl:apply-templates select=./mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']/mets:xmlData/dim:dim mode=itemSummaryView-DIM/. You can place div id=citecounts-scopus class=simple-item-view-other citecounts hidden#160;/div anywhere where you would like it to appear. In my case I placed it above the citation field inside the xsl:template name=itemSummaryView-DIM-fields in item-view.xsl. Please see sample page of our repository: http://repository.seafdec.org.ph/handle/10862/994. Regards, Elvi On Thu, Oct 3, 2013 at 4:16 PM, P. S. Mukhopadhyay psmukhopadh...@gmail.com wrote: Dear Nemiz Where to place these two file in dspace structure? On Wed, Oct 2, 2013 at 12:00 PM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Andrea, Thank you so much for sharing your code. I have successfully integrated scopus citation counts in our repository without using the form. Best regards, Elvi On Tue, Oct 1, 2013 at 9:10 AM, Andrea Schweer schw...@waikato.ac.nzwrote: Hi, On 29/09/13 21:57, Nemiz, Elvi wrote: I would like to ask if someone from the list have implemented (the new) scopus integration in their repository (preferrably xmlui) using cited-by count api? I tried using stuart's: http://blog.stuartlewis.com/2009/10/30/displaying-citation-counts-in-dspace/ and HKUST's: http://library.ust.hk/software/scopus-citedby.html in my jspui instance but I can't get it to work. I also noticed that the new scopus cited-by count API will return an image linking back to scopus (http://www.developers.elsevier.com/devcms/cited-by-count-api). Using the example from elsevier, I managed to make it work in my xmlui instance. How can I edit the example so that it will conduct a search onload without using forms since I can create a variable for the doi's value? My goal here is to avoid using the search form to generate the image that contained the number of times a certain article have been cited. Have a look at how I did this for one of my repositories: https://gist.github.com/aschweer/6772579 shows how it works for the item page at http://researchcommons.waikato.ac.nz/handle/10289/6747 I'm generating the JavaScript snippet in-line on the item page and passing the DOI to the Scopus search code via the XSLT rather than using a form. Passing in the DOI would be different in JSPUI but the JavaScript itself should still help you. I remember that it took me a while to figure out how to avoid the form but I can't remember how I got there in the end. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- --- Dr. Parthasarathi Mukhopadhyay Associate Professor, Department of Library and Information Science, University of Kalyani, Kalyani - 741 235 (WB), India --- Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___ DSpace-tech mailing list
Re: [Dspace-tech] Scopus Integration (Cited-By Count API)
Hello Andrea, Thank you so much for sharing your code. I have successfully integrated scopus citation counts in our repository without using the form. Best regards, Elvi On Tue, Oct 1, 2013 at 9:10 AM, Andrea Schweer schw...@waikato.ac.nzwrote: Hi, On 29/09/13 21:57, Nemiz, Elvi wrote: I would like to ask if someone from the list have implemented (the new) scopus integration in their repository (preferrably xmlui) using cited-by count api? I tried using stuart's: http://blog.stuartlewis.com/2009/10/30/displaying-citation-counts-in-dspace/ and HKUST's: http://library.ust.hk/software/scopus-citedby.html in my jspui instance but I can't get it to work. I also noticed that the new scopus cited-by count API will return an image linking back to scopus (http://www.developers.elsevier.com/devcms/cited-by-count-api). Using the example from elsevier, I managed to make it work in my xmlui instance. How can I edit the example so that it will conduct a search onload without using forms since I can create a variable for the doi's value? My goal here is to avoid using the search form to generate the image that contained the number of times a certain article have been cited. Have a look at how I did this for one of my repositories: https://gist.github.com/aschweer/6772579 shows how it works for the item page at http://researchcommons.waikato.ac.nz/handle/10289/6747 I'm generating the JavaScript snippet in-line on the item page and passing the DOI to the Scopus search code via the XSLT rather than using a form. Passing in the DOI would be different in JSPUI but the JavaScript itself should still help you. I remember that it took me a while to figure out how to avoid the form but I can't remember how I got there in the end. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Scopus Integration (Cited-By Count API)
Dear All, I would like to ask if someone from the list have implemented (the new) scopus integration in their repository (preferrably xmlui) using cited-by count api? I tried using stuart's: http://blog.stuartlewis.com/2009/10/30/displaying-citation-counts-in-dspace/and HKUST's: http://library.ust.hk/software/scopus-citedby.html in my jspui instance but I can't get it to work. I also noticed that the new scopus cited-by count API will return an image linking back to scopus ( http://www.developers.elsevier.com/devcms/cited-by-count-api). Using the example from elsevier, I managed to make it work in my xmlui instance. How can I edit the example so that it will conduct a search onload without using forms since I can create a variable for the doi's value? My goal here is to avoid using the search form to generate the image that contained the number of times a certain article have been cited. Thanks in advance and regards, Elvi S. Nemiz attachment: scopus-cited-by-count.png-- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Sidebar facets sorting with type value that is not text or date
Dear all, In the discovery.xml, the property name=type allowed 2 values only, text and date. Is it possible to add another value like number? I have a collection with sidebar facets of volume numbers and if I set the sortOrder to value, it treats the facet as text. Please see attached screenshot (notice that vol. number 9 is the last in the list, which should be the first). This could easily be solved by adding leading zeros but I don't want to use that option. Could this be achieved using xslt? Thanks in advance and regards, Elvi S. Nemiz attachment: sidebar-facet.jpg-- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to automatically add read permissions to generated thumbnails to anonymous users?
Hello helix, I am browsing jira.duraspace.org and found this issue: https://jira.duraspace.org/browse/DS-1215, might be related? Anyways, thank you so much for your suggestions, I'll try to create a curation task for that purpose. Regards, Elvi On Thu, Sep 19, 2013 at 11:08 PM, helix84 heli...@centrum.sk wrote: Hi Elvi, I'm afraid this is not easily doable without modifications. The reason why your thumbnails are restricted is that your collections don't have a DEFAULT_BITSTREAM_READ policy for the Anonymous group, because you want the bitstreams be restricted as soon as they are submitted. There is currently no way to make a separate resourcepolicy for different bundles (ORIGINAL and THUMBNAIL), but that sounds like a useful feature, so please file a bug report for adding a DEFAULT_BUNDLE_ORIGINAL_READ, DEFAULT_BUNDLE_THUMBNAIL_READ policy etc. Due to what I said above, the option is either to add the DEFAULT_BITSTREAM_READ policy and restrict content bitstreams manually or to keep working the way you do. Another option would be to write a curation task that makes sure all bitstreams in the THUMBNAIL bundle have Anonymous READ resourcepolicy set. Depending on how you ingest items into the repository, you could run it either from cron on all items, manually after each batch import (on all or on just selected items) or hook it up to run after the submission process. You can find extensive documentation on how to write and how to launch curation tasks here [1]. My preferred method is writing them in Jython [2] because you can skip the compile step and just run it and see the result. [1] https://wiki.duraspace.org/display/DSDOC3x/Curation+System [2] https://wiki.duraspace.org/display/DSDOC3x/Curation+tasks+in+Jython Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] High CPU usage
Dear all, Lately we are encountering unusual high CPU usage of our repository which causes it to hang. Restarting the tomcat service usually resolved this problem. I created a batch file that monitors cpu usage and if it reached 100%, it will stop and start the tomcat service automatically. Looking at the dspace log I found the error below, I don't know if this is related at all to the high cpu usage. 2013-09-14 10:23:02,617 ERROR org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter @ Problem in multipart filter. Unable to create request. java.lang.NullPointerException at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter.doFilter(DSpaceMultipartFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Thanks in advance and regards, Elvi -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Question about mod_jk, x-forwarded-for and IP-based authentication
Dear all, We are using apache webserver as a front end for our dspace instance. I did this using mod_jk. Now, our server is (may be) behind a firewall/proxy/load balancer and it is forwarding its own local ip address instead of the user's ip address. I tried implementing this ( http://www.techstacks.com/howto/log-client-ip-and-xforwardedfor-ip-in-apache.html) in the virtualhost of our server's httpd.conf but I still get the local IP address of the load-balancer/proxy upon checking the access logs. I can't implement ip-based authentication if I can't get the real ip-address of the user, right? Please advice what are the necessary steps to do to get the user's ip address to enable ip-based authentication. Lastly, in authentication-ip.cfg, what is the correct syntax for specifying ip range? If for example our ip range is 203.xxx.xx.129 to 203.xxx.xx.142? I tried using 203.xxx.xx.129/142 and I get Malformed *IP range* specified for group error. Thanks in advance. Sincerely, Elvi S. Nemiz -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problem with ant update
Dear All, After following helix advice to use process monitor, I've discovered what could be the cause of my ant update slowing down. Process monitor returned an End of File result when copying my custom vocabulary. I just removed my custom vocabularies from my [dspace-src] and the problem went away. I don't know what's the problem with my custom vocabulary since it's working when I used it in [dspace]/config/controlled-vocabularies. Thanks for the inputs and suggestions guys. More power to you all. Sincerely, Elvi On Mon, Sep 9, 2013 at 5:15 PM, helix84 heli...@centrum.sk wrote: Hello guys, I've never encountered this before (ant always takes under 2 minutes even on a PC-class machine for me), but from what you two are seeing, it seems ant is working extremely slowly. I have two suggestions which may or may not help: 1) Try using a different version of ant. DSpace 3.x declares it needs ant 1.8.x, so try both ant 1.9.2 and ant 1.8.0. 2) Try finding out what is so slow (it could be a filesystem operation, perhaps access-rights related). I don't know what an equivalent of strace would be on Windows, but there was a program called Process Monitor by Sysinternals that could be useful. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Problem with ant update
Hello Brian, Even if I didn't run mvn clean, even if I'm just running a regular mvn package, it takes way too long to finish running ant update. I actually leave ant update running overnight on our production server and the next morning when I checked, the message shows BUILD SUCCESSFUL Total time: 664 minutes 22 seconds 11 hours? I don't encounter this kind of promblem when I tried it on an untouched version of dspace. I thought maybe some of my customizations messed this up? I've set JAVA_OPTS -Xms512m -Xmx1024m in the environment variables of our server and also set JAVA_OPTS=-Xmx1025M -Xms512M -XX:MaxPermSize=128M in the setenv.bat of my tomcat server (I don't know if this will create conflicts) and it still takes too long to finish running ant update. With regards to chown'ing, I tried running cacls *.* /t /e /g everyone:f in [dspace-src] (Not sure if this is the correct way of chown'ing in windows) and still ant update takes too long to finish. Thank you so much for your time. Sincerely, Elvi S. Nemiz On Fri, Sep 6, 2013 at 10:34 PM, Brian Freels-Stendel bfre...@unm.eduwrote: Hi Nelmi, Try chown'ing the dspace-src directory to the dspace user. When I run mvn clean, it always messes up permissions. B-- *From:*Nemiz, Elvi [mailto: esne...@seafdec.org.ph] *Sent:* Friday, September 06, 2013 2:49 AM *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] Problem with ant update Dear All, I'm having trouble in running ant update. After running successfully mvn -U clean package, I execute ant update, I'm stuck in Copying 111 files to [dspace-src]/dspace/target/dspace-3.2-build/config-temp. I don't know where to look for logs that may be causing this problem. I am running this in windows 2003, ant 1.8.2 and java 1.7.0_21. Thanks in advance. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Problem with ant update
Dear All, I'm having trouble in running ant update. After running successfully mvn -U clean package, I execute ant update, I'm stuck in Copying 111 files to [dspace-src]/dspace/target/dspace-3.2-build/config-temp. I don't know where to look for logs that may be causing this problem. I am running this in windows 2003, ant 1.8.2 and java 1.7.0_21. Thanks in advance. Sincerely, Elvi S. Nemiz -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Need help in generating form
I have created a document delivery form which is just a modification of the feedback form. I updated the /ViewArtifacts/sitemap.xmap basically just by copy/pasting where the instance of feedback form occurred. I would now like to ask for help and suggestions if I made the correct modifications. In sitemap.xmap, I add this code: map:match pattern=handle/*/*/DocumentDelivery !-- Document delivery comes here -- map:act type=SendDocumentDeliveryRequestAction map:transform type=DocumentDeliveryRequestForm map:parameter name=comments value={comments}/ map:parameter name=email value={email}/ map:parameter name=page value={page}/ /map:transform map:serialize type=xml/ /map:act map:transform type=DocumentDeliveryRequestSent/ map:serialize type=xml/ /map:match In my DocumentDeliveryRequestForm.java, (a modification of FeedbackForm.java), I have this code: // Build the item viewer division. Division ill = body.addInteractiveDivision(ill-form, request.getRequestURI()+/DocumentDelivery,Division.METHOD_POST,primary); and in my theme's xsl, I created a link for this form: a xsl:attribute name=href xsl:value-of select=confman:getProperty('dspace.baseUrl')/ xsl:text/handle/10862/xsl:text xsl:value-of select=substring-after($request-uri, '/10862')/ xsl:text/DocumentDelivery/xsl:text /xsl:attribute xsl:textRequest this document./xsl:text /a Not very tidy but this is the only way I can think of on how to match that with my code in DocumentDeliveryRequestForm.java (request.getRequestURI()+/DocumentDelivery). Anyways, if I click on the 'Request this document' link, the form appeared. My problem now is that after properly filling out the form and clicking the submit button, I received the org.apache.cocoon.ResourceNotFoundException: Page cannot be found error. The url upon submission have added the text /DocumentDelivery at the end of the existing url (i.e. http://localhost:8080/handle/123456789/123//DocumentDelivery became http://localhost:8080/handle/123456789/123//DocumentDelivery/DocumentDeliveryafter the submit button was pressed. I don't know if the error is caused by a faulty sitemap.xmap or by the form. I have successfully implemented this form a few days back but then I got 'ambitious' and decided to add the item's title into the form. If I just retain the code from the feedbackform which is (contextPath+/DocumentDelivery ,Division.METHOD_POST,primary), I have my document delivery form working without the requested item title though:(. Any ideas? I have been working on this code for a few days now with a lot of trial and error since my post a few days back asking if anybody have actually created a feature like this. If somebody could advise me if I'm on the right track. Thanks in advance and regards, -- Elvi -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Parameters for vocabulary xmlui not working
Hello Brian, Edit [dspace-src]\dspace\config\spring\api\discovery.xml, look for property name=splitter value=::/ in line 244. You can also add if you like search filters and sidebar facets in this file. Hope this helps. ;-) Regards, Elvi -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How to look up other fields in DSpaceObject?
Hi Brian and Helix, Thanks for the info, I managed to fetched the metadata using item.getMetadata. I'm confused though, if item.getDC was deprecated, why is it still using the deprecated org.dspace.content.DCValue class? I'm using this code to fetch the citation of an item: DCValue[] citationDC = item.getMetadata(dc, identifier, citation, Item.ANY) or do I have to import another class? Thanks once again and regards, Elvi On Wed, Aug 14, 2013 at 2:58 AM, helix84 heli...@centrum.sk wrote: Hi Elvi, you could use getDC() to get any dc.*.* metadata, but I recommend you to use the more generic getMetadata() method, which can get metadata from other namespaces, too. You can use it either as getMetadata(schema.element.qualifier) or as getMetadata(schema, element, qualifier). You can find more details here: http://demo.dspace.org/javadocs/3/apidocs/org/dspace/content/Item.html Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] How to look up other fields in DSpaceObject?
Dear all, While searching for the code on how to look up the item title, I found this code in SuggestServlet.java: DCValue[] titleDC = item.getDC(title, null, Item.ANY). I want to know the syntax if I want to get other fields like for example dc.identifier.citation? Thanks in advance. -- Elvi S. Nemiz -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Document Delivery Form / ILL
Dear all, I have successfully created document delivery form by duplicating the feedback form. I added a checkboux for the terms/agreement. My problem now is that how can I disable the submission of the form if the user did not check 'agreement' checkbox. I circumvent this by using javascript to disable the submit button if the checkbox is uncheck, but the form will be submitted if javascript was disabled. Also, I want to include the requested item title to be part of the form(or message) so that the recipient of the request will know the title (although the generated email message includes the referring page) and the user don't have to type/input the title that he/she's interested in. I tried to copy pieces of code from the request copy feature of muelle (https://github.com/DSpace/DSpace/pull/260) but I keep getting java.lang.NullPointerException error. I also tried to lookup in the SuggestServlet but I can't figure out how to incorporate this in my code since AFAIK (and I'm not a java developer/programmer), this feature was made for JSPUI only. I enabled the form by creating a link to every item with no bitstream: pi18n:textxmlui.dri2xhtml.METS-1.0.item-no-files/i18n:text/p p a xsl:attribute name=href xsl:value-of select=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='contextPath'][not(@qualifier)]/ xsl:text/ill/xsl:text /xsl:attribute xsl:textRequest this document/xsl:text /a /p Attached is my code for the document delivery request form. Hope someone can help me on how to make my document delivery form worked as I expected. Any ideas would be greatly appreciated! Thanks in advance and regards, Elvi On Fri, Aug 9, 2013 at 6:50 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear All, I'm wondering if somebody have developed a feature to generate a document delivery/ILL form just like the feedback form. I am aware of the request copy feature that allows users to request restricted pdfs but I'm also concerned if the publisher specifically prohibits uploading of the publisher's version and we don't have the available version (e.g. old journal articles or the original author don't have a copy anymore) that they allow to archive in the author's institutional repository? It would be nice if the generated form were already prefilled with information like title, author, citation, etc. Please see this item from IDRC: http://idl-bnc.idrc.ca/dspace/handle/10625/15625, where there's a button/link Request this document and clicking this link will send you to a Document Delivery Form. Of course the user could just use the feedback form but what I'm trying to achieve here is to automatically generate the title of the item that they're interested. Thanks in advance and cheers! -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines SendILLAction.java Description: Binary data ILLForm.java Description: Binary data -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Document Delivery Form / ILL
Dear All, I'm wondering if somebody have developed a feature to generate a document delivery/ILL form just like the feedback form. I am aware of the request copy feature that allows users to request restricted pdfs but I'm also concerned if the publisher specifically prohibits uploading of the publisher's version and we don't have the available version (e.g. old journal articles or the original author don't have a copy anymore) that they allow to archive in the author's institutional repository? It would be nice if the generated form were already prefilled with information like title, author, citation, etc. Please see this item from IDRC: http://idl-bnc.idrc.ca/dspace/handle/10625/15625, where there's a button/link Request this document and clicking this link will send you to a Document Delivery Form. Of course the user could just use the feedback form but what I'm trying to achieve here is to automatically generate the title of the item that they're interested. Thanks in advance and cheers! -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Templates for rendering Related Items
Hello Helix, I actually override it accidentally when I override the template for Item List, (xsl:template match=dim:dim mode=itemSummaryList-DIM-metadata). Thanks for the info, if ever I want to render Related Items differently from Item List. Regards On Wed, Aug 7, 2013 at 6:17 AM, helix84 heli...@centrum.sk wrote: On Mon, Aug 5, 2013 at 8:09 AM, Nemiz, Elvi esne...@seafdec.org.ph wrote: The templates inside discovery.xsl are used to render the search results for discovery, I would like to know which file was used to render the formatting in Related Items. If none, how can I override it? Thanks in advance and regards. Here's an example of the Related Items widget taken from DRI: div id=aspect.discovery.RelatedItems.div.item-related-container n=item-related-container div id=aspect.discovery.RelatedItems.div.item-related rend=secondary related n=item-relatedheadRelated items/headp Showing items related by title, author, creator and subject./p referenceSet id=aspect.discovery.RelatedItems.referenceSet.item-related-items rend=related-items n=item-related-items type=summaryList reference repositoryID=10673 type=DSpace Item url=/metadata/handle/10673/225/mets.xml/ reference repositoryID=10673 type=DSpace Item url=/metadata/handle/10673/242/mets.xml/ reference repositoryID=10673 type=DSpace Item url=/metadata/handle/10673/259/mets.xml//referenceSet /div/div Here you can see that it's just generic elements like referenceSet, not specific to Related Items. What you probably want to do is override the whole related items container and do your own rendering (if you tried to modify how referenceSet is rendered, it would have effect also in other unrelated places): xsl:template name=my-related-items match=dri:div[@id='aspect.discovery.RelatedItems.div.item-related-container'] !-- for-each reference, render reference --/xsl:template Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Templates for rendering Related Items
Dear All, The templates inside discovery.xsl are used to render the search results for discovery, I would like to know which file was used to render the formatting in Related Items. If none, how can I override it? Thanks in advance and regards. -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hello Brian, I'm glad that its working now.. ;-) With regards to your modifications, I guess you have to run 'mvn clean package' so that your changes will be copied to your [dspace-source]/dspace/target/dspace-[version]-build.dir. Please see this link and see the difference between 'mvn package' and 'mvn clean package': https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace. I'd still advice you to make your customizations in the [dspace-src]/dspace/modules/ to retain your modifications because your changes in [dspace-src]\dspace-xmlui\src\main\webapp\WEB-INF\classes\aspects\aspects\BrowseArtifacts\sitemap.xmap will be overwritten in case you make a full rebuild of your dspace. (Can someone from the list correct me if I'm wrong about this? I'm not so sure.) Cheers! On Mon, Aug 5, 2013 at 11:18 AM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, My expand/collapse buttons for community/collection list are all working now. Here are some of the gocha's that I've done. 1. Complete list of communities not shown in dspace home page: For some reasons, modifying the [dspace-src]\dspace-xmlui\src\ main\resources\aspects\BrowseArtifacts\sitemap.xmap did not work for me. The changes doesn't reflect the [dspace]\WEB-INF\classes\aspects\BrowseArtifacts\sitemap.xmap. So I modify the [dspace-src]\dspace-xmlui\src\main\webapp\WEB-INF\classes\aspects\aspects\BrowseArtifacts\sitemap.xmap instead and it worked. 2. Collapse/Expand buttons not functioning: Apparently, they need the jquery.cookie.js. It is being required by jquery.treeview.js in line 180. Again, the import file did not work so I copied who whole jquery.cookie.js in jquery.treeview.js. Well, it is not really neat but I made it working. Many thanks Elvi! I could not made it possible without your help. On Fri, Aug 2, 2013 at 6:08 PM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hi Brian, Please see this link: https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial. Customizations should be made inside the modules directory, AFAIK, not in [dspace-src]\dspace-xmlui. With regards to the treeview functionality, please check if you have the correct path in your sitemap.xmap (e.g. value=lib/*js*/jquery.treeview.js should be lib/*treeview*/jquery.treeview.js). We sometimes tend to overlook small details like this. Here's a snippet of sitemap.xmap of our live repository: map:transform type=IncludePageMeta map:parameter name=stylesheet#1 value=lib/treeview/jquery.treeview.css/ map:parameter name=javascript#1 value=lib/js/jquery-ui-1.8.15.custom.min.js/ map:parameter name=javascript#2 value=lib/jquery/jquery.cookie.js/ map:parameter name=javascript#3 value=lib/treeview/jquery.treeview.js/ map:parameter name=stylesheet.all value=lib/css/media.css/ map:parameter name=theme.path value={global:theme-path}/ map:parameter name=theme.name value={global:theme-name}/ /map:transform Just check if we have the same set of files that were needed for the treeview functionality. It can also help by looking at our site's page source. Regarding the counter beside communities and collections, in your dspace.cfg, look for # Settings for content count/strength information and then set the values for 'webui.strengths.show' and 'webui.strengths.cache' = true. You should also set up a cron job/sheduled task to run [dspace]/bin/itemcounter periodically to update the count. I am always willing to help in any that I can, so no problem at all, ;-) Cheers and regards, On Fri, Aug 2, 2013 at 5:16 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, I am building my customization in [dspace-src]\dspace-xmlui. I noticed that my [dspace]\WEB-INF\classes\aspects\ArtifactBrowser is not updating so I deleted everything inside [dspace] except assetstore/. Regarding the treeview functionality, I've done what you suggested but I got the javascript error Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'cookie' in jquery.treeview.js. I thought that it lacked a javascript plugin so I tried importing jquery.cookie.js but the same error appears. BTW, the counter beside the communities (e.g. ) is also missing. I think I am almost done with this. Please bear a little bit more. Thanks for your time and patience. On Thu, Aug 1, 2013 at 4:20 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hi Brian, Did you copy the whole text including the script tags? If you created an external javascript, you don't need to include the script/script tags, just copy the contents inside the script tags. Regarding the sub-communities and collections that do not appear in the front page, copy the sitemap.xmap to [dspace-src]\dspace\modules\xmlui\src\main\resources\aspects
Re: [Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hi Brian, Please see this link: https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial. Customizations should be made inside the modules directory, AFAIK, not in [dspace-src]\dspace-xmlui. With regards to the treeview functionality, please check if you have the correct path in your sitemap.xmap (e.g. value=lib/*js*/jquery.treeview.js should be lib/*treeview*/jquery.treeview.js). We sometimes tend to overlook small details like this. Here's a snippet of sitemap.xmap of our live repository: map:transform type=IncludePageMeta map:parameter name=stylesheet#1 value=lib/treeview/jquery.treeview.css/ map:parameter name=javascript#1 value=lib/js/jquery-ui-1.8.15.custom.min.js/ map:parameter name=javascript#2 value=lib/jquery/jquery.cookie.js/ map:parameter name=javascript#3 value=lib/treeview/jquery.treeview.js/ map:parameter name=stylesheet.all value=lib/css/media.css/ map:parameter name=theme.path value={global:theme-path}/ map:parameter name=theme.name value={global:theme-name}/ /map:transform Just check if we have the same set of files that were needed for the treeview functionality. It can also help by looking at our site's page source. Regarding the counter beside communities and collections, in your dspace.cfg, look for # Settings for content count/strength information and then set the values for 'webui.strengths.show' and 'webui.strengths.cache' = true. You should also set up a cron job/sheduled task to run [dspace]/bin/itemcounter periodically to update the count. I am always willing to help in any that I can, so no problem at all, ;-) Cheers and regards, On Fri, Aug 2, 2013 at 5:16 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, I am building my customization in [dspace-src]\dspace-xmlui. I noticed that my [dspace]\WEB-INF\classes\aspects\ArtifactBrowser is not updating so I deleted everything inside [dspace] except assetstore/. Regarding the treeview functionality, I've done what you suggested but I got the javascript error Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'cookie' in jquery.treeview.js. I thought that it lacked a javascript plugin so I tried importing jquery.cookie.js but the same error appears. BTW, the counter beside the communities (e.g. ) is also missing. I think I am almost done with this. Please bear a little bit more. Thanks for your time and patience. On Thu, Aug 1, 2013 at 4:20 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hi Brian, Did you copy the whole text including the script tags? If you created an external javascript, you don't need to include the script/script tags, just copy the contents inside the script tags. Regarding the sub-communities and collections that do not appear in the front page, copy the sitemap.xmap to [dspace-src]\dspace\modules\xmlui\src\main\resources\aspects\BrowseArtifacts. Create appropriate directories if its missing. Rebuild dspace. My guess is that it was overwritten when you rebuild dspace. The modules directory under [dspace-src]\dspace is for your local customizations, changes under this folder will not be overwritten in case you perform dspace update or rebuild. Hope this helped. Regards, On Thu, Aug 1, 2013 at 3:32 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, I tried your suggestions: 1. I remove the jquery.js from my sitemap. You're correct, the treeview is working fine since dspace has already imported its default jquery-ui-1.8.15.custom.min.js. 2. I created a new javascript file treeview.js and inserted theses codes, script type=text/javascript (function ($) { $(#tree).treeview({ collapsed:true, animated:medium, control:#sidetreecontrol, persist:cookie }); })(jQuery); /script I updated the sitemap to include the the javascript. But still, the Collapse All, Expand All buttons are not functioning. I inspected the elements in chrome and I received the error uncaught syntaxerror: unexpected token from treeview.js. Further, the sub-communities and collections do not appear in the frontpage, just the main communities even though I already edited out my [dspace-src]\dspace-xmlui\src\main\resources\aspects\BrowseArtifacts\sitemap.xmap to map:parameter name=depth value=999/. On Tue, Jul 30, 2013 at 10:28 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hello Brian, Perhaps the file treeview.js is missing from your code and this is what you are referring to. This is the script: script type=text/javascript (function ($) { $(#tree).treeview({ collapsed:true, animated:medium, control:#sidetreecontrol, persist:cookie }); })(jQuery); /script You can copy/paste this inside the xsl:template name=addJavascript template in page-structure.xsl
Re: [Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hi Brian, Did you copy the whole text including the script tags? If you created an external javascript, you don't need to include the script/script tags, just copy the contents inside the script tags. Regarding the sub-communities and collections that do not appear in the front page, copy the sitemap.xmap to [dspace-src]\dspace\modules\xmlui\src\main\resources\aspects\BrowseArtifacts. Create appropriate directories if its missing. Rebuild dspace. My guess is that it was overwritten when you rebuild dspace. The modules directory under [dspace-src]\dspace is for your local customizations, changes under this folder will not be overwritten in case you perform dspace update or rebuild. Hope this helped. Regards, On Thu, Aug 1, 2013 at 3:32 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, I tried your suggestions: 1. I remove the jquery.js from my sitemap. You're correct, the treeview is working fine since dspace has already imported its default jquery-ui-1.8.15.custom.min.js. 2. I created a new javascript file treeview.js and inserted theses codes, script type=text/javascript (function ($) { $(#tree).treeview({ collapsed:true, animated:medium, control:#sidetreecontrol, persist:cookie }); })(jQuery); /script I updated the sitemap to include the the javascript. But still, the Collapse All, Expand All buttons are not functioning. I inspected the elements in chrome and I received the error *uncaught syntaxerror: unexpected token *from treeview.js. Further, the sub-communities and collections do not appear in the frontpage, just the main communities even though I already edited out my [dspace-src]\dspace-xmlui\src\main\resources\aspects\BrowseArtifacts\sitemap.xmap to map:parameter name=depth value=999/. On Tue, Jul 30, 2013 at 10:28 PM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, Perhaps the file treeview.js is missing from your code and this is what you are referring to. This is the script: script type=text/javascript (function ($) { $(#tree).treeview({ collapsed:true, animated:medium, control:#sidetreecontrol, persist:cookie }); })(jQuery); /script You can copy/paste this inside the xsl:template name=addJavascript template in page-structure.xsl OR you can copy the whole xsl:template name=addJavascript template into Mirage.xsl to keep the original page-structure.xsl intact OR you can just create an external javascript file (e.g. treeview.js) and update your sitemap.xmap to import your newly created javascript file. Hope this answers your query about the Expand All, Collapse All button not working. ;-) Cheers! On Tue, Jul 30, 2013 at 5:50 PM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, I suspect that you have conflicts in your javascript, that's why I suggested that you look for javascript errors in the console of google chrome if you clicked the Expand All, Collapse All button. What is the output of the console if you clicked the Expand All.. button? I have updated my treeview functionality code and I don't have the jquery.js file. I removed that since dspace 3.x code is importing jquery.min.js (1.6.2). AFAIK, jquery is needed for the treeview functionality to work ( http://jquery.bassistance.de/treeview/demo/) but since dspace have jquery already, importing another jquery would likely cause conflicts in your javascript code. Here is the link of my commit in my github account about the treeview functionality and compare the files that I have changed to your code: (Note: I have made a new theme named sair under the [ dspace-src]/dspace/modules/xmlui/src/main/webapp/themes/ directory) https://github.com/eulereadgbe/DSpace/commit/097db46d4d52e4099bb418e5d940d4d769bd0b04#dspace/modules/xmlui/src/main/webapp/themes/sair/lib/treeview Hope this helps. Regards, Elvi On Tue, Jul 30, 2013 at 4:49 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, thanks for the input. The treeview for community is working now. I tried to copy the code: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template to [dspace-src]\dspace-xmlui\src\main\webapp\themes\dri2xhtml\structural.xsl before and I noticed that it was not imported in the Mirage.xsl so that is why nothing is happening. Just one more thing, I can't make the Expand All and Collapse All button to work. I guess I'm missing javascript code to target div id=sidetree, treeheader, and sidecontrol? I already looked into the javascript codes in *lib
Re: [Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hello Brian, I suspect that you have conflicts in your javascript, that's why I suggested that you look for javascript errors in the console of google chrome if you clicked the Expand All, Collapse All button. What is the output of the console if you clicked the Expand All.. button? I have updated my treeview functionality code and I don't have the jquery.js file. I removed that since dspace 3.x code is importing jquery.min.js (1.6.2). AFAIK, jquery is needed for the treeview functionality to work ( http://jquery.bassistance.de/treeview/demo/) but since dspace have jquery already, importing another jquery would likely cause conflicts in your javascript code. Here is the link of my commit in my github account about the treeview functionality and compare the files that I have changed to your code: (Note: I have made a new theme named sair under the [ dspace-src]/dspace/modules/xmlui/src/main/webapp/themes/ directory) https://github.com/eulereadgbe/DSpace/commit/097db46d4d52e4099bb418e5d940d4d769bd0b04#dspace/modules/xmlui/src/main/webapp/themes/sair/lib/treeview Hope this helps. Regards, Elvi On Tue, Jul 30, 2013 at 4:49 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, thanks for the input. The treeview for community is working now. I tried to copy the code: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template to [dspace-src]\dspace-xmlui\src\main\webapp\themes\dri2xhtml\structural.xsl before and I noticed that it was not imported in the Mirage.xsl so that is why nothing is happening. Just one more thing, I can't make the Expand All and Collapse All button to work. I guess I'm missing javascript code to target div id=sidetree, treeheader, and sidecontrol? I already looked into the javascript codes in *lib/treeview/jquery.treeview.js, **lib/jquery/jquery.js, **lib/treeview/treeview-handlers.js *but I can't find anything. Did you use a separate javascript? Thanks a lot. (^_^) On Tue, Jul 30, 2013 at 11:16 AM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, On Mon, Jul 29, 2013 at 1:29 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, sorry to disturb you. I'm implementing the expand/collapse button in communities/collection. I'e seen you're post in dspace nabble. I'm trying to patch the code (err manually) so that I'm sure where the changes will go. But apparently, I cannot have it work. All the js and css are in their respective folders in Mirage template. Any advise? Thanks. To display the full list of your communities and collections in the front page, edit line 48: map:parameter name=depth value=1/ change the value from 1 to 999 in [dspace-src]\dspace-xmlui\src\main\resources\aspects\BrowseArtifacts\sitemap.xmap. If you are using mirage, copy this line and paste it in the mirage.xsl file before the closing tag /xsl:stylesheet: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template Also, you must edit [dspace-src]\dspace-xmlui\src\main\webapp\themes\Mirage\sitemap.xmap to make sure all the necessary css and javascripts were imported. E.g.: map:transform type=IncludePageMeta *map:parameter name=stylesheet#1 value=lib/treeview/jquery.treeview.css/* map:parameter name=javascript#1 value=lib/js/jquery-ui-1.8.15.custom.min.js/ map:parameter name=javascript#2 value=lib/jquery/jquery.cookie.js/ *map:parameter name=javascript#3 value=lib/treeview/jquery.treeview.js/* *map:parameter name=javascript#4 value=lib/treeview/treeview.js/* map:parameter name=stylesheet.all value=lib/css/media.css/ map:parameter name=theme.path value={global:theme-path}/ map:parameter name=theme.name value={global:theme-name}/ /map:transform Note that the number sequence (e.g. javascript#3, etc.) are crucial, I always made the mistake of not updating these numbers which in turn failed to import or link these files. Rebuild DSpace. If you're using chrome, always try to use the 'inspect element' feature and view the console, this well help you monitor
Re: [Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hello Brian, Perhaps the file treeview.js is missing from your code and this is what you are referring to. This is the script: script type=text/javascript (function ($) { $(#tree).treeview({ collapsed:true, animated:medium, control:#sidetreecontrol, persist:cookie }); })(jQuery); /script You can copy/paste this inside the xsl:template name=addJavascript template in page-structure.xsl OR you can copy the whole xsl:template name=addJavascript template into Mirage.xsl to keep the original page-structure.xsl intact OR you can just create an external javascript file (e.g. treeview.js) and update your sitemap.xmap to import your newly created javascript file. Hope this answers your query about the Expand All, Collapse All button not working. ;-) Cheers! On Tue, Jul 30, 2013 at 5:50 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hello Brian, I suspect that you have conflicts in your javascript, that's why I suggested that you look for javascript errors in the console of google chrome if you clicked the Expand All, Collapse All button. What is the output of the console if you clicked the Expand All.. button? I have updated my treeview functionality code and I don't have the jquery.js file. I removed that since dspace 3.x code is importing jquery.min.js (1.6.2). AFAIK, jquery is needed for the treeview functionality to work ( http://jquery.bassistance.de/treeview/demo/) but since dspace have jquery already, importing another jquery would likely cause conflicts in your javascript code. Here is the link of my commit in my github account about the treeview functionality and compare the files that I have changed to your code: (Note: I have made a new theme named sair under the [ dspace-src]/dspace/modules/xmlui/src/main/webapp/themes/ directory) https://github.com/eulereadgbe/DSpace/commit/097db46d4d52e4099bb418e5d940d4d769bd0b04#dspace/modules/xmlui/src/main/webapp/themes/sair/lib/treeview Hope this helps. Regards, Elvi On Tue, Jul 30, 2013 at 4:49 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, thanks for the input. The treeview for community is working now. I tried to copy the code: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template to [dspace-src]\dspace-xmlui\src\main\webapp\themes\dri2xhtml\structural.xsl before and I noticed that it was not imported in the Mirage.xsl so that is why nothing is happening. Just one more thing, I can't make the Expand All and Collapse All button to work. I guess I'm missing javascript code to target div id=sidetree, treeheader, and sidecontrol? I already looked into the javascript codes in *lib/treeview/jquery.treeview.js, **lib/jquery/jquery.js, **lib/treeview/treeview-handlers.js *but I can't find anything. Did you use a separate javascript? Thanks a lot. (^_^) On Tue, Jul 30, 2013 at 11:16 AM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, On Mon, Jul 29, 2013 at 1:29 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, sorry to disturb you. I'm implementing the expand/collapse button in communities/collection. I'e seen you're post in dspace nabble. I'm trying to patch the code (err manually) so that I'm sure where the changes will go. But apparently, I cannot have it work. All the js and css are in their respective folders in Mirage template. Any advise? Thanks. To display the full list of your communities and collections in the front page, edit line 48: map:parameter name=depth value=1/ change the value from 1 to 999 in [dspace-src]\dspace-xmlui\src\main\resources\aspects\BrowseArtifacts\sitemap.xmap. If you are using mirage, copy this line and paste it in the mirage.xsl file before the closing tag /xsl:stylesheet: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template Also, you must edit [dspace-src]\dspace-xmlui\src\main\webapp\themes\Mirage\sitemap.xmap to make sure all the necessary css and javascripts were imported. E.g.: map:transform type=IncludePageMeta *map:parameter name=stylesheet#1 value=lib/treeview/jquery.treeview.css/* map:parameter name=javascript#1 value=lib/js
[Dspace-tech] Add expand / collapse for the Front Page and Community-List.
Hello Brian, On Mon, Jul 29, 2013 at 1:29 PM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, sorry to disturb you. I'm implementing the expand/collapse button in communities/collection. I'e seen you're post in dspace nabble. I'm trying to patch the code (err manually) so that I'm sure where the changes will go. But apparently, I cannot have it work. All the js and css are in their respective folders in Mirage template. Any advise? Thanks. To display the full list of your communities and collections in the front page, edit line 48: map:parameter name=depth value=1/ change the value from 1 to 999 in [dspace-src]\dspace-xmlui\src\main\resources\aspects\BrowseArtifacts\sitemap.xmap. If you are using mirage, copy this line and paste it in the mirage.xsl file before the closing tag /xsl:stylesheet: xsl:template match=dri:referenceSet[@type = 'summaryList' and @n='community-browser'] priority=3 div id=sidetree div class=treeheader#160;/div div id=sidetreecontrola href=?#Collapse All/a#160; a href=?#Expand All/a /div ul id=tree xsl:apply-templates select=*[not(name()='head')] mode=summaryList/ /ul /div /xsl:template Also, you must edit [dspace-src]\dspace-xmlui\src\main\webapp\themes\Mirage\sitemap.xmap to make sure all the necessary css and javascripts were imported. E.g.: map:transform type=IncludePageMeta *map:parameter name=stylesheet#1 value=lib/treeview/jquery.treeview.css/* map:parameter name=javascript#1 value=lib/js/jquery-ui-1.8.15.custom.min.js/ map:parameter name=javascript#2 value=lib/jquery/jquery.cookie.js/ *map:parameter name=javascript#3 value=lib/treeview/jquery.treeview.js/* *map:parameter name=javascript#4 value=lib/treeview/treeview.js/* map:parameter name=stylesheet.all value=lib/css/media.css/ map:parameter name=theme.path value={global:theme-path}/ map:parameter name=theme.name value={global:theme-name}/ /map:transform Note that the number sequence (e.g. javascript#3, etc.) are crucial, I always made the mistake of not updating these numbers which in turn failed to import or link these files. Rebuild DSpace. If you're using chrome, always try to use the 'inspect element' feature and view the console, this well help you monitor and fix any errors that you might encounter. You can also add firebug if you are using firefox and view the console tab for any errors. Look for javascript errors (e.g. 'treeview is not a function') in the console, these could be one of the reasons that you can't get to work. I'm not a javascript expert but based from my experience, these errors were caused by jQuery conflicts (see my post about these, answered by helix: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg22855.html ). As suggested by dspace experts, it is highly recommended to create a new theme if you want to try theme customizations to avoid overwriting your customizations the next time you update/build your dspace. Please see this link: https://wiki.duraspace.org/pages/viewpage.action?pageId=19006130. Please cc dspace-tech in asking questions about technical details in dspace, I might not answer your query satisfactorily and someone from the list could advise or have a better solution. I can also be wrong and someone can correct that or point it out, an added advantage to all of us dspace users. ;-) And this will also help other users who may encounter the same problems. Cheers and Regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Controlled Vocabulary for XMLU
Hello Brian, You have to copy the contents of dspace-src\dspace-xmlui\src\main\resources\aspects\Submission (sitemap.xmap and submission.js) to dspace-src\dspace\modules\xmlui\src\main\resources\aspects\Submission. Then rebuild dspace. Please note that you have to create the corresponding directories under/below the dspace-src\dspace\modules before copying. You can use Firefox firebug or Chromes' console to check if there were any errors when you click the Subject categories link. Hope this helps. Cheers and regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Controlled Vocabulary for XMLU
Please also check your DSpace logs and if you have the correct dspace.url value in your dspace.cfg. I'm not so sure about copying of submission aspect but that's what I did. Using firebug's console really helped since it can also show you errors like javascript(jQuery) conflicts. On Thu, Jul 25, 2013 at 12:47 AM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, You have to copy the contents of dspace-src\dspace-xmlui\src\main\resources\aspects\Submission (sitemap.xmap and submission.js) to dspace-src\dspace\modules\xmlui\src\main\resources\aspects\Submission. Then rebuild dspace. Please note that you have to create the corresponding directories under/below the dspace-src\dspace\modules before copying. You can use Firefox firebug or Chromes' console to check if there were any errors when you click the Subject categories link. Hope this helps. Cheers and regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com| seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Controlled Vocabulary for XMLUI
Hello Brian, Please check your dspace.url in dspace.cfg. In my case, I made a mistake of not removing the trailing /xmlui. The value should be the same with dspace.baseUrl. Also check your dspace logs for more info. On Thu, Jul 25, 2013 at 9:52 AM, Brian Aljer B. Coballes bcobal...@ateneo.edu wrote: Hi Elvi, I did what you recommended but when I click the inspect the Subject Categories link, I got a 'Resource Not Found' error. On Thu, Jul 25, 2013 at 2:12 AM, Nemiz, Elvi esne...@seafdec.org.phwrote: Please also check your DSpace logs and if you have the correct dspace.url value in your dspace.cfg. I'm not so sure about copying of submission aspect but that's what I did. Using firebug's console really helped since it can also show you errors like javascript(jQuery) conflicts. On Thu, Jul 25, 2013 at 12:47 AM, Nemiz, Elvi esne...@seafdec.org.phwrote: Hello Brian, You have to copy the contents of dspace-src\dspace-xmlui\src\main\resources\aspects\Submission (sitemap.xmap and submission.js) to dspace-src\dspace\modules\xmlui\src\main\resources\aspects\Submission. Then rebuild dspace. Please note that you have to create the corresponding directories under/below the dspace-src\dspace\modules before copying. You can use Firefox firebug or Chromes' console to check if there were any errors when you click the Subject categories link. Hope this helps. Cheers and regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com| seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- *Brian Aljer B. Coballes Instructional Technology Center Ateneo de Manila High School Loyola Heights, Quezon City* *Philippines* * * *(063) 426-6001 loc. 6203 * * * *En todo amar y servir.* -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Best practice for adding javascript to avoid jQuery conflicts with other libraries?
Dear all, I would like to ask for any advice on how to add javascript and avoiding issues of jQuery conflicts. I've seen in some repositories using the jQuery.conflict() mode. I also noticed that some of these conflicts that I've encountered were fixed by rearranging the sequence of imported javascript in sitemap.xmap. What is the best way to add javascript and avoiding jQuery conflicts with other libraries in DSpace? Thanks in advance and cheers, -- Elvi -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] How to override the labels of itemDetailView-DIM?
Dear All, Hello, I would like to override the default labels in the full item record display. How would I change the template xsl:template match=dim:field mode=itemDetailView-DIM from: td class=label-cell xsl:value-of select=./@mdschema/ xsl:text./xsl:text xsl:value-of select=./@element/ xsl:if test=./@qualifier xsl:text./xsl:text xsl:value-of select=./@qualifier/ /xsl:if /td into: td class=label-cell message key=xmlui.dri2xhtml.METS-1.0.item-whateverLabelLabel/message /td I've seen some repositories displaying labels in the full item record page and not the default dc.element.qualifier. Thanks in advance and regards. -- Elvi -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Modified Breadcrumb Trail (How to open in new tab/link?)
Dear All, I have modified our breadcrumb trail to link to our main website. How can I modify this so that whenever I click on this link, it will open in a new window or tab? Below is the content of my modify-trail.xsl. ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:dri=http://di.tamu.edu/DRI/1.0/; xsl:template match=* xsl:copy xsl:copy-of select=@*/ xsl:apply-templates/ /xsl:copy /xsl:template xsl:template match=dri:pageMeta xsl:copy dri:trail target=http://www.our.website.org/; Our Main Website /dri:trail xsl:apply-templates/ /xsl:copy /xsl:template /xsl:stylesheet Thanks in advance, Elvi -- 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] Unsuccessful OAI Harvesting
Hello João, I placed the latest qdc.xsl that you send in our production server and I still can't harvest items from our repository although I did not receive any OAI errors when I checked the Harvesting tab from the control panel. Thanks and regards, Elvi On Fri, Jun 7, 2013 at 9:11 PM, João Melo jm...@lyncode.com wrote: Hi Elvi, the demo.dspace.org OAI Data provider also has this bug. I've requested your OAI interface http://repository.seafdec.org.ph/oai/request?verb=ListRecordsmetadataPrefix=qdc and it seems the XSL I sent you isn't in use. Are you sure you replaced at the right place? On 5 June 2013 17:27, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear João, I still got the same results. I followed step 1, submitted a sample item and after accepting it I changed the content source from standard dspace collection to harvesting. Restarted the OAI-PMH source and executed oai import clean-cache command. I wonder if this only affects dspace 3.x since I also got the same results if I changed the OAI Provider to http://demo.dspace.org/oai/request? On Thu, Jun 6, 2013 at 12:05 AM, João Melo jm...@lyncode.com wrote: *3rd step - Run the dspace oai clean-cache command On 5 June 2013 16:37, João Melo jm...@lyncode.com wrote: Elvi, try the following procedure: 1. Remove the OAI-PMH configuration from your collection, save it as a normal collection and then configure the OAI-PMH source again (so then it will run the process from the start). 2. Restart the OAI-PMH server - the server which is the OAI-PMH source (just restart/reload tomcat). The import command: The -c flag will remove all previously indexed records. It's not recommended to add this flag (it was made available only to manual use of the indexing operation - special ocasiation which must index everything again). On 5 June 2013 16:31, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hello João, I tested the qdc.xsl and harvesting is still unsuccessful. By the way, even if I selected simple dublin core or DIM as the Metadata format, I still got the Last Harvest Result: OAI server did not contain any updates, etc. Checking inside the /var/oai/requests directory, I still have the error code=noRecordsMatchNo matches for the query/error message. Also as noted by helix, how often should I run import oai -c if running it nightly is not recommended? Thanks for looking at this issue. Regards, Elvi On Wed, Jun 5, 2013 at 7:59 PM, João Melo jm...@lyncode.com wrote: Sending a new version with a tiny change (just for validation purposes). On 5 June 2013 12:50, João Melo jm...@lyncode.com wrote: Elvi, could you test the qdc.xsl sent in attachment? Replace the dspace/config/crosswalks/oai/metadataFormats/qdc.xsl file by this one. Thanks On 5 June 2013 12:29, João Melo jm...@lyncode.com wrote: Hi Elvi, from my analysis, the QDC crosswalk is expecting a root element named qualifieddc, in fact, the current DSpace OAI (service) doesn't exposes it. To fix this it's only required to change the qdc xslt crosswalk (configuration file). However, I'm going to take a deeper look at it, I think I am able to come up with a solution in few days. On 5 June 2013 10:44, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear All, I'm wondering if someone from dspace-tech list have actually harvested items from demo.dspace.org? Please see the end of this thread: http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif there's something I have missed. Also, I can't harvest from our production server to my test server. I am running a scheduled task of dspace oai import -c -o every night in our production server running dspace 3.0. I have a fresh install of dspace 3.1 for my test server and I have no luck harvesting from our production server. I am asking this because a collection administrator of another repository told me that their submitters were submitting items to their repository manually (this includes downloading our bitstreams and uploading them which can easily be done by setting Harvesting Options to Harvest metadata and references to bitstreams). So I advised her to just harvest content from our repository via OAI and now I found out that I can't even harvest from our own repository. If someone can test harvest our repository, please inform me if you are successful and what steps do I have to take to harvest successfully. Please also advice what configurations do I have to set to our production server so that our content can be harvested successfully. Here's our repository's specific sets: http://repository.seafdec.org.ph/oai/request?verb=ListSets. Thanks in advance and regards, elvi -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg
Re: [Dspace-tech] Unsuccessful OAI Harvesting
Hello João, I did not apply the qdc.xl that you sent in our production server but I have it tested in my local server and I did the harvesting from another dspace instance running in virtual machine. I also noticed that I successfully harvested items from demo.dspace if I selected All sets instead of Specific sets. On Fri, Jun 7, 2013 at 9:11 PM, João Melo jm...@lyncode.com wrote: Hi Elvi, the demo.dspace.org OAI Data provider also has this bug. I've requested your OAI interface http://repository.seafdec.org.ph/oai/request?verb=ListRecordsmetadataPrefix=qdc and it seems the XSL I sent you isn't in use. Are you sure you replaced at the right place? On 5 June 2013 17:27, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear João, I still got the same results. I followed step 1, submitted a sample item and after accepting it I changed the content source from standard dspace collection to harvesting. Restarted the OAI-PMH source and executed oai import clean-cache command. I wonder if this only affects dspace 3.x since I also got the same results if I changed the OAI Provider to http://demo.dspace.org/oai/request? On Thu, Jun 6, 2013 at 12:05 AM, João Melo jm...@lyncode.com wrote: *3rd step - Run the dspace oai clean-cache command On 5 June 2013 16:37, João Melo jm...@lyncode.com wrote: Elvi, try the following procedure: 1. Remove the OAI-PMH configuration from your collection, save it as a normal collection and then configure the OAI-PMH source again (so then it will run the process from the start). 2. Restart the OAI-PMH server - the server which is the OAI-PMH source (just restart/reload tomcat). The import command: The -c flag will remove all previously indexed records. It's not recommended to add this flag (it was made available only to manual use of the indexing operation - special ocasiation which must index everything again). On 5 June 2013 16:31, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hello João, I tested the qdc.xsl and harvesting is still unsuccessful. By the way, even if I selected simple dublin core or DIM as the Metadata format, I still got the Last Harvest Result: OAI server did not contain any updates, etc. Checking inside the /var/oai/requests directory, I still have the error code=noRecordsMatchNo matches for the query/error message. Also as noted by helix, how often should I run import oai -c if running it nightly is not recommended? Thanks for looking at this issue. Regards, Elvi On Wed, Jun 5, 2013 at 7:59 PM, João Melo jm...@lyncode.com wrote: Sending a new version with a tiny change (just for validation purposes). On 5 June 2013 12:50, João Melo jm...@lyncode.com wrote: Elvi, could you test the qdc.xsl sent in attachment? Replace the dspace/config/crosswalks/oai/metadataFormats/qdc.xsl file by this one. Thanks On 5 June 2013 12:29, João Melo jm...@lyncode.com wrote: Hi Elvi, from my analysis, the QDC crosswalk is expecting a root element named qualifieddc, in fact, the current DSpace OAI (service) doesn't exposes it. To fix this it's only required to change the qdc xslt crosswalk (configuration file). However, I'm going to take a deeper look at it, I think I am able to come up with a solution in few days. On 5 June 2013 10:44, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear All, I'm wondering if someone from dspace-tech list have actually harvested items from demo.dspace.org? Please see the end of this thread: http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif there's something I have missed. Also, I can't harvest from our production server to my test server. I am running a scheduled task of dspace oai import -c -o every night in our production server running dspace 3.0. I have a fresh install of dspace 3.1 for my test server and I have no luck harvesting from our production server. I am asking this because a collection administrator of another repository told me that their submitters were submitting items to their repository manually (this includes downloading our bitstreams and uploading them which can easily be done by setting Harvesting Options to Harvest metadata and references to bitstreams). So I advised her to just harvest content from our repository via OAI and now I found out that I can't even harvest from our own repository. If someone can test harvest our repository, please inform me if you are successful and what steps do I have to take to harvest successfully. Please also advice what configurations do I have to set to our production server so that our content can be harvested successfully. Here's our repository's specific sets: http://repository.seafdec.org.ph/oai/request?verb=ListSets. Thanks in advance and regards, elvi -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official websitehttp://www.google.com/url?q=http%3A%2F
[Dspace-tech] Unsuccessful OAI Harvesting
Dear All, I'm wondering if someone from dspace-tech list have actually harvested items from demo.dspace.org? Please see the end of this thread: http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif there's something I have missed. Also, I can't harvest from our production server to my test server. I am running a scheduled task of dspace oai import -c -o every night in our production server running dspace 3.0. I have a fresh install of dspace 3.1 for my test server and I have no luck harvesting from our production server. I am asking this because a collection administrator of another repository told me that their submitters were submitting items to their repository manually (this includes downloading our bitstreams and uploading them which can easily be done by setting Harvesting Options to Harvest metadata and references to bitstreams). So I advised her to just harvest content from our repository via OAI and now I found out that I can't even harvest from our own repository. If someone can test harvest our repository, please inform me if you are successful and what steps do I have to take to harvest successfully. Please also advice what configurations do I have to set to our production server so that our content can be harvested successfully. Here's our repository's specific sets: http://repository.seafdec.org.ph/oai/request?verb=ListSets. Thanks in advance and regards, elvi -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ 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] Unsuccessful OAI Harvesting
Hello João, I tested the qdc.xsl and harvesting is still unsuccessful. By the way, even if I selected simple dublin core or DIM as the Metadata format, I still got the Last Harvest Result: OAI server did not contain any updates, etc. Checking inside the /var/oai/requests directory, I still have the error code=noRecordsMatchNo matches for the query/error message. Also as noted by helix, how often should I run import oai -c if running it nightly is not recommended? Thanks for looking at this issue. Regards, Elvi On Wed, Jun 5, 2013 at 7:59 PM, João Melo jm...@lyncode.com wrote: Sending a new version with a tiny change (just for validation purposes). On 5 June 2013 12:50, João Melo jm...@lyncode.com wrote: Elvi, could you test the qdc.xsl sent in attachment? Replace the dspace/config/crosswalks/oai/metadataFormats/qdc.xsl file by this one. Thanks On 5 June 2013 12:29, João Melo jm...@lyncode.com wrote: Hi Elvi, from my analysis, the QDC crosswalk is expecting a root element named qualifieddc, in fact, the current DSpace OAI (service) doesn't exposes it. To fix this it's only required to change the qdc xslt crosswalk (configuration file). However, I'm going to take a deeper look at it, I think I am able to come up with a solution in few days. On 5 June 2013 10:44, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear All, I'm wondering if someone from dspace-tech list have actually harvested items from demo.dspace.org? Please see the end of this thread: http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4664539.htmlif there's something I have missed. Also, I can't harvest from our production server to my test server. I am running a scheduled task of dspace oai import -c -o every night in our production server running dspace 3.0. I have a fresh install of dspace 3.1 for my test server and I have no luck harvesting from our production server. I am asking this because a collection administrator of another repository told me that their submitters were submitting items to their repository manually (this includes downloading our bitstreams and uploading them which can easily be done by setting Harvesting Options to Harvest metadata and references to bitstreams). So I advised her to just harvest content from our repository via OAI and now I found out that I can't even harvest from our own repository. If someone can test harvest our repository, please inform me if you are successful and what steps do I have to take to harvest successfully. Please also advice what configurations do I have to set to our production server so that our content can be harvested successfully. Here's our repository's specific sets: http://repository.seafdec.org.ph/oai/request?verb=ListSets. Thanks in advance and regards, elvi -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ 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] Harvesting OAI-ORE via XMLUI interface (v2)
Hello helix, I did not set any restrictions whatsoever in our test server. I have set up a collection where *Content source*: This collection harvests its content from an external source. *Harvested Collection Location OAI Provider:* http://demo.dspace.org/oai/request. *OAI Set id: *com_10673_1 (also tried col_10673_2), *Metadata format:* Simple Dublin Core, *Harvesting Options Content being harvested: *Harvest metadata and references to bitstreams (requires ORE support). Clicking *Test Settings* returned *Harvesting settings are valid.* After clicking *Import Now* or *Reset and Reimport Collection*, the *Last Harvest Result:* OAI server did not contain any updates on -MM-DD.. and *Current harvest status: *Collection ready for harvest *BUT *no items show up in the collection. I have tried harvesting from other DSpace instances listed on https://wiki.duraspace.org/display/DSPACE/OaiInstallations and I have successfully harvested items from their repository. I don't know if there are other configurations to set? Regards, Elvi On Mon, Jun 3, 2013 at 3:48 PM, helix84 heli...@centrum.sk wrote: On Sat, Jun 1, 2013 at 4:56 AM, Nemiz, Elvi esne...@seafdec.org.ph wrote: I tried harvesting from demo.dspace.org and I also got the same error. I successfully harvested content from http://scholar.sun.ac.za/ although the identifier is broken. Hi Elvi, OAI on demo works for me (listing the full contents without restrictions), worked for me even when you sent your email. What exact query did you use? I assume you used some time period restriction because that's what the known issue is about. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ 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] Harvesting OAI-ORE via XMLUI interface (v2)
Hello Robert, After reading your message in http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4658480.html, I'm wondering if someone offered you a solution and solved your problem? We are having the same problem but in my case, I'm trying to harvest from our production server to my test server. I checked inside the /var/oai/requests from our production server and found the error No matches for the query but when I go to the DSpace OAI-PMH Data Provider Interface, it actually fetched records. I wonder if there's a configuration in oai.cfg that I missed. I tried helix's suggestion of uncommenting ore.authoritative.source = oai and adding dspace.oai.uri but I'm still having the Last Harvest Result: Error occured while generating an OAI response... error. Hope you can help me if you have fixed this error or someone from dspace-tech mailing list have a solution. We are running dspace 3.0 and our OAI base url is http://repository.seafdec.org.ph/oai/request. Thanks in advance and regards, elvi -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ 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] Harvesting OAI-ORE via XMLUI interface (v2)
Dear All, I tried harvesting from demo.dspace.org and I also got the same error. I successfully harvested content from http://scholar.sun.ac.za/ although the identifier is broken. For your info. Thanks and regards, elvi On Sat, Jun 1, 2013 at 10:36 AM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Hello Robert, After reading your message in http://dspace.2283337.n4.nabble.com/Harvesting-OAI-ORE-via-XMLUI-interface-v2-td4658480.html, I'm wondering if someone offered you a solution and solved your problem? We are having the same problem but in my case, I'm trying to harvest from our production server to my test server. I checked inside the /var/oai/requests from our production server and found the error No matches for the query but when I go to the DSpace OAI-PMH Data Provider Interface, it actually fetched records. I wonder if there's a configuration in oai.cfg that I missed. I tried helix's suggestion of uncommenting ore.authoritative.source = oai and adding dspace.oai.uri but I'm still having the Last Harvest Result: Error occured while generating an OAI response... error. Hope you can help me if you have fixed this error or someone from dspace-tech mailing list have a solution. We are running dspace 3.0 and our OAI base url is http://repository.seafdec.org.ph/oai/request. Thanks in advance and regards, elvi -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ 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] Syntax for oai harvesting
Dear All, I am receiving an error when running PING OAI from the command line Error - both the OAI server address and OAI set id must be specified. What is the correct syntax of oai_source and oai_set_id when running Harvest -g -s oai_source -i oai_set_id? It's not mentioned in the documentation or I may have missed reading that part. ;-) Thanks and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1___ 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 as an authority control for authors
Hello helix, Thanks for your response. I would like to know if how can I make our repository as an authority file, specifically I want to use SampleAuthority plugin to lookup to existing names with authority. If it's not that complicated, where would I put your suggested sql query in SampleAuthority.java if ever I want to use it as the basis for my name authority plugin? Thanks in advance and regards, Elvi On Thu, Jan 3, 2013 at 10:57 PM, helix84 heli...@centrum.sk wrote: On Fri, Dec 28, 2012 at 7:40 AM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Previously I used LCName authority plugin to lookup and to make the authors authority-controlled. I edited some authority keys since it shows up in sidebar facets and browse by authors pages. If I don't want to use LCName plugin anymore, and instead want to lookup to existing authors that have already an authority key, how can I achieve this? Did anybody somehow modified the existing SampleAuthority plugin to get it to lookup existing values from the DSpace database? Would it still be possible if I'm using SolrBrowseDAO in my Browse Configuration instead of the default? I'm using dspace 3.0, xmlui with discovery enabled. Thanks in advance. Hi Elvi, you could do this: SELECT * FROM metadatavalueWHERE authority IS NOT NULL or if you want to leave out duplicate authors, do this: SELECT DISTINCT authority, confidence, text_value FROM metadatavalueWHERE authority IS NOT NULL Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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 as an authority control for authors
Dear all, Previously I used LCName authority plugin to lookup and to make the authors authority-controlled. I edited some authority keys since it shows up in sidebar facets and browse by authors pages. If I don't want to use LCName plugin anymore, and instead want to lookup to existing authors that have already an authority key, how can I achieve this? Did anybody somehow modified the existing SampleAuthority plugin to get it to lookup existing values from the DSpace database? Would it still be possible if I'm using SolrBrowseDAO in my Browse Configuration instead of the default? I'm using dspace 3.0, xmlui with discovery enabled. Thanks in advance. Regards, Elvi S. Nemiz -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ 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] Meta-tags for Google scholar
Dear helix, I think not all meta tags used in Google Scholar were included in GoogleMetadata.java. I managed to add citation_conference_title and it did showed up in the item's metadata after I rebuild DSpace while it failed to load citation_inbook_title. Attached is my modified GoogleMetadata.java, I might be missing something. Thanks and regards, Elvi On Fri, Nov 23, 2012 at 12:00 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote: Dear all, I would like to ask how to include other meta tags used in Google Scholar e.g. citation_inbook_title and citation_conference_title. I edited our google-metadata.properties for Google scholar mapping adding google.citation_inbook_title = dc.relation.ispartof and google.citation_conference_title = dc.citation.conferenceTitle but the mapping doesn't seem to appear in the html meta tags. Please see the HTML source of this link: http://link.springer.com/chapter/10.1007/978-1-4020-6810-2_5 and you can clearly see that there's a meta tag for citation_inbook_title. I have also noticed that citation_conference_title does not show up in the meta tags while citation_conference did. Please see example item: http://repository.seafdec.org.ph/handle/10862/879?show=full and view the HTML source or if you're using firefox, just right click and click View Page Info to view the Meta tags. My main purpose for this query is to make our repository more visible to Google scholar and more 'zotero-friendly' or friendly to other reference management software that manages bibliographic data and related research materials. P.S. This article could shed some light on the visibility of IRs in Google Scholar: http://dx.doi.org/10.1108/07378831211213210 Thanks in advance. Elvi S. Nemiz On Fri, Nov 23, 2012 at 6:31 PM, helix84 heli...@centrum.sk wrote: On Fri, Nov 23, 2012 at 10:46 AM, helix84 heli...@centrum.sk wrote: I checked demo.dspace.org and it doesn't show the mappings in HTML meta tags, either, while the functionality is enabled in configuration. So either we're misunderstanding the functionality or you found a bug. Only to clarify - ignore this, I wasn't looking at an item page. The metadata is correctly displayed on demo.dspace.org in both XMLUI and JSPUI. Check whether your configuration really points to the crosswalks directory because the file location changed between 1.7 and 1.8. And after changing the configuration, don't forget to restart DSpace. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette GoogleMetadata.java Description: Binary data -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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] thumbnails in discovery search results does not link to the item
Dear all, I just tested a fresh install of dspace 3.0 and I noticed that if I clicked on the thumbnail beside the list results after a search or after I clicked a sidebar facet, it does not link to the item. I thought I have missed something during the installation but after I tested it on http://demo.dspace.org/xmlui/, the results are the same to my installation. Please advise. Thank you, Elvi S. Nemiz -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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] How to restore uncompleted Submissions (or those currently in an approval workflow) after restoring an entire site using restore/replace mode
Dear all, Reading the dspace documentation about exporting/restoring states that restoring the entire site will not include uncompleted submissions and those currently in an approval workflow while if you use submission mode, it will assign a new handle. If I plan to restore the entire site using the restore/replace mode, how can I backup the entire site so that I can later on restore the uncompleted submissions/approval workflow? I tried using the pg_dump of the database to restore the uncompleted submissions but it also restore the problem that I am encountering ( http://dspace.2283337.n4.nabble.com/Re-java-lang-StringIndexOutOfBoundsException-error-when-clicking-submissions-tp4655704.html). Please advise what steps I will take (like executing a sql script) to restore the submissions and approval workflow. I will be using dspace 3.0 to restore and the entire site and the backup files will come from dspace 1.8.2. Thanks in advance. Elvi S. Nemiz -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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] Meta-tags for Google scholar
Dear all, I would like to ask how to include other meta tags used in Google Scholar e.g. citation_inbook_title and citation_conference_title. I edited our google-metadata.properties for Google scholar mapping adding google.citation_inbook_title = dc.relation.ispartof and google.citation_conference_title = dc.citation.conferenceTitle but the mapping doesn't seem to appear in the html meta tags. Please see the HTML source of this link: http://link.springer.com/chapter/10.1007/978-1-4020-6810-2_5 and you can clearly see that there's a meta tag for citation_inbook_title. I have also noticed that citation_conference_title does not show up in the meta tags while citation_conference did. Please see example item: http://repository.seafdec.org.ph/handle/10862/879?show=full and view the HTML source or if you're using firefox, just right click and click View Page Info to view the Meta tags. My main purpose for this query is to make our repository more visible to Google scholar and more 'zotero-friendly' or friendly to other reference management software that manages bibliographic data and related research materials. P.S. This article could shed some light on the visibility of IRs in Google Scholar: http://dx.doi.org/10.1108/07378831211213210 Thanks in advance. Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Clarification about bitstream views
Dear all, I would like to clarify if the figures in the DSpace statistics Bitstream Views includes bitstreams which are automatically generated e.g. generated thumbnails and extracted text? Is there a way to just limit the bitstream views to Bundle: ORIGINAL? We have Google analytics but from what I understand, downloads are only tracked by GA if the user visited the item and clicked the pdf link and not if the user downloaded the pdf from search engines' results. Thanks in advance and cheers, Elvi -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Accent differences in discovery
Dear all, Hello, is it possible for discovery to ignore accents when searching? E.g., if I search for the word Nuñez, search results will return Nuñez and Nunez. We are using dspace 1.8.2. Thanks in advance. Cheers, Elvi -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How to show pdf icons or link to bitstream in item-list for items with full text using mirage?
Dear all, I wonder how can I add a clickable pdf icon which links to the pdf of the item in item-list/browse/search results just like in the theme Kubrick? I am using mirage as theme and Dspace 1.8.2. Hope somebody can share their experiences on how to accomplish this. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Extracted text showing in Google scholar search results instead of Bundle: ORIGINAL pdfs
Dear all, I am just wondering why a lot of extracted text from our items comes up when doing a google search instead of the Bundle: ORIGINAL which are all pdfs. Do I have to set manually the original bundle as the primary bitstream? Or is it already set as the default primary bundle if we only uploaded a single bitstream? Please check this search results http://scholar.google.com/scholar?start=0q=site:repository.seafdec.org.phhl=enas_sdt=0,5. I want our users to view or download the pdf and not the extracted text from Google scholar search results. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Add sort options (Discovery enabled)
Dear All, I would like to ask how to add additional fields to the default sort options if Discovery is enabled? The default sort options that we have are relevancy, Title, and Issue Date. I tried to edit /cofig/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml since this is where the configuration for sidebar facets for discovery can be found. I have added bean id=sortAuthor class=org.dspace.discovery.configuration.DiscoverySortFieldConfiguration property name=metadataField value=dc.contributor.author/ /bean in Sort properties and property name=sortFields list ref bean=sortTitle / ref bean=sortAuthor / ref bean=sortDateIssued / /list /property After restarting Tomcat, the sorting doesn't work. Please advice if I missed something. Also, I noticed that if sorting by Title, the default sort is not ignoring leading/initial articles like 'The, A, and An'. Is there some configuration in discovery that I have to change? Thanks in advance. Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Export Search Results Metadata in XMLUI
Dear all, Hello, I noticed that the jspui version of DSpace can export the metadata coming from search results. I wonder how could this be implemented using xmlui interface. This would be very useful for some batch editing later on where a simple edit/replace can be used when editing the csv file. We are using DSpace 1.8.2 with discovery enabled and Mirage as the base theme. Thanks in advance. Regards, Elvi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Lightbox effect without head, option and footer
Hello Helix, Thank you for your inputs, I have another question though, although I have made the header, footer and sidebar disappear, the space for the navigation bar is still taking up space. I tried this in the feedback page. How can I make the feedback page popup without the navbar taking-up space? While searching for a solution, I found this on dspace-tech archives http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg06852.html. Thanks and regards. On Tue, Aug 21, 2012 at 1:30 PM, helix84 heli...@centrum.sk wrote: On Tue, Aug 21, 2012 at 4:11 AM, Nemiz, Elvi S. esne...@seafdec.org.ph wrote: How can I render the dri:body in a lightbox effect without the head, option and footer? I have succeeded in creating the lightbox effect but I just want the body to show, without the header, navigation and footers. Hi Elvi, override these templates in your theme. Copy them over as they appear in your parent theme and wrap their contents in the xsl:if clause. xsl:template name=buildHeader xsl:if test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request' and @qualifier='queryString'] = 'content-only' !-- put the original contents of this template here -- /xsl:if /xsl:template xsl:template name=buildFooter xsl:if test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request' and @qualifier='queryString'] = 'content-only' !-- put the original contents of this template here -- /xsl:if /xsl:template xsl:template match=dri:options xsl:if test=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request' and @qualifier='queryString'] = 'content-only' !-- put the original contents of this template here -- /xsl:if /xsl:template Now you should be able to access the modified page by calling: http://example.com/handle/123456789/123?content-only Regards, ~~helix84 -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Lightbox effect without head, option and footer
Hello, How can I render the dri:body in a lightbox effect without the head, option and footer? I have succeeded in creating the lightbox effect but I just want the body to show, without the header, navigation and footers. Thanks in advance and regards. -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Feedback Tab
Dear All, I'm very interested on how to apply the Feedback Tab found in the DSpace Demo site. Can anyone share the code? I'm referring to the little floating tab named Provide Feedback which is located at the right side of the page. Thanks in advance. Regards,-- Elvi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Adding QR-code to a cover page
Dear Keiji, I have actually added the QR-code in the cover page by using the parameter coverpage.logo2 in dspace.cfg. I am using Google Chart API ( https://developers.google.com/chart/infographics/docs/qr_codes) to generate the QR-code but I am only limited to set the QR code for the base URL of our repository. Is it possible to add QR-code on-the-fly on the cover page grabbing the URI of the item? Right now I just set coverpage.logo2 = http://chart.apis.google.com/chart?cht=qrchs=150x150chl=http://repository.seafdec.org.phchld=H|0and it did generate the QR-code in the cover page but the QR-code is for our base URL http://repository.seafdec.org.ph only. Our supervisor wanted to generate the QR-code of the item in the cover page of every pdf file downloaded e.g. for the item http://repository.seafdec.org.ph/handle/10862/863, the QR-code should be generated on the fly with a URL GET request http://chart.apis.google.com/chart?cht=qrchs=150x150chl=http://repository.seafdec.org.ph/handle/10862/863chld=H|0. Hope I am clear with what I want to achieve and hoping that it is not that difficult to implement. I am worried that I will messed up the code in coverpage.java as I am not really a java programmer. Thank you so much for your help. Regards, Elvi On Thu, Nov 24, 2011 at 4:04 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Elvi, Hello Keiji, thank you so much for the patch. Sorry for posting another question;-) I just noticed that the cover page font size were all 12 (header, footer, date) if I set the coverpage.pdfa = true. I've seen that you've set the font size for header to 15 as seen in this code: protected static final Font FONT_HEADER = (pdfa ? FONT_EMBED : setFont(FONT_SANS, Font.FontFamily.HELVETICA, 15, Font.NORMAL)); Attached the new CoverPage.java that is customized to your environment. It removed CJK fonts, changed sans and sans serif fonts to embed fonts and enabled these embed fonts to use header-font, tag-font and so on. You have to set sans and sans serif fonts as embed fonts in dspace.cfg as follows. coverpage.font.sans = fonts/arial.ttf,US-ASCII coverpage.font.serif = fonts/another.ttf,US-ASCII The coverpage.font.embed and coverpage.font.cjk.* properties were removed. Another thing is how can you set the logo above the header text? I had tried to realize this, but I couldn't. If you would like to setthe logo above the header text, I think you can use the following steps instead. 1. Set coverpage.logo property and unset coverpage.header in dspace.cfg 2. Hard coding the header text in the program. Consult the lines 477-483 in the new CoverPage.java 3. Rebuild DSpace. You can change the contents of the page freely according to your environment. Please consult the book iText in action for details. Thank you, Keiji Suzuki Ebetsu, Japan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] How to obtain or derive authority keys?
Dear DSpace-Tech List, I have customized our item-view.xsl to make the authors clickable and I started using LC Naming Authority. My problem is that clicking the link for the authors with an authority key will return Sorry, there are no results for this browse. since the code to make the authors clickable appends the URL /browse?value=[name of author]type=author instead of /browse?authority=[authority key of author]type=author. How can I obtain the authority keys for authors like those generated by Browse by author pages? Below is a snippet of the code from my item-view.xsl. Please advise what part of the code should I change/add. xsl:when test=dim:field[@element='contributor'][@qualifier='author'] xsl:for-each select=dim:field[@element='contributor'][@qualifier='author'] xsl:if test=@authority xsl:attribute name=classxsl:textds-dc_contributor_author-authority/xsl:text/xsl:attribute /xsl:if a xsl:attribute name=href xsl:value-of select=concat($context-path,'/browse?value=')/ xsl:copy-of select=./amp;type=author /xsl:attribute xsl:value-of select=text()/ /a xsl:if test=count(following-sibling::dim:field[@element='contributor'][@qualifier='author']) != 0 xsl:text; /xsl:text /xsl:if /xsl:for-each /xsl:when Also, David Chandek mailed dspace-tech list about Browsing by Author with authority keys, http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg15108.html. I wonder if there's a way to show the authorized heading instead of showing the authority key in the browse list. I found out that other repositories have the same scenario after googling. Ex. http://scholar.sun.ac.za/browse?authority=no2010094603type=author and http://dl.nsf.ac.lk/browse?type=authorauthority=n++7505. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Google Scholar Metadata Mappings (citation_journal_title not included in HTML head tag)
Hello Sands Fish, Attached is our google-metadata.properties. Thank you. On Sun, Jun 3, 2012 at 9:32 PM, Sands Alden Fish sa...@mit.edu wrote: Elvi, Would you mind including your google-metadata.properties file as well? -- sands fish Senior Software Engineer MIT Libraries Technology Research Development sa...@mit.edu E25-131 On Jun 3, 2012, at 12:12 AM, Nemiz, Elvi S. wrote: Hello, I have created a non-standard tags dc.citation.journalTitle, dc.citation.volume, dc.citation.issue, dc.citation.spage (start page), and dc.citation.epage (end page) which were mapped in google-metadata.properties to citation_journal_title, citation_volume, citation_issue, citation_firstpage, and citation_lastpage respectively. All the meta-tags are included in the HTML head tag except citation_journal_title. Please see this link as an example: http://repository.seafdec.org.ph/handle/10862/32?show=full. Please advise if I am missing something. Thanks in advance. Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines google-metadata.properties Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] XSL override in Contact.java
Hello, Is there a way to override the Contact.java page without having to rebuild dspace just like in adding static pages where you can use XSL overrides on top of StaticPage.java? I would like to edit or to add something to the Contact Us and Feedback page. We are using DSpace v. 1.8 and Mirage as our theme. Thanks in advance and regards. Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Google Scholar Metadata Mappings (citation_journal_title not included in HTML head tag)
Hello, I have created a non-standard tags dc.citation.journalTitle, dc.citation.volume, dc.citation.issue, dc.citation.spage (start page), and dc.citation.epage (end page) which were mapped in google-metadata.properties to citation_journal_title, citation_volume, citation_issue, citation_firstpage, and citation_lastpage respectively. All the meta-tags are included in the HTML head tag except citation_journal_title. Please see this link as an example: http://repository.seafdec.org.ph/handle/10862/32?show=full. Please advise if I am missing something. Thanks in advance. Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changing the search boolean operator
Hello David, In your schema.xml inside the dspace/solr/search/conf/ directory, look for the line solrQueryParser defaultOperator=OR/, change OR to AND and then restart tomcat. Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.phhttp://opac.seafdec.org.ph/common/welcome.jsp?site=100 [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlibraryhttp://gplus.to/seafdecaqdlib -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] xmlui.theme.mirage.item-list.emphasis using both file and metadata
Dear DSpacers, I am resending this query hoping that someone out there have implemented this. Another user actually contacted with me with similar query. I noticed that there is only one configuration for xmlui.theme.mirage.item-list in dspace.cfg and I want to use both file and metadata in different communities/collections using mirage as our base theme. Hoping for a positive response and thank you in advance. Regards, Elvi On Fri, Jan 13, 2012 at 11:08 AM, Nemiz, Elvi S. esne...@seafdec.org.phwrote: Dear all, How can I use both metadata and file for specific communities/collections? I.e., I would like to use xmlui.theme.mirage.item-list.emphasis=metadata for collections composed of journal articles while xmlui.theme.mirage.item-list.emphasis=file for communities/collections composed of images, brochures, flyers? Thanks in advance and regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] xmlui.theme.mirage.item-list.emphasis
Dear all, How can I use both metadata and file for specific communities/collections? I.e., I would like to use xmlui.theme.mirage.item-list.emphasis=metadata for collections composed of journal articles while xmlui.theme.mirage.item-list.emphasis=file for communities/collections composed of images, brochures, flyers? Thanks in advance and regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Subscription of RSS feeds based on search query
Dear all, I'm wondering if it is possible to have links to RSS feeds based on the users search query? This would be very useful if our users only wanted specific items showing up in their RSS readers/aggregators based on the keywords they used in their search query. It would be great if it will work with discovery enabled. Thanks and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.8.0 - problem with XMLUI Mirage
Hello Rob, If you enabled discovery, try to set the recent submissions in your dspace.cfg to 0. Regards, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff
Dear Keiji, Thank you so much for pointing that out. I applied the patch to /viewArtifacts/Navigation.java and it worked! Although I'm wondering why it is still using messages.xml even if I choose Japanese in the language selector. I tried with other languages (in fact I tried all the included messages_.xml) and only German, Spanish, Italian, Catalan and Czech are working. All included locales are working in jspui though I know it is not using the messages_.xml. Please advise what I'm missing. Thank you again for all the help. Regards, Elvi P.S. Where can I find other languages especially Asian languages like Thai? (messages_th.xml) 2011/12/7 SUZUKI Keiji z...@mbc.ocn.ne.jp Hi Elvi, The first patch in the i18nBasicsForXmuli.patch of DS-842 is for dspace-xmlui/dspace-xmlui-api/src/main/java/ org/dspace/app/xmlui/aspect/artifactbrowser/Navigation.java From DSpace1.7.0, ArtifactBrowser is deprecated and ViewArtifacts is used instead. Maybe you have to apply this patch to dspace-xmlui/dspace-xmlui-api/src/main/java/ org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java Keiji Suzuki Ebetsu, Japan 2011/12/7 Nemiz, Elvi S. esne...@seafdec.org.ph: Hello Dspace users, The language switch is working in jspui by the way. I don't know why it is not working in xmlui. Thanks and regards, Elvi 2011/12/7 bodnar_rob...@bcucluj.ro Dear Robert, After applying the patches found in https://jira.duraspace.org/browse/DS-842, I think the supposedly language selector is not showing up because there is no metadata element=page qualifier=supportedLocale even though I have added de, ja in webui.supported.locales and xmlui.supported.locales in dspace.cfg. I don't know what causes this and maybe the language selector is not showing because of this test in page-structure.xsl: !-- Display a language selection if more than 1 language is supported -- xsl:if test=count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale']) gt; 1 I also tried to viewed your raw DRI of your repository by inserting /DRI/ after xmlui and your repository don't have supportedLocale either. I really appreciate your suggestion of implementing links and appending ?local-attribute=[language] but this won't work if the url string has ?. Thank you for your help and hope someone can take a view on this. Regards, Elvi Dear Elvi, Thank you for your email. Unfortunately I`m only a librarian not a programmer, so my knowledge is very limited regarding this:( I did not thought about links with question marks... Might Dspace contain this kind of links? Anyway, our default interface is JSPUI for now... I tried a couple of times to ask the same question as you on the list, but noone really give any solution. I hope you can find a good solution for this. Have a nice day! B. Robert -- 鈴木敬二@江別市 -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff
Hello Keiji, Thank you once again for pointing that out. By the way, to what directory in the dspace-src will I copy the edited messages.xml so that it will not be overwritten if I rebuild Dspace? Thanks and regards, Elvi On Thu, Dec 8, 2011 at 8:54 AM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Elvi, Although I'm wondering why it is still using messages.xml even if I choose Japanese in the language selector. I tried with other languages (in fact I tried all the included messages_.xml) and only German, Spanish, Italian, Catalan and Czech are working. All included locales are working in jspui though I know it is not using the messages_.xml. Please advise what I'm missing. Because there is a bug in messages_ja.xml at the repository. Replace the first line of the DSPACE-INSTALL-DIR/webapps/xmlui/i18n/messages_ja.xml from ?xml version=1.0 encoding=UTF-8? to ?xml version=1.0 encoding=UTF-8? To Claudia, could you correct this in the repository? Thanks, Keiji Suzuki Ebetsu, Japan -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff
Dear Robert, After applying the patches found in https://jira.duraspace.org/browse/DS-842, I think the supposedly language selector is not showing up because there is no metadata element=page qualifier=supportedLocale even though I have added de, ja in webui.supported.locales and xmlui.supported.locales in dspace.cfg. I don't know what causes this and maybe the language selector is not showing because of this test in page-structure.xsl: !-- Display a language selection if more than 1 language is supported -- xsl:if test=count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale']) gt; 1 I also tried to viewed your raw DRI of your repository by inserting /DRI/ after xmlui and your repository don't have supportedLocale either. I really appreciate your suggestion of implementing links and appending ?local-attribute=[language] but this won't work if the url string has ?. Thank you for your help and hope someone can take a view on this. Regards, Elvi 2011/12/6 bodnar_rob...@bcucluj.ro Dear Dr. Andrea, After reading https://jira.duraspace.org/browse/DS-842, I tried to apply the patches and I can't make it work. I am hoping and would like to ask if you have successfully resolved adding locale selector and how? Keiji Suzuki from Japan have successfully implemented these (http://zuki-ebetsu.jp/xmlui/) and I also contacted him for some info. Hoping for a positive response and thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Dear Mr. Nezmiz, although we use the the JSPUI, I tried to implement this patch to the XMLUI, and I think it was successful. I send you the steps I followed (originally written by mr.helix84), maybe it will help you. Its very simple and I hope it will work for you too: 1. put the i18nBasicsForXmlui.patch in the [dspace-source] directory 2. navigate there and run: patch -p0 i18nBasicsForXmlui.patch 3. rebuild (mvn) and update (ant update) the installation I could not make the mirage patch work, so I simply implemented some links with the endings specific for the language I would like to use. Ex. for German : ...?locale-attribute=de Probably it is not the best way to do this, but it works :) You can see our DSpace installation here: http://dspace.bcucluj.ro/xmlui Please note that this is NOT our main interface, I just tried some things here, like the language selection or Discovery, and we still have some errors in the HTML code. Greetings from Romania, Bodnar Robert librarian -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research information of the department Search our library collection http://opac.seafdec.org.ph/wx [SEAFDEC/AQD Library Online Public Access Catalog] Questions? Ask a Librarian! Email: libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com | seafdecaqdlibr...@gmail.com Chat:[Google Talk] seafdecaqdlibrary | libr...@seafdec.org.ph [Yahoo Messenger]seafdecaqdlibrary Call: 63 33 5119170, 63 33 5119171 local 409 and 413 Visit: Library, SEAFDEC Aquaculture Department, Tigbauan, Iloilo, Philippines Like us on Facebook facebook.com/seafdecaqdlibhttp://www.facebook.com/seafdecaqdlib Follow us on Twitter: twitter.com/seafdecaqdlibhttp://ww.twitter.com/seafdecaqdlib Follow us on Google +: gplus.to/seafdecaqdlib -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff
Hello Dspace users, The language switch is working in jspui by the way. I don't know why it is not working in xmlui. Thanks and regards, Elvi 2011/12/7 bodnar_rob...@bcucluj.ro Dear Robert, After applying the patches found in https://jira.duraspace.org/browse/DS-842, I think the supposedly language selector is not showing up because there is no metadata element=page qualifier=supportedLocale even though I have added de, ja in webui.supported.locales and xmlui.supported.locales in dspace.cfg. I don't know what causes this and maybe the language selector is not showing because of this test in page-structure.xsl: !-- Display a language selection if more than 1 language is supported -- xsl:if test=count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale']) gt; 1 I also tried to viewed your raw DRI of your repository by inserting /DRI/ after xmlui and your repository don't have supportedLocale either. I really appreciate your suggestion of implementing links and appending ?local-attribute=[language] but this won't work if the url string has ?. Thank you for your help and hope someone can take a view on this. Regards, Elvi Dear Elvi, Thank you for your email. Unfortunately I`m only a librarian not a programmer, so my knowledge is very limited regarding this:( I did not thought about links with question marks... Might Dspace contain this kind of links? Anyway, our default interface is JSPUI for now... I tried a couple of times to ask the same question as you on the list, but noone really give any solution. I hope you can find a good solution for this. Have a nice day! B. Robert -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Language switch for xmlui and some basic i18n stuff
Dear Dr. Andrea, After reading https://jira.duraspace.org/browse/DS-842, I tried to apply the patches and I can't make it work. I am hoping and would like to ask if you have successfully resolved adding locale selector and how? Keiji Suzuki from Japan have successfully implemented these (http://zuki-ebetsu.jp/xmlui/) and I also contacted him for some info. Hoping for a positive response and thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] switching locales
Dear Keiji, Hello again. I just wanted to ask your help regarding the switching of interface language. I've seen that you have implemented it in your repository (http://zuki-ebetsu.jp/xmlui/). I tried to apply the patches found at https://jira.duraspace.org/browse/DS-842 but I am unable to display the language selection. I would be very grateful if you can show us the steps how you enabled that feature. I've searched in the dspace-tech mailing list and jira.duraspace and tried the solutions/patches there ( https://jira.duraspace.org/browse/DS-332, http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg05770.html) but I can't make it work. Thanks in advance and more power to you and the rest of the DSpace team who devote their time creating features like this one. Sincerly, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results
Dear Yin, Thank you for your reply. I just moved the trail aspect to the last place of the aspect section and it worked! Thank you! Sincerely, Elvi On Fri, Dec 2, 2011 at 5:08 AM, Yin Yin Latt y.l...@auckland.ac.nz wrote: Hi ** ** I have attached the modify-trail.xsl. ** ** I am still referring to http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf ** ** (Slide 20 – 23) ** ** And the final step for adding aspect name=Trail path=resource://aspects/Trail/ / in xmlui.conf ** ** The order of aspect is important and you need to place Trail aspect at Last place of aspect section. So, Trial can display in every page. ** ** Cheers, Yin Yin ** ** ** ** ** ** *From:* Nemiz, Elvi S. [mailto:esne...@seafdec.org.ph] *Sent:* Thursday, 1 December 2011 6:06 p.m. *To:* dspace-tech@lists.sourceforge.net *Cc:* Yin Yin Latt *Subject:* [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results ** ** From: *Nemiz, Elvi S.* esne...@seafdec.org.ph Date: Thu, Dec 1, 2011 at 10:59 AM Subject: Re: [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results To: Brian Freels-Stendel bfre...@unm.edu Hello Brian, Below is the contents of my modify-trail.xsl. Please advise what template should I add aside from xsl:template match=dri:pageMeta?. ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:dri=http://di.tamu.edu/DRI/1.0/; xsl:template match=* xsl:copy xsl:copy-of select=@*/ dri:trail target=http://www.seafdec.org.ph/ AQD Home /dri:trail xsl:apply-templates/ /xsl:copy /xsl:template xsl:template match=dri:pageMeta xsl:copy xsl:copy-of select=@*/ dri:trail target=http://www.seafdec.org.ph/ AQD Home /dri:trail xsl:apply-templates/ /xsl:copy /xsl:template /xsl:stylesheet Thanks in advance. Elvi On Tue, Nov 29, 2011 at 11:36 PM, Brian Freels-Stendel bfre...@unm.edu wrote: Hi Elvi, I had this problem when I had to implement a modified trail. I believe I had failed to copy one of the xsl:apply-templates/ in the modify-trail.xsl file. It's easy to drop a line. B-- On 11/29/2011 at 12:31 AM, in message caarcektys_sdp6ohfjm9ecsmcu_anfm7gg6xyioagvoeg1t...@mail.gmail.com, Nemiz, Elvi S. esne...@seafdec.org.ph wrote: Dear all, I successfully modified the breadcrumb trail to link to our institution's homepage by following the instructions here: http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf#page=18but I noticed that the DSpace Home link is not showing in search results, only the added link. How can I make the breadcrumb trail in search results show Home -- DSpace Home and not just Home? Anybody who have the same issue? We are using xmlui. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results
From: Nemiz, Elvi S. esne...@seafdec.org.ph Date: Thu, Dec 1, 2011 at 10:59 AM Subject: Re: [Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results To: Brian Freels-Stendel bfre...@unm.edu Hello Brian, Below is the contents of my modify-trail.xsl. Please advise what template should I add aside from xsl:template match=dri:pageMeta?. ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:dri=http://di.tamu.edu/DRI/1.0/; xsl:template match=* xsl:copy xsl:copy-of select=@*/ dri:trail target=http://www.seafdec.org.ph/; AQD Home /dri:trail xsl:apply-templates/ /xsl:copy /xsl:template xsl:template match=dri:pageMeta xsl:copy xsl:copy-of select=@*/ dri:trail target=http://www.seafdec.org.ph/; AQD Home /dri:trail xsl:apply-templates/ /xsl:copy /xsl:template /xsl:stylesheet Thanks in advance. Elvi On Tue, Nov 29, 2011 at 11:36 PM, Brian Freels-Stendel bfre...@unm.eduwrote: Hi Elvi, I had this problem when I had to implement a modified trail. I believe I had failed to copy one of the xsl:apply-templates/ in the modify-trail.xsl file. It's easy to drop a line. B-- On 11/29/2011 at 12:31 AM, in message caarcektys_sdp6ohfjm9ecsmcu_anfm7gg6xyioagvoeg1t...@mail.gmail.com, Nemiz, Elvi S. esne...@seafdec.org.ph wrote: Dear all, I successfully modified the breadcrumb trail to link to our institution's homepage by following the instructions here: http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf#page=18but I noticed that the DSpace Home link is not showing in search results, only the added link. How can I make the breadcrumb trail in search results show Home -- DSpace Home and not just Home? Anybody who have the same issue? We are using xmlui. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace Home gone after modifying breadcrumb trail in search results
Dear all, I successfully modified the breadcrumb trail to link to our institution's homepage by following the instructions here: http://pubs.or08.ecs.soton.ac.uk/135/2/OR2008-DSpace-1_5.pdf#page=18 but I noticed that the DSpace Home link is not showing in search results, only the added link. How can I make the breadcrumb trail in search results show Home -- DSpace Home and not just Home? Anybody who have the same issue? We are using xmlui. Thanks in advance and regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] adding a cover page to a PDF file
Dear Keiji, Thank you for the CoverPage.java that you sent earlier. I can't seem to embed the font specified in the coverpage.font.embed parameter. In your sample configuration in dspace.cfg, it is stated to set the path of the font relative to DSPACE-SRC/dspace/modules/cover/src/main/resources. I tried the font arial and copied it inside the /resources folder and set the coverpage.font.embed = arial.ttf,ANSI. I also set the coverpage.font.sans = Arial,ANSI but everytime I download the pdf, it is still using the unembedded Helvetica font. Please advise if I missed something. I also tried to put the complete path of the font in coverpage.font.embed but it is still using the helvetica font. I then tried to download the helvetica font and put it inside the resources folder but after I download the pdf and verify (using Acrobat's preflight) if it is pdf/a compliant, it shows that the helvetica font is not embedded. Thank you so much for your help.. Sincerely, Elvi On Tue, Nov 15, 2011 at 2:01 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Elvi, I am sorry, I had forgotten to delete lines that are need for my environment only. I attach a revised code without these lines. Thank you. Keiji Suzuki Ebetsu, Japan 2011/11/15 Nemiz, Elvi S. esne...@seafdec.org.ph: Dear Keiji, Thank you for the time and for providing me with a revised CoverPage.java that will allow us to make our resulting pdfs pdf/a compliant. However, I received an error when rebuilding though. Below is my error message: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project cover: Compilation failure: Compilation failure: [ERROR] \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe tsu\dspace\util\CoverPage.java:[72,33] cannot find symbol [ERROR] symbol : class ItemUtility [ERROR] location: package jp.zuki_ebetsu.dspace.util [ERROR] \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe tsu\dspace\util\CoverPage.java:[590,24] cannot find symbol [ERROR] symbol : class ItemUtility [ERROR] location: class jp.zuki_ebetsu.dspace.util.CoverPage [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :cover Please advise if I missed something. Sincerely, Elvi On Mon, Nov 7, 2011 at 2:12 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Elvi, My question is can we turn this off on some of our collections or communities? By the way, all of our pdfs are pdf/a compliant, is it possible to convert the resulting pdf with cover page as pdf/a compliant? I have implemented these functions and attached the new CoverPage.java with this mail. Please replace the old one with it and rebuild dspace. There are some notes. 1) You have to place a font to embed pdf to DSPACE-SRC/dspace/modules/cover/main/src/resources and set this path in coverpage.font.embed parameter in dspace.cfg 2) The config parameters are changed somewhat. I place it last in this mail. 3) When I open the resulting pdf with Adobe Reader, it seems as PDF/A but I am not sure if the resulting pdf conforms all of the PDF/A conditions. New config parameters which are set in DSPACE/config/dspace.cfg === from this == # for Cover Pagecoverpage.header = ABC University Repository coverpage.footer = http://dspace.abc.educoverpage.logo = ${dspace.dir}/webapps/jspui/image/header_logo.jpgcoverpage.logo2 = # Whether copy security parameters from original pdfcoverpage.copysecurity = false # owner password of the original pdf (Required if the original pdf has the owner password) coverpage.ownerpass = # Default data fonts# Default sans font: use Helvetica unless this property is not specifiedcoverpage.font.sans = HeiseiKakuGo-W5,UniJIS-UCS2-H# Default serif font: use Times Roman unless this property is not specifiedcoverpage.font.serif = HeiseiMin-W3,UniJIS-UCS2-H # Where original pdf is PDF/A (Only PDF/A-1B is supporte)? (Default is false)coverpage.pdfa = true# Set the embed font file # Require if coverpage.pdfa = true # Format: font path (relative path to DSPACE-SRC/dspace/modules/cover/src/main/resources) # + comma + encodingcoverpage.font.embed = fonts/ipaexg.ttf,Identity-H # Set the CJK fonts: format is Font Name+comma+Encoding Name (OPTIONLAL)# Japanesecoverpage.font.cjk.ja = HeiseiMin
Re: [Dspace-tech] adding a cover page to a PDF file
Dear Keiji, Thank you for the time and for providing me with a revised CoverPage.java that will allow us to make our resulting pdfs pdf/a compliant. However, I received an error when rebuilding though. Below is my error message: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project cover: Compilation failure: Compilation failure: [ERROR] \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe tsu\dspace\util\CoverPage.java:[72,33] cannot find symbol [ERROR] symbol : class ItemUtility [ERROR] location: package jp.zuki_ebetsu.dspace.util [ERROR] \dspace-1.7.2-src-release\dspace\modules\cover\src\main\java\jp\zuki_ebe tsu\dspace\util\CoverPage.java:[590,24] cannot find symbol [ERROR] symbol : class ItemUtility [ERROR] location: class jp.zuki_ebetsu.dspace.util.CoverPage [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :cover Please advise if I missed something. Sincerely, Elvi On Mon, Nov 7, 2011 at 2:12 PM, SUZUKI Keiji z...@mbc.ocn.ne.jp wrote: Hi Elvi, My question is can we turn this off on some of our collections or communities? By the way, all of our pdfs are pdf/a compliant, is it possible to convert the resulting pdf with cover page as pdf/a compliant? I have implemented these functions and attached the new CoverPage.java with this mail. Please replace the old one with it and rebuild dspace. There are some notes. 1) You have to place a font to embed pdf to DSPACE-SRC/dspace/modules/cover/main/src/resources and set this path in coverpage.font.embed parameter in dspace.cfg 2) The config parameters are changed somewhat. I place it last in this mail. 3) When I open the resulting pdf with Adobe Reader, it seems as PDF/A but I am not sure if the resulting pdf conforms all of the PDF/A conditions. New config parameters which are set in DSPACE/config/dspace.cfg === from this == # for Cover Pagecoverpage.header = ABC University Repository coverpage.footer = http://dspace.abc.educoverpage.logo = ${dspace.dir}/webapps/jspui/image/header_logo.jpgcoverpage.logo2 = # Whether copy security parameters from original pdfcoverpage.copysecurity = false # owner password of the original pdf (Required if the original pdf has the owner password) coverpage.ownerpass = # Default data fonts# Default sans font: use Helvetica unless this property is not specifiedcoverpage.font.sans = HeiseiKakuGo-W5,UniJIS-UCS2-H# Default serif font: use Times Roman unless this property is not specifiedcoverpage.font.serif = HeiseiMin-W3,UniJIS-UCS2-H # Where original pdf is PDF/A (Only PDF/A-1B is supporte)? (Default is false)coverpage.pdfa = true# Set the embed font file # Require if coverpage.pdfa = true # Format: font path (relative path to DSPACE-SRC/dspace/modules/cover/src/main/resources) # + comma + encodingcoverpage.font.embed = fonts/ipaexg.ttf,Identity-H # Set the CJK fonts: format is Font Name+comma+Encoding Name (OPTIONLAL)# Japanesecoverpage.font.cjk.ja = HeiseiMin-W3,UniJIS-UCS2-H# Traditional Chinesecoverpage.font.cjk.zh_tw = MSung-Light,UniCNS-UCS2-H# Simplified Chinesecoverpage.font.cjk.zh_cn = STSong-Light,UniGB-UCS2-H# Koreancoverpage.font.cjk.ko = HYSMyeongJo-Medium,HYSMyeongJo-Medium # Specify communities that are omitted to add cover page #Format: community's handles separated with commas (OPTIONAL)coverpage.omit.community = 10236/5 # Specify collections that are omitted to add cover page#Format: collection's handles separated with commas (OPTIONAL) #coverpage.omit.collection = 10236/4,10236/57 # Specify the metadata that are displayed on the cover page # Format: Tag name + colon + metadata field namecoverpage.field.1 = Title:dc.titlecoverpage.field.2 = Author(s):dc.contributor.authorcoverpage.field.3 = Citation:dc.identifier.citationcoverpage.field.4 = Issue Date:dc.date.issuedcoverpage.field.5 = URL:dc.identifier.uri#coverpage.field.6 = Right:dc.rights === until this Hope this helps you. Keiji Suzuki Ebetsu, Japan -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines Access and download SEAFDEC/AQD publications for FREE http://repository.seafdec.org.ph [SEAFDEC/AQD Institutional Repository (SAIR)] - the official digital repository of scholarly and research
Re: [Dspace-tech] adding a cover page to a PDF file
Dear Keiji, I'm very interested in your implementation of adding a cover page of all your pdfs in your dspace instance. I'm wondering if this can be implemented in xmlui? It would be very helpful for other repository admins if you could provide the dspace community the steps in implementing this feature. Very nice work! Best regards, elvi Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Question about statistics
Dear all, Hello, I would like to ask how can I get accurate results for the Top country views and Top city views statistics of our repository? I have enabled our statistics to be publicly available. http://repository.seafdec.org.ph/handle/10862/1/statistics shows Uganda and Cold Lake which I'm sure is not accurate (not showing in Google analytics). Please advise what are the necessary steps to take to make this accurate. Thanks in advance. Regard, -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Change default sorting in search results
Dear Christof, Thanks for your reply. We are using version 1.7.1 and I can't find the file AbstractSearch.java. On Fri, Jul 1, 2011 at 4:19 PM, Verdonck Christof verdonck.chris...@eurodyn.com wrote: ** Dear I think you can change the file dspace-1.7.2-src-release\dspace-discovery\dspace-discovery-xmlui-api\src\main\java\org\dspace\app\xmlui\aspect\discovery\ *AbstractSearch.java **replace* protected String getParameterOrder() { String s = ObjectModelHelper.getRequest(objectModel).getParameter(order); return s != null ? s : DESC; }* **with* **protected String getParameterOrder() { String s = ObjectModelHelper.getRequest(objectModel).getParameter(order); return s != null ? s : *ASC*; }* * In this way, the list will be sorted, by default, in Ascending order. Yours Sincerely * * Christof Verdonck Nemiz, Elvi S. wrote: Dear All, Hello, we are using Discovery in our DSpace instance with mirage as our theme. I have noticed that when using the search box that can be found in the home page or at the side bar, search results are sorted by relevance in ascending order which means that items that are least relevant are displayed at the top of the search results. If I'm using jspui, search results are sorted by relevance in descending order. Please visit http://repository.seafdec.org.ph/ and try to search using the search box in the side bar or at home page. The jspui is at http://repository.seafdec.org.ph/jspui. Try using the term shrimp. Please advice how can I change the default sorting of search results in xmlui? Thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.http://p.sf.net/sfu/splunk-d2d-c2 -- ___ DSpace-tech mailing listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Reset handles
Hello Eric, Like you, we are planning to launch our repository after months of testing. In line with this, I would like to ask for your help how did you reset your handles ( you said After dropping the database and redeploying a fresh install, I see that the handles have reset themselves -- which is what I wanted to do.). Can you please guide as in the steps that you made when you drop your database? I'm worried that if I make the wrong step, I will mess up our database. Thanks in advance and hoping for your positive response. Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Change default sorting in search results
Dear All, Hello, we are using Discovery in our DSpace instance with mirage as our theme. I have noticed that when using the search box that can be found in the home page or at the side bar, search results are sorted by relevance in ascending order which means that items that are least relevant are displayed at the top of the search results. If I'm using jspui, search results are sorted by relevance in descending order. Please visit http://repository.seafdec.org.ph/ and try to search using the search box in the side bar or at home page. The jspui is at http://repository.seafdec.org.ph/jspui. Try using the term shrimp. Please advice how can I change the default sorting of search results in xmlui? Thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Question about statistics
Dear all, I'm wondering why I am getting Uganda and Cold lake in top country and city views in our Dspace statistics while these two places does not appear in our google analytics page? How can I update our statistics utility so that we will get accurate country and city views? Thanks in advance and more power. Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] problem with google docs viewer
Hello Peter, I followed your instructions in https://wiki.duraspace.org/display/DSPACE/Document+Preview+with+Google+Docs+viewer. Pdf links are working when I tested it on http://docs.google.com/viewer. Is it normal that the file name is not included? Maybe my urls were improperly encoded? or how can I include file name. I checked that the bitstream ID was grabbed properly. In our repository for example, http://repository.seafdec.org.ph/handle/123456789/38, the preview link points to http://docs.google.com/viewer?url=http://repository.seafdec.org.ph/bitstream/id/136embedded=trueand it says Sorry, this type of document is not supported for viewing. The link to the bitstream is working properly when viewed at google docs: http://docs.google.com/viewer?url=http://repository.seafdec.org.ph/bitstream/id/136/adsea91p024-031.pdf. The only difference that I can see is that the filename is not included in the url in our dspace instance. Please help. Thanks and regards. -- Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Expanded Community list in front page
Dear All, I've searched on the DSpace mailing list how to display community list in the front page (as it appeared) when you click on the Communities Collections link. We are using mirage as our theme and it seems that all the solutions that I have found were for other xmlui themes but not mirage. I can't find the code that they're talking about and I also tried to implement this Manakin howto: https://wiki.duraspace.org/display/DSPACE/Add+expanding+and+collapsing+interface+to+community-list+hierarchy+%28Manakin%29, but I think it's very hard for a newbie like me to implement this and I wonder if how can I apply it with mirage as our theme. Please help. Thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dublin Core Citations
Dear Yinjin, Hello and good day. I searched from the dspace mailing list looking for solutions how to implement bibliographic citation. I am very interested about your solution after reading your message from this threadhttp://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg03474.html. Can you please please provide us with some sort of step by step guide how you implemented this? We are currently using xmlui with mirage as our theme. Thanks in advance and hoping for a positive response. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Enquiry about DOI on DSpace
Dear All, How can I apply webui.resolver (for DOI) in xmlui? I have searched in the mailing list and found out that webui.resolver if for jspui only. I have added dc.identifier.doi in our metadata registry and tried display it by editing item-view.xsl by copying the code from dc.identifier.uri. If DOI is entered (without the http://dx.doi.org) during submission or item edit, how can I generate a link that will point to http://dx.doi.org when metadata is displayed? Thanks in advance. Sincerely, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Custom Simple Item View
Dear All, Hi everyone, we are using DSpace 1.7.1 and mirage as our theme. I want to customise the DC metadata fields to show in the default simple item view. I edited item-view.xsl and for testing purposes I add this line: !-- Publisher row -- xsl:when test=$clause = 7 and (dim:field[@element='publisher' and not(@qualifier)]) div class=simple-item-view-other h3 class=boldi18n:textxmlui.dri2xhtml.METS-1.0.item-publisher/i18n:text:/h3 div xsl:if test=count(dim:field[@element='publisher' and not(@qualifier)]) gt; 1 and not(count(dim:field[@element='publisher' and not(@qualifier)]) gt; 1) div class=spacer#160;/div /xsl:if xsl:for-each select=dim:field[@element='publisher' and not(@qualifier)] xsl:copy-of select=./node()/ xsl:if test=count(following-sibling::dim:field[@element='publisher' and not(@qualifier)]) != 0 div class=spacer#160;/div /xsl:if /xsl:for-each xsl:if test=count(dim:field[@element='publisher' and not(@qualifier)]) gt; 1 div class=spacer#160;/div /xsl:if /div /div xsl:call-template name=itemSummaryView-DIM-fields xsl:with-param name=clause select=($clause + 1)/ xsl:with-param name=phase select=$otherPhase/ /xsl:call-template /xsl:when and then below this line: !-- IMPORTANT: This test should be updated if clauses are added! -- xsl:if test=$clause lt; *7* , I change 7 into 8. Restarted Tomcat and upload new items. I found out that the additional field that I inserted in item-view.xsl only shows during the submission process but not after the item has been approved and archived, also it didn't show in older items before I edited item-view.xsl. I tried to edit both item-view.xsl from \webapps\xmlui\themes\Mirage\lib\xsl\aspect\artifactbrowser and \webapps\xmlui\themes\dri2xhtml-alt\aspect\artifactbrowser and still the field doesn't show up. Please help. Thanks in advance. Best regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace solr facets config
Dear Kevin, Thank you so much Kevin!, now dc.type is now showing as facet. I still have problems regarding dc.subject though if I want to configure it as a facet. We have entries in dc.subject.lcsh and dc.subject.other so I tried to use dc.subject.* in schema.xml to include all entries in dc.subject.*: field name=subject_filter type=dspaceFilter indexed=true stored=true multiValued=true/ copyField source=dc.subject.* dest=subject_filter/ added dc.subject.* in solr.facets.site=dc.type,dc.contributor.author,dc.subject.*,dc.date.issued_dt and in messages.xml, I added: message key=xmlui.ArtifactBrowser.AdvancedSearch.type_subject_filterTopic/message. Did an update of discovery index with -f. Am I missing something? Thanks in advance and more power to you. Best Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines On Tue, May 3, 2011 at 3:08 PM, Kevin Van de velde ke...@mire.be wrote: Have you already tried running the update discovery command with the -f option, it will force a complete reindex. - dspace update-discovery-index -f Kind regards, Kevin Van de Velde @mire - www.atmire.com 533 2nd Street - Encinitas, CA 92024 - USA Technologielaan 9 - 3001 Heverlee - Belgium http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get Tog@ther On 3 May 2011 08:21, Ahmed Maher ama...@kwareict.com wrote: you can check the subject filter field name maybe dc.subject.lcsh or another so you must change the dc.subject_filter to dc.subject.lcsh_filter On Tue, May 3, 2011 at 4:54 AM, Nemiz, Elvi S. esne...@seafdec.org.phwrote: Dear Kim, I followed your instructions in your blog http://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.htmlbut I want to apply it in dc.type. I want to configure all entries in dc.type as a facet but I can't make this facet appear. I have added the following in my schema.xml file: field name=format_filter type=dspaceFilter indexed=true stored=true multiValued=true/ copyField source=dc.type dest=format_filter/ I also edited messages.xml by adding message key=xmlui.ArtifactBrowser.AdvancedSearch.type_format_filterFormat/message and added dc.type in dspace-solr-search.cfg: solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.type but only the authors and dates are showing as facets. I have reindexed the discovery index and deleted cache of tomcat. Please help. Cheers, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace solr facets config
Dear Kevin, Hello Kevin, thank you so much, changing the dc.subject.* to just subject worked, but now, all subjects have duplicate entries that were in lower case. Am I missing something? Thanks again and more power to you. Best regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines On Tue, May 3, 2011 at 6:49 PM, Kevin Van de velde ke...@mire.be wrote: Dear Elvi, I think you need to change your configuration from solr.facets.site=dc.type,dc.contributor.author,*dc.subject.** ,dc.date.issued_dt to solr.facets.site=dc.type,dc.contributor.author,*subject* ,dc.date.issued_dt Now why do you need to do this you may ask, well for the following reason, the field in which you copy your dc.subject content is called * subject_filter*, DSpace will add the _filter postfix so subject should be enough in your facets config. After changing the property restart your tomcat and it should work. Kind regards, Kevin Van de Velde @mire Esperantolaan 4 - 3001 Heverlee - Belgium 2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA atmire.com - Institutional Repository Solutions On 3 May 2011 09:46, Nemiz, Elvi S. esne...@seafdec.org.ph wrote: Dear Kevin, Thank you so much Kevin!, now dc.type is now showing as facet. I still have problems regarding dc.subject though if I want to configure it as a facet. We have entries in dc.subject.lcsh and dc.subject.other so I tried to use dc.subject.* in schema.xml to include all entries in dc.subject.*: field name=subject_filter type=dspaceFilter indexed=true stored=true multiValued=true/ copyField source=dc.subject.* dest=subject_filter/ added dc.subject.* in solr.facets.site=dc.type,dc.contributor.author,dc.subject.*,dc.date.issued_dt and in messages.xml, I added: message key=xmlui.ArtifactBrowser.AdvancedSearch.type_subject_filterTopic/message. Did an update of discovery index with -f. Am I missing something? Thanks in advance and more power to you. Best Regards, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines On Tue, May 3, 2011 at 3:08 PM, Kevin Van de velde ke...@mire.be wrote: Have you already tried running the update discovery command with the -f option, it will force a complete reindex. - dspace update-discovery-index -f Kind regards, Kevin Van de Velde @mire - www.atmire.com 533 2nd Street - Encinitas, CA 92024 - USA Technologielaan 9 - 3001 Heverlee - Belgium http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get Tog@ther On 3 May 2011 08:21, Ahmed Maher ama...@kwareict.com wrote: you can check the subject filter field name maybe dc.subject.lcsh or another so you must change the dc.subject_filter to dc.subject.lcsh_filter On Tue, May 3, 2011 at 4:54 AM, Nemiz, Elvi S. esne...@seafdec.org.phwrote: Dear Kim, I followed your instructions in your blog http://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.htmlbut I want to apply it in dc.type. I want to configure all entries in dc.type as a facet but I can't make this facet appear. I have added the following in my schema.xml file: field name=format_filter type=dspaceFilter indexed=true stored=true multiValued=true/ copyField source=dc.type dest=format_filter/ I also edited messages.xml by adding message key=xmlui.ArtifactBrowser.AdvancedSearch.type_format_filterFormat/message and added dc.type in dspace-solr-search.cfg: solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.type but only the authors and dates are showing as facets. I have reindexed the discovery index and deleted cache of tomcat. Please help. Cheers, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net
Re: [Dspace-tech] dspace solr facets config
Dear Kim, I followed your instructions in your blog http://kim-shepherd.blogspot.com/2010/11/discovering-discovery-dspace-solr-tips.htmlbut I want to apply it in dc.type. I want to configure all entries in dc.type as a facet but I can't make this facet appear. I have added the following in my schema.xml file: field name=format_filter type=dspaceFilter indexed=true stored=true multiValued=true/ copyField source=dc.type dest=format_filter/ I also edited messages.xml by adding message key=xmlui.ArtifactBrowser.AdvancedSearch.type_format_filterFormat/message and added dc.type in dspace-solr-search.cfg: solr.facets.site=dc.contributor.author,dc.subject,dc.date.issued_dt,dc.type but only the authors and dates are showing as facets. I have reindexed the discovery index and deleted cache of tomcat. Please help. Cheers, Elvi S. Nemiz Information Assistant Library and Data Bank Services Section Training and Information Division SEAFDEC Aquaculture Department Tigbauan, Iloilo Philippines -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech