Re: [Dspace-tech] DSpace not indexing properly
Currently this is my webui.browse.index.* configuration. webui.browse.index.1 = dateissued:item:dateissued webui.browse.index.2 = author:metadata:dc.contributor.author:text webui.browse.index.3 = title:item:title webui.browse.index.4 = subject:metadata:dc.subject.*:text I haven't touched anything else from the dspace.cfg file, I rebuilt DSpace, and before I run tomcat again, I run './dspace index-discovery -b'. This isn't working at all... The items are listed but when I want to filter by any letter (starts_with=...), it doesn't show proper results, it shows up items that have nothing to do with the clicked letter. For example, if I click on 'Q' it shows up an item where the dc.contributor.author is 'Prb, Prb'. I really have no idea what am I doing wrong. I've followed Hilton's link and my configuration seems to be pretty similar, also had a look at https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-RoutineDiscoverySolrIndexMaintenanceand https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-BrowseIndexConfiguration. I can't find what else is missing... Could someone provide some idea? This is starting to be quite frustrating... :-( Thanks 2014-05-12 14:04 GMT+01:00 X ch todos.somos...@gmail.com: Hi all, We're running DSpace 4.1 and recently we've noticed a strange issue with the uploaded documents. We usually import them via the 'dspace import' command, setting the minimal Dublin Core metadata and then modify them via the XMLUI interface as needed. However, when we try to list alphabetically (by author, title, subject, etc), we're getting results that don't make any sense. For instance, when we list by 'Q' as author, we're getting a list of authors that doesn't even contain a 'Q' in their name or surname. I assume this is filtered by the 'dc.contributor.author' field, it shows correctly in the item but still shows up when filtering. URL seems to be ok also, it runs searches like browse?rpp=20order=ASCsort_by=-1etal=-1type=authorstarts_with=J, so I guess this is not the actual problem. Have you run into the same issue? Does anyone know why does this happen and how to solve this? Thanks so much. -- 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
[Dspace-tech] Changing the link from http://localhost:8080/xmlui to http://mydomain:8080/xmlui
Swati, it should like this at dspace-install dir/config/dspace.cfg dspace.hostname = 10.210.12.252 dspace.baseUrl = http://10.210.12.252:8080 dspace.url = ${dspace.baseUrl}/jspui -- Thanks Hardik Mishra -- Forwarded message -- From: Swati (CEPT Mail Admin) sw...@cept.ac.in To: Monika C. Mevenkamp moni...@princeton.edu, dspace-tech@lists.sourceforge.net Cc: Date: Tue, 13 May 2014 10:03:31 +0530 Subject: Re: [Dspace-tech] Changing the link from http://localhost:8080/xmlui; to http://mydomain:8080/xmlui; in password reset email DSpace Thanks for your help Monika, Yes, I changed the value of dspace.baseUrl to my Ip in place of the word localhost in dspace.cfg and restarted Tomcat. Yet, the email sent by my Dspace installation for password recovery contains localhost instead of my IP. Is there any other file/place as well where I need to change the value of dspace.baseUrl ? Thanks, Swati Goyal CEPT University On Mon, May 12, 2014 at 10:23 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: Please have a look at your dspace.cfg file in your configuration directory Make sure that the following settings refer to to the domain name values that you desire # DSpace host name - should match base URL. Do not include port number. dspace.hostname = ${dspace.hostname} # DSpace base host URL. Include port number etc. dspace.baseUrl = ${dspace.baseUrl} # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. dspace.url = ${dspace.baseUrl}/xmlui Monika Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 On May 12, 2014, at 6:03 AM, Swati (CEPT Mail Admin) sw...@cept.ac.in wrote: We are yet to launch DSpace for our institution. I am using CentOs. I have configured smtp and my DSpace installation is able to send emails. While testing, I tried to reset my password from DSpace JSPUI. It sends an email to my email address with the following content : -- To change the password for your DSpace account, please click the link below: http://localhost:8080/xmlui/forgot?token=5a33ca84e52cbc7ed958e4d170a667cb -- In the above email content, I want the localhost to be replaced by my IP. For this I changed the relevant values in dspace.cfg file and restarted Tomcat but still the parameter in email message remains the same and shows localhost instead of my IP. Kindly suggest me how to resolve this. Thanks, --- -- 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] Changing the link from http://localhost:8080/xmlui to http://mydomain:8080/xmlui
Thanks a lot Hardik, I had changed those parameters and restarted Tomcat but did not restart the server then. Today, I restarted the server and somehow the problem was resolved after that. Regards, Swati Goyal CEPT University On Tue, May 13, 2014 at 3:52 PM, Hardik Mishra hardik.dsp...@gmail.comwrote: Swati, it should like this at dspace-install dir/config/dspace.cfg dspace.hostname = 10.210.12.252 dspace.baseUrl = http://10.210.12.252:8080 dspace.url = ${dspace.baseUrl}/jspui -- Thanks Hardik Mishra -- Forwarded message -- From: Swati (CEPT Mail Admin) sw...@cept.ac.in To: Monika C. Mevenkamp moni...@princeton.edu, dspace-tech@lists.sourceforge.net Cc: Date: Tue, 13 May 2014 10:03:31 +0530 Subject: Re: [Dspace-tech] Changing the link from http://localhost:8080/xmlui; to http://mydomain:8080/xmlui; in password reset email DSpace Thanks for your help Monika, Yes, I changed the value of dspace.baseUrl to my Ip in place of the word localhost in dspace.cfg and restarted Tomcat. Yet, the email sent by my Dspace installation for password recovery contains localhost instead of my IP. Is there any other file/place as well where I need to change the value of dspace.baseUrl ? Thanks, Swati Goyal CEPT University On Mon, May 12, 2014 at 10:23 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: Please have a look at your dspace.cfg file in your configuration directory Make sure that the following settings refer to to the domain name values that you desire # DSpace host name - should match base URL. Do not include port number. dspace.hostname = ${dspace.hostname} # DSpace base host URL. Include port number etc. dspace.baseUrl = ${dspace.baseUrl} # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. dspace.url = ${dspace.baseUrl}/xmlui Monika Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 On May 12, 2014, at 6:03 AM, Swati (CEPT Mail Admin) sw...@cept.ac.in wrote: We are yet to launch DSpace for our institution. I am using CentOs. I have configured smtp and my DSpace installation is able to send emails. While testing, I tried to reset my password from DSpace JSPUI. It sends an email to my email address with the following content : -- To change the password for your DSpace account, please click the link below: http://localhost:8080/xmlui/forgot?token=5a33ca84e52cbc7ed958e4d170a667cb -- In the above email content, I want the localhost to be replaced by my IP. For this I changed the relevant values in dspace.cfg file and restarted Tomcat but still the parameter in email message remains the same and shows localhost instead of my IP. Kindly suggest me how to resolve this. Thanks, --- -- 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
[Dspace-tech] Swapping handles between two items
Hi, I'd like to swap the handles of two items over. I've tried this by changing the resourceID in the handle table and it seems to work fine. However, is there any danger in doing this? Best regards Ian -- Ian Wellaway Senior System Support Development Officer - Student Records, Enterprise Applications (Room 911) Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 -- 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] Swapping handles between two items
On Tue, May 13, 2014 at 3:50 PM, Wellaway, Ian i.j.wella...@exeter.ac.uk wrote: I’d like to swap the handles of two items over. I’ve tried this by changing the resourceID in the handle table and it seems to work fine. However, is there any danger in doing this? Hi Ian, it's fine from technical perspective. Don't forget to also update the handle link in item metadata - either manually via UI or in the metadatavalue table by looking up your item_id where metadata_field_id is a value which you can look up by identifier.uri in the metadatafieldregistry table). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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
[Dspace-tech] inline script for one of the metadata
I'm trying to put this: script src=http://cdnapi.kaltura.com/p/1038472/sp/103847200/embedIframeJs/uiconf_id/22627652/partner_id/1038472?autoembed=trueentry_id=1_eshzem52playerId=kaltura_player_1398195438cache_st=1398195438width=400height=330flashvars[streamerType]=auto;/script in one of my metadata fields, but all I'm seeing is the text, and the script is not executing. I think it must be a css setting. Any advice? Thank you! Jose -- 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] inline script for one of the metadata
That's the intended behaviour. If it was executed, it would be considered a security vulnerability and patched. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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] inline script for one of the metadata
Hi Jose, I think most of the metadata fields are processed to display as text. If you View Source, you'll probably find that entities have been translated. Our solution, which isn't ideal, was to add a couple of qualifiers to the schema (bad, bad practice) and to use the theme's template to produce the code, so: !-- Embedded video row -- xsl:when test=$clause = 29 and (dim:field[@element='identifier'][@qualifier='streamurl'] or dim:field[@element='youtube'][@qualifier='embed']) xsl:if test=dim:field[@element='identifier'][@qualifier='streamurl'] tr class=ds-table-row {$phase} td xsl:attribute name=colspan2/xsl:attribute object xsl:attribute name=width580/xsl:attribute xsl:attribute name=height395/xsl:attribute param xsl:attribute name=namemovie/xsl:attribute xsl:attribute name=valuehttp://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf/xsl:attribute /param param xsl:attribute name=nameflashvars/xsl:attribute xsl:attribute name=value xsl:textsrc=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamurl']/node()/ xsl:textamp;poster=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamposter']/node()/ /xsl:attribute /param param xsl:attribute name=nameallowFullScreen/xsl:attribute xsl:attribute name=valuetrue/xsl:attribute /param param xsl:attribute name=nameallowscriptaccess/xsl:attribute xsl:attribute name=valuealways/xsl:attribute /param embed xsl:attribute name=srchttp://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf/xsl:attribute xsl:attribute name=typeapplication/x-shockwave-flash/xsl:attribute xsl:attribute name=allowscriptaccessalways/xsl:attribute xsl:attribute name=allowfullscreentrue/xsl:attribute xsl:attribute name=width580/xsl:attribute xsl:attribute name=height395/xsl:attribute xsl:attribute name=flashvars xsl:textsrc=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamurl']/node()/ xsl:textamp;poster=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamposter']/node()/ /xsl:attribute /embed /object /td /tr /xsl:if xsl:if test=dim:field[@element='youtube'][@qualifier='embed'] tr class=ds-table-row {$phase} td xsl:attribute name=colspan2/xsl:attribute iframe width=580 height=323 frameborder=0 allowfullscreen=true xsl:attribute name=src xsl:copy-of select=dim:field[@element='youtube' and @qualifier='embed']/node()/ /xsl:attribute xsl:text /xsl:text/iframe /td /tr /xsl:if 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 B-- -Original Message- From: Jose Blanco [mailto:blan...@umich.edu] Sent: Tuesday, May 13, 2014 8:39 AM To: Dspace-Tech Subject: [Dspace-tech] inline script for one of the metadata I'm trying to put this: script src=http://cdnapi.kaltura.com/p/1038472/sp/103847200/embedIframeJs/uiconf _id/22627652/partner_id/1038472?autoembed=trueentry_id=1_eshzem52pla
Re: [Dspace-tech] inline script for one of the metadata
Yes, this was it. I just tried it and it worked. Thanks! On Tue, May 13, 2014 at 10:57 AM, Brian Freels-Stendel bfre...@unm.edu wrote: Hi Jose, I think most of the metadata fields are processed to display as text. If you View Source, you'll probably find that entities have been translated. Our solution, which isn't ideal, was to add a couple of qualifiers to the schema (bad, bad practice) and to use the theme's template to produce the code, so: !-- Embedded video row -- xsl:when test=$clause = 29 and (dim:field[@element='identifier'][@qualifier='streamurl'] or dim:field[@element='youtube'][@qualifier='embed']) xsl:if test=dim:field[@element='identifier'][@qualifier='streamurl'] tr class=ds-table-row {$phase} td xsl:attribute name=colspan2/xsl:attribute object xsl:attribute name=width580/xsl:attribute xsl:attribute name=height395/xsl:attribute param xsl:attribute name=namemovie/xsl:attribute xsl:attribute name=valuehttp://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf/xsl:attribute /param param xsl:attribute name=nameflashvars/xsl:attribute xsl:attribute name=value xsl:textsrc=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamurl']/node()/ xsl:textamp;poster=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamposter']/node()/ /xsl:attribute /param param xsl:attribute name=nameallowFullScreen/xsl:attribute xsl:attribute name=valuetrue/xsl:attribute /param param xsl:attribute name=nameallowscriptaccess/xsl:attribute xsl:attribute name=valuealways/xsl:attribute /param embed xsl:attribute name=srchttp://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf/xsl:attribute xsl:attribute name=typeapplication/x-shockwave-flash/xsl:attribute xsl:attribute name=allowscriptaccessalways/xsl:attribute xsl:attribute name=allowfullscreentrue/xsl:attribute xsl:attribute name=width580/xsl:attribute xsl:attribute name=height395/xsl:attribute xsl:attribute name=flashvars xsl:textsrc=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamurl']/node()/ xsl:textamp;poster=/xsl:text xsl:copy-of select=dim:field[@element='identifier' and @qualifier='streamposter']/node()/ /xsl:attribute /embed /object /td /tr /xsl:if xsl:if test=dim:field[@element='youtube'][@qualifier='embed'] tr class=ds-table-row {$phase} td xsl:attribute name=colspan2/xsl:attribute iframe width=580 height=323 frameborder=0 allowfullscreen=true xsl:attribute name=src xsl:copy-of select=dim:field[@element='youtube' and @qualifier='embed']/node()/ /xsl:attribute xsl:text /xsl:text/iframe /td /tr /xsl:if 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 B-- -Original Message- From: Jose Blanco [mailto:blan...@umich.edu] Sent: Tuesday, May 13, 2014 8:39 AM To: Dspace-Tech Subject: [Dspace-tech]
[Dspace-tech] Etherpad (or similar) integration in DSpace?
Hi all, I wonder if anybody on the list has ever taken a shot at integrating software for real-time collaborative editing such as Etherpad in DSpace? Maybe you've got general suggestions on integrating 3rd party software in DSpace? Thanks, Joachim -- 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
[Dspace-tech] Security problem faced in Item Display
Hello, We've deployed DSpace 4.0 and integrated google docs viewer for document viewing. Now we are facing problem of item level security i.e. we are not able to restrict item level viewing rights through user rights mechanism. At present, all items are opening for preview without asking for user credentials. Can somebody guide on how to restore item level access rights on preview button. Regards, Raj -- 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