[Dspace-tech] Current locale in DRI
Hi all, I've trying to add current locale info into DRI file keeping this value into session object, and now I've already got (metadata element=page qualifier=currentLocaleen/metadata), but it doesn't works how I want. For example, if I change the current language in the search page, all strings are translated into the new language, but into DRI file current locale metadata is not updated. The strange thing is if I do the same action in item view, current locale metadata is updated in DRI file. I suspect the session it's not updated in some requests because are managed by different way, but I'm not sure of this. Anyone knows how DSpace manage requests and how it works with HttpSession? Thanks in advance -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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] LAC e-theses harvesting of DSpace 3.1
Thanks for the feedback Terry. In reviewing the LAC guidelines at www.collectionscanada.gc.ca/thesescanada/027007-9200-e.htmlhttp://www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html, it looks like I’ll have to add an oai-identifier tag to the output (Section 2.5) and update the URL identifier (Section 2.7). Do you know where in the source code I should make these changes? Cheers, Graham From: Terry Brady [mailto:tw...@georgetown.edu] Sent: Monday, June 09, 2014 8:47 PM To: Graham Faulkner Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] ant fresh_install Error
Hi, I am building dspace 3.1, the dspace was successfully built but when i run the command C:\dspace-3.1-src-release\dspace\target\dspace-3.1-buildant frest_install at first it starts building and then ends up with the message Build Failed and [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoade r.java:183) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(Reg istryLoader.java:138) [java] at org.dspace.administer.RegistryLoader.main(RegistryLoader.java :75) [java] Error: [java] - ERROR: duplicate key value violates unique constraint bitstreamf ormatregistry_short_description_key BUILD FAILED C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\build.xml:849: Java ret urned: 1 Total time: 15 seconds C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build Please kindly assist Thanks Eric -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] LAC e-theses harvesting of DSpace 3.1
I recommend that you start with the stylesheets in dspace/config/oai/metadataFormats Terry On Tue, Jun 10, 2014 at 6:01 AM, Graham Faulkner graham.faulk...@uwaterloo.ca wrote: Thanks for the feedback Terry. In reviewing the LAC guidelines at www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html, it looks like I’ll have to add an oai-identifier tag to the output (Section 2.5) and update the URL identifier (Section 2.7). Do you know where in the source code I should make these changes? Cheers, Graham *From:* Terry Brady [mailto:tw...@georgetown.edu] *Sent:* Monday, June 09, 2014 8:47 PM *To:* Graham Faulkner *Cc:* dspace-tech@lists.sourceforge.net *Subject:* Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] LAC e-theses harvesting of DSpace 3.1
Hi Graham, Try adding the oai-identifier element to [dspace-src]/dspace/config/crosswalks/oai/description.xml. Then rebuild. If you don’t see the changes, clear the oai cache or just change “cache.enable” to false in [dspace-src]/dspace/config/modules/oai.cfg. Note that I’ve only tried this on our development server (we’ll be going live with 4.0 in early July). For the identifier element, you’ll need to create a new metadata format based on the existing “etdms”. See page 350 of the Dspace 3.x documentation (section 6.15.2). I hope this helps. Best, Anthony Anthony Petryk Emerging Technologies Librarian | Bibliothécaire des technologies émergentes uOttawa Library | Bibliothèque uOttawa 613-562-5800 x4650 apet...@uottawa.camailto:apet...@uottawa.ca From: Graham Faulkner [mailto:graham.faulk...@uwaterloo.ca] Sent: Tuesday, June 10, 2014 9:01 AM To: Terry Brady Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Thanks for the feedback Terry. In reviewing the LAC guidelines at www.collectionscanada.gc.ca/thesescanada/027007-9200-e.htmlhttp://www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html, it looks like I’ll have to add an oai-identifier tag to the output (Section 2.5) and update the URL identifier (Section 2.7). Do you know where in the source code I should make these changes? Cheers, Graham From: Terry Brady [mailto:tw...@georgetown.edu] Sent: Monday, June 09, 2014 8:47 PM To: Graham Faulkner Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] XMLUI Mirage customization
Hi. I'm studying how to modify the homepage of Mirage theme. There's a lot of information, very detailed, on how to do it. But after several days, I'm still stuck trying to change the layout of the site. Specifically I want to remove the navigation bar on the right side (ds-options), but I don't find the way to do it. Can anyone help me? Thank you very much! bender -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] Discovery Search Display Error XMLUI DSpace 3.2
Hi Terry, We tried to change as you suggested but the sitemaps still were calling incorrectly (they actually seemed to be ignoring the changes we made to the path). We did manage to fix it by explicitly importing the correct file into the sub-themes, so it's working! Still a bit strange but I'm glad none the less. Thank you for taking the time to answer my question! I appreciate it. -Maura On Mon, Jun 9, 2014 at 8:16 PM, Terry Brady tw...@georgetown.edu wrote: Maura, I discovered some similar circumstance s in which my css and js was not loading properly. I do not know if you circumstances are the same as mine, but the following change to my sitemap.xmap helped map:match pattern=themes/**/static/**.js map:read type=ConcatenationReader src=static/{2}.js map:parameter name=requestQueryString value={request:queryString}/ /map:read /map:match map:match pattern=themes/**/static/**.css map:read type=ConcatenationReader src=static/{2}.css map:parameter name=requestQueryString value={request:queryString}/ /map:read /map:match I noticed that your page also has the following error The page at 'https://bir.brandeis.edu/handle/10192/22946/discover' was loaded over HTTPS, but ran insecure content from 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js': this content should also be loaded over HTTPS. Terry On Mon, Jun 9, 2014 at 1:04 PM, Maura Carbone mau...@brandeis.edu wrote: Hello all, We recently upgraded our DSpace installation from 1.7 to 3.2 and switched to Discovery. On the majority of pages discovery works and displays correctly, but on pages where we have custom sub-themes, discovery does not display correctly. Correct display: https://bir.brandeis.edu/handle/10192/27330/discover Incorrect display: https://bir.brandeis.edu/handle/10192/22946/discover The error seems to be stemming from the sub-theme attempting to call the discovery-styles.css from the wrong path (/themes/static/css/discovery rather than /static/css/discovery), but we haven't been able to figure out why this is the case. This does not happen on the non-custom pages, so it must be something in the xsl or sitemap of the custom themes. We even tried creating a copy of static in the themes directory just to see if it would find the correct file but to no avail. Aside from this weird discovery display error all the other files seem to be pulling correctly. Discovery does appear to function correctly. Anyone have any ideas? I can send along the xsl and sitemap of one of the custom themes (they all use the same one with just some minor tweaks). We are using a Mirage-based xmlui theme. Thanks in advance. -- Maura Carbone Digital Initiatives Librarian Brandeis University Library and Technology Services email: mau...@brandeis.edu -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- Maura Carbone Digital Initiatives Librarian Brandeis University Library and Technology Services email: mau...@brandeis.edu -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] Xmlui messages customization in Dspace 4.1
Hi all, I need to modify the messages_es.xml file from xmlui/i18n, but if I change anything in it, the web interface only appears in English language and the Spanish interface will never display, even if I select the Spanish language preference at top right option in the page. Can any help me on how to modify this file for display the Spanish xmlui interface? I am using the Mirage theme Kind regards, Ing. Oscar Sánchez G., MAE Profesional en TI Biblioteca José Figueres Ferrer Instituto Tecnológico de Costa Rica * Tel: 2550-2135 7 Fax: 2591-4820 * Apdo Postal: 159-7050 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] LAC e-theses harvesting of DSpace 3.1
Thanks Anthony. That looks like the information I was looking for. Cheers, Graham From: Anthony Petryk [mailto:anthony.pet...@uottawa.ca] Sent: Tuesday, June 10, 2014 11:50 AM To: Graham Faulkner; Terry Brady Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Hi Graham, Try adding the oai-identifier element to [dspace-src]/dspace/config/crosswalks/oai/description.xml. Then rebuild. If you don’t see the changes, clear the oai cache or just change “cache.enable” to false in [dspace-src]/dspace/config/modules/oai.cfg. Note that I’ve only tried this on our development server (we’ll be going live with 4.0 in early July). For the identifier element, you’ll need to create a new metadata format based on the existing “etdms”. See page 350 of the Dspace 3.x documentation (section 6.15.2). I hope this helps. Best, Anthony Anthony Petryk Emerging Technologies Librarian | Bibliothécaire des technologies émergentes uOttawa Library | Bibliothèque uOttawa 613-562-5800 x4650 apet...@uottawa.camailto:apet...@uottawa.ca From: Graham Faulkner [mailto:graham.faulk...@uwaterloo.ca] Sent: Tuesday, June 10, 2014 9:01 AM To: Terry Brady Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Thanks for the feedback Terry. In reviewing the LAC guidelines at www.collectionscanada.gc.ca/thesescanada/027007-9200-e.htmlhttp://www.collectionscanada.gc.ca/thesescanada/027007-9200-e.html, it looks like I’ll have to add an oai-identifier tag to the output (Section 2.5) and update the URL identifier (Section 2.7). Do you know where in the source code I should make these changes? Cheers, Graham From: Terry Brady [mailto:tw...@georgetown.edu] Sent: Monday, June 09, 2014 8:47 PM To: Graham Faulkner Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LAC e-theses harvesting of DSpace 3.1 Since upgrading the DSpace 3.x, I have found the OAI service much easier to troubleshoot by navigating the browser-friendly OAI service. //yourrepository/oai/request?verb=Identify Does your collection/item metadata look good through that service? I believe that the naming conventions for collection and community sets may have changed when I performed the upgrade to 3.x. Terry On Mon, Jun 9, 2014 at 11:28 AM, Graham Faulkner graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca wrote: Hi all, I’m wondering if there is someone on the list who is running DSpace 3.1+ and has a collection being properly harvested by Library and Archives Canada’s ETD harvesting program. We recently upgraded from DSpace 1.8 to 3.1 and the LAC harvesting apparently stopped working. Any pointers in the right direction are greatly appreciated. Cheers, Graham - Graham Faulkner University of Waterloo Library -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] XMLUI Mirage customization (bender)
Thank you very much Alain. It works! Anyway, it would be very useful understand how the layout is constructed. This is an intersting piece of code from dspace\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl !--ds-content is a groups ds-body and the navigation together and used to put the clearfix on, center, etc. ds-content-wrapper is necessary for IE6 to allow it to center the page content-- div id=ds-content-wrapper div id=ds-content class=clearfix !-- Goes over the document tag's children elements: body, options, meta. The body template generates the ds-body div that contains all the content. The options template generates the ds-options div that contains the navigation and action options available to the user. The meta element is ignored since its contents are not processed directly, but instead referenced from the different points in the document. -- xsl:apply-templates / /div /div But I'm still trying to understand how it puts it all together. Thanks again. bender 2014-06-10 15:19 GMT-04:00 Alain Tschanz atsch...@njstatelib.org: Here’s a quick and dirty method to remove the navigation bar. In the /dspace/webapps/xmlui/themes/Mirage/lib/xsl/core folder open up the navigation.xsl file and look for !-- TODO: figure out why i18n tags break the go button -- xsl:template match=dri:options div id=ds-options-wrapper div id=ds-options Comment everything out until /div /xsl:template !-- Add each RSS feed from meta to a list -- Alain -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] Xmlui messages customization in Dspace 4.1
Hi Oscar It seems to be an error modifiying the messages xml file. Try to edit an easy line from the original file and restart tomcat to verify that you can see the changes in the webpage. You must use an UTF-8 editor as notepad++ to edit this files to avoid encoding problems. regards Adán Román Ruiz ARVO Consultores Hi all, I need to modify the messages_es.xml file from xmlui/i18n, but if I change anything in it, the web interface only appears in English language and the Spanish interface will never display, even if I select the Spanish language preference at top right option in the page. Can any help me on how to modify this file for display the Spanish xmlui interface? I am using the Mirage theme Kind regards, Ing. Oscar Sánchez G., MAE *Profesional en TI* *Biblioteca José Figueres Ferrer* *Instituto Tecnológico de Costa Rica* *(Tel: 2550-2135* *7Fax: 2591-4820* *+Apdo Postal: 159-7050* -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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 --- Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa. http://www.avast.com -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] ant fresh_install Error
Hi Eric Delete all the tables and sequences from the database you are using for dspace and try again regards Hi, I am building dspace 3.1, the dspace was successfully built but when i run the command C:\dspace-3.1-src-release\dspace\target\dspace-3.1-buildant frest_install at first it starts building and then ends up with the message Build Failed and [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoade r.java:183) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(Reg istryLoader.java:138) [java] at org.dspace.administer.RegistryLoader.main(RegistryLoader.java :75) [java] Error: [java] - ERROR: duplicate key value violates unique constraint bitstreamf ormatregistry_short_description_key BUILD FAILED C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\build.xml:849: Java ret urned: 1 Total time: 15 seconds C:\dspace-3.1-src-release\dspace\target\dspace-3.1-build Please kindly assist Thanks Eric -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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 -- --- Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa. http://www.avast.com -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] Current locale in DRI
Hi Ruben It can be the cache. Add a ?aleatoryString or aleatoryString to the navigator http request to verify this. Regards Hi all, I've trying to add current locale info into DRI file keeping this value into session object, and now I've already got (metadata element=page qualifier=currentLocaleen/metadata), but it doesn't works how I want. For example, if I change the current language in the search page, all strings are translated into the new language, but into DRI file current locale metadata is not updated. The strange thing is if I do the same action in item view, current locale metadata is updated in DRI file. I suspect the session it's not updated in some requests because are managed by different way, but I'm not sure of this. Anyone knows how DSpace manage requests and how it works with HttpSession? Thanks in advance -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ 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 -- --- Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa. http://www.avast.com -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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] XMLUI Mirage customization (bender)
Thanks Alain!! Very useful information. 2014-06-10 16:20 GMT-04:00 Alain Tschanz atsch...@njstatelib.org: You can disable elements of the Navigation bar by adding these templates: Look at http://yourservername/xmlui/DRI/ to see how I got the code below. xsl:template name=disable_browse match=dri:list[@id='aspect.viewArtifacts.Navigation.list.browse'] /xsl:template xsl:template name=disable_global match=dri:list[@id='aspect.browseArtifacts.Navigation.list.global'] /xsl:template xsl:template name=disable_administrative match=dri:list[@id='aspect.viewArtifacts.Navigation.list.administrative'] /xsl:template xsl:template name=disable_account match=dri:list[@id='aspect.viewArtifacts.Navigation.list.account'] /xsl:template xsl:template name=disable_context match=dri:list[@id='aspect.browseArtifacts.Navigation.list.context'] /xsl:template xsl:template name=disable_epeople match=dri:list[@id='aspect.administrative.Navigation.list.epeople'] /xsl:template xsl:template name=disable_discovery match=dri:list[@id='aspect.discovery.Navigation.list.discovery'] /xsl:template xsl:template name=disable_registries match=dri:list[@id='aspect.administrative.Navigation.list.registries'] /xsl:template xsl:template name=disable_statistics match=dri:list[@id='aspect.statistics.Navigation.list.statistics'] /xsl:template xsl:template name=disable_context2 match=dri:list[@id='aspect.viewArtifacts.Navigation.list.context'] /xsl:template *From:* hernan.hcarva...@gmail.com [mailto:hernan.hcarva...@gmail.com] *On Behalf Of *bender *Sent:* Tuesday, June 10, 2014 3:46 PM *To:* Alain Tschanz *Cc:* dspace-tech *Subject:* Re: XMLUI Mirage customization (bender) Thank you very much Alain. It works! Anyway, it would be very useful understand how the layout is constructed. This is an intersting piece of code from dspace\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl !--ds-content is a groups ds-body and the navigation together and used to put the clearfix on, center, etc. ds-content-wrapper is necessary for IE6 to allow it to center the page content-- div id=ds-content-wrapper div id=ds-content class=clearfix !-- Goes over the document tag's children elements: body, options, meta. The body template generates the ds-body div that contains all the content. The options template generates the ds-options div that contains the navigation and action options available to the user. The meta element is ignored since its contents are not processed directly, but instead referenced from the different points in the document. -- xsl:apply-templates / /div /div But I'm still trying to understand how it puts it all together. Thanks again. bender 2014-06-10 15:19 GMT-04:00 Alain Tschanz atsch...@njstatelib.org: Here’s a quick and dirty method to remove the navigation bar. In the /dspace/webapps/xmlui/themes/Mirage/lib/xsl/core folder open up the navigation.xsl file and look for !-- TODO: figure out why i18n tags break the go button -- xsl:template match=dri:options div id=ds-options-wrapper div id=ds-options Comment everything out until /div /xsl:template !-- Add each RSS feed from meta to a list -- Alain -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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