Re: [Dspace-tech] Want to add custom filter type in dspace 4.x search filter facet
Well, all the files you modified in the dspace installation need to be overwritten in the dspace source, or added if you created them as new in the dspace installation. For example, Messages.properties is only in the source so you don't have to do nothing. input-forms.xml is in the source and in the installation, so you have to overwrite your source input-forms.xml with the one of the installation. Later you can return to compile as always... mvn package, ant update, etc... -- View this message in context: http://dspace.2283337.n4.nabble.com/Want-to-add-custom-filter-type-in-dspace-4-x-search-filter-facet-tp4676738p4676811.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] 5.1 source tarball has DOS line ends in some files
Chris, Thanks for letting us know. This has now been resolved and the release files/packages have been updated. - Tim On 2/25/2015 4:30 PM, Chris Gray wrote: In the source tarball for 5.1, the script file dspace/bin/dspace has DOS line ends so it can't run on Linux. Instead you get an error to the effect that the application /bin/sh^M can't be found. Chris -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Viewing an uploaded item in DSpace 4.2 xmlui
Hi, I'm trying to change the how an item is viewed in DSpace. By default on the search results page when you click on the title or icon it redirects to a new page where more details about the item are displayed. I want to skip this page and directly open the file in view mode when the title is clicked ( assuming only one file is uploaded per item). I had also posted this question on StackOverflow http://stackoverflow.com/questions/28605712/viewing-an-uploaded-item-in-dspace-4-2-xmlui/28690456#28690456 . Please help. Thanks in advance. -- View this message in context: http://dspace.2283337.n4.nabble.com/Viewing-an-uploaded-item-in-DSpace-4-2-xmlui-tp4676791.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Configuring DSpace to allow access to all the metadata and password-protecting the Full text
Hello Admire, when you create a collection set DEFAULT_ITEM_READ to anonymous and DEFAULT_BITSTREAM_READ to whatever group should have access. During the ingest the items will derive their policies from these settings. The splash page with the metadata will be visible to everyone, accessing the associated bitstreams will be restricted. Hope this helps Claudia Jürgen Am 26.02.2015 um 13:48 schrieb Admire Mutsikiwa: Hi I would like to configure one of my DSpace collection to allow access to its metadata and password protect access to full text. How do I go about it? Kind Regards, Admire Mutsikiwa (Mr) ICT Manager Libraries University of Zimbabwe Tel:+263-4-303276 Mob:+263782476883 It is easy to dodge our responsibilities, but we cannot dodge the consequences of dodging our responsibilities. Josiah Charles Stamp http://www.goodreads.com/author/show/4867406.Josiah_Charles_Stamp -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool
Hello, Excel creates CSV files with a semicolon as field separator. I have changed it for commas and works! Thank you for the answers, Carles Barrera Universitat Pompeu Fabra, Barcelona 2015-02-26 13:03 GMT+01:00 Àlex Magaz Graça alexandre.ma...@udl.cat: El 26/02/15 a les 12:13, Àlex Magaz Graça ha escrit: El 26/02/15 a les 10:12, BARRERA BARRERA, Carlos ha escrit: Hello, We are tring to reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool: [dspace]/bin/dspace metadata-import -f metadata.csv heading row: id,collection,action item rows: 28801,1,reinstate 26223,1,reinstate performing 'actions' on items, but throws the next error: Bad metadata declaration in row 1: id;collection;action Does anyone use this tool or know another way to make it? We look forward to your reply. Thank you, *Carles Barrera Barrera* /Programador/ Unitat d'Aplicacions Corporatives Servei d'Informàtica Plaça de la Mercè, 10-12 | 08002 Barcelona [Tel.] (+34) 93 542 16 93[Fax.] (+34) 93 542 21 45 carles.barr...@upf.edu mailto:carles.barr...@upf.edu http://www.upf.edu/bibtic/ Universitat Pompeu Fabra, Barcelona -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 Hello Carlos, You must remove the first row with the headers for it to work. Cheers, Àlex -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 Forget it. My mind got mixed with PostgreSQL... -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Modifying Item description in search results page
Hi I am working with DSpace 4.2 xmlui Mirage theme. I want to modify the item description to show some additional metadata information.The current search results page By default, the name of the author and issue date are displayed along with the title of the item. http://dspace.2283337.n4.nabble.com/file/n4676789/14.png I wish to include some more metadata fields like type, difficulty level, grade level etc. How can this be achieved? -- View this message in context: http://dspace.2283337.n4.nabble.com/Modifying-Item-description-in-search-results-page-tp4676789.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Configuring DSpace to allow access to all the metadata and password-protecting the Full text
Hi I would like to configure one of my DSpace collection to allow access to its metadata and password protect access to full text. How do I go about it? Kind Regards, Admire Mutsikiwa (Mr) ICT Manager Libraries University of Zimbabwe Tel:+263-4-303276 Mob:+263782476883 It is easy to dodge our responsibilities, but we cannot dodge the consequences of dodging our responsibilities. Josiah Charles Stamp http://www.goodreads.com/author/show/4867406.Josiah_Charles_Stamp -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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 SECURITY ADVISORY: New DSpace 5.1, 4.3 and 3.4 releases resolve security issues in XMLUI and JSPUI
All, In recent weeks, several security vulnerabilities where discovered in the XMLUI and JSPUI of DSpace 3.x, 4.x and 5.x sites. Some of these vulnerabilities also affect Space 1.x.x sites. While these security vulnerabilities vary in severity (see below), WE RECOMMEND ALL DSPACE USERS CONSIDER UPGRADING TO EITHER DSPACE 3.4, 4.3 OR 5.1 to ensure your site is secure. Please note that the DSpace 5.1 release also includes several minor bug fixes to the 5.x platform. * DSpace 5.1 Release Notes: https://wiki.duraspace.org/display/DSDOC5x/Release+Notes * DSpace 4.3 Release Notes: https://wiki.duraspace.org/display/DSDOC4x/Release+Notes * DSpace 3.4 Release Notes: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.4+Notes Where possible, WE ALSO RECOMMEND IMMEDIATELY REMOVING ANY allowLinking=true SETTINGS from your Tomcat Context configuration. Previously our DSpace installation documentation erroneously listed examples which included allowLinking=true, while the Tomcat documentation details it as a possible security concern [1]. The XMLUI Directory Traversal Vulnerability (see below) is also exacerbated by having allowLinking=true enabled. [NOTICE FOR DSPACE 1.x.x USERS:] Per our DSpace Software Support Policy [2], all DSpace 1.x.x versions are now End-Of-Life (EOL). This includes versions 1.8.3 and below. As such, we will not be releasing any further 1.x.x versions (even though several of these vulnerabilities do exist in 1.x.x versions). We recommend either manually patching your instances or upgrading. If you are considering an upgrade from DSpace 1.x.x, note that, as of DSpace 5, your existing data (i.e. database contents, search/browse indexes) will now be automatically upgraded from ANY prior version of DSpace (1.x.x, 3.x or 4.x). Therefore, you may wish to consider upgrading directly to DSpace 5.1, as the 5.x upgrade process is simplified. Vulnerabilities Summary Summary of XMLUI Vulnerabilities: - [HIGH SEVERITY] XMLUI Directory Traversal Vulnerabilities: These vulnerabilities allows someone to potentially access any file on your local filesystem which is readable to the Tomcat user account. This includes files which are unrelated to DSpace or Tomcat, but are readable to all users on the filesystem (e.g. on Linux this includes /etc/passwd, /etc/hosts, etc). This also includes Tomcat configuration files (which may or may not contain passwords). These vulnerabilities have existed since DSpace 1.5.2. The initial vulnerability was discovered by Khalil Shreateh, with additional (related) vulnerabilities discovered by the Committer Team. In some configurations of Tomcat, simply removing any allowLinking=true settings from your Tomcat's Context configuration will limit the directory traversal vulnerability's severity to only allow access to files within the XMLUI web application directory. More information (and a patch) is available at https://jira.duraspace.org/browse/DS-2445 (Requires a DuraSpace JIRA account to access for two weeks, and then will be publicly available) Summary of JSPUI Vulnerabilities: - [MEDIUM SEVERITY] JSPUI Directory Traversal Vulnerability: This vulnerability allows someone to potentially access any file within the JSPUI web application directory (e.g. WEB-INF/web.xml). This vulnerability is believed to have existed in all prior versions of DSpace, and was discovered by Khalil Shreateh. More information (and a patch) is available at https://jira.duraspace.org/browse/DS-2448 (Requires a DuraSpace JIRA account to access for two weeks, and then will be publicly available) [LOW SEVERITY] Cross-site scripting (XSS injection) is possible in JSPUI Recent Submissions listings. This vulnerability could allow a depositor/submitter to embed dangerous Javascript code into the metadata of a new submission, thus causing that code to be run across other user accounts. However, this vulnerability is only possible by someone with privileges to add content to your DSpace site. This vulnerability has existed since DSpace 1.5.x, and was discovered by Jean-Paul Zhao (University of Toronto). More information is available at https://jira.duraspace.org/browse/DS-1702 (Requires a DuraSpace JIRA account to access for two weeks, and then will be publicly available) [LOW SEVERITY] Cross-site scripting (XSS injection) is possible in JSPUI Discovery search form: This vulnerability could allow someone to embed dangerous Javascript code into links to search results. If a user was emailed such a link and clicked it, the javascript would be run in their local browser. This vulnerability has existed since DSpace 3.x. It was discovered on DSpace 4.x and 5.x by Gabriela Mircea (McMaster University) and Khalil Shreateh. It was discovered on DSpace 3.x by Ilyas Orak (Biznet Bilisim A.S.). More information is
Re: [Dspace-tech] Shibboleth login on DSpace 4.2
Hi George, Sorry for the delayed response. This issue sounds very similar to this bug: https://jira.duraspace.org/browse/DS-2421 Simply put, I'm fairly certain the LDAPAuthentication plugin is not working correctly *unless* you configure either: search.anonymous=true OR specify both: search.user and search.password These are all in the authentication-ldap.cfg configuration file. I'm still searching out a volunteer to help resolve this bug in the code. Unfortunately, I don't have an LDAP locally that I can easily test against. - Tim On 2/23/2015 1:47 PM, George Stanley Kozak wrote: Hi… I’m trying to implement the Shibboleth Login as an option on my DSpace V. 4.2 XMLUI system. I am getting the proper login screen, but after logging in, I get “Authentication Failed” In the DSPace logs, I see: ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth authentication was not able to find a NetId, Email, or Tomcat Remote user for which to indentify a user from. ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the user. NetId Header: 'SHIB-NETID'='null' (Optional) Email Header: 'SHIB-MAIL'='null' First Name Header: 'SHIB-GIVENNAME'='null' Last Name Header: 'SHIB-SURNAME'='null' I’m trying to debug that now. I am wondering if I have the entityID and homeURL set correctly in my shibboleth2.xml file. What is the recommended settings for these values if one is using a DSpace installation? Thank you in advance for any help or suggestions. George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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-tech]: user profile
Hi Nada, Sorry for the delayed response. This issue sounds very similar to this bug: https://jira.duraspace.org/browse/DS-2421 Simply put, I'm fairly certain the LDAPAuthentication plugin is not working correctly *unless* you configure either: search.anonymous=true OR specify both: search.user and search.password These are all in the authentication-ldap.cfg configuration file. I'm still searching out a volunteer to help resolve this bug in the code. Unfortunately, I don't have an LDAP locally that I can easily test against. But, it sounds like you are hitting this LDAP Authentication bug. - Tim On 2/22/2015 2:16 AM, Nada Abo-Eita wrote: Hi Hilton, Thank you for your replay. When we conduct ldap search for a specific user, it gets all of these attributes about the user: * DN * uid * pdsLoginId * pdsLoginAlias * pdsIMSEnterpriseSourcedId * displayName * sn * givenName * pdsRole * mail * pdsCredentialExpired * pdsAccountCredentialChanged * ou * departmentNumber * manager * pdsGender * o * cn * telephoneNumber * pdsLoginSuccess * pdsLoginFailure So my concern here, Since ldap server is able to get all of the above, then Why the First Name, Last Name, telephone number are empty in dspace user form? On Wed, Feb 18, 2015 at 12:31 PM, Hilton Gibson hilton.gib...@gmail.com mailto:hilton.gib...@gmail.com wrote: Hi Can you supply a sample LDAP account attributes? See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search I presume this is about: http://qspace.qu.edu.qa 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 tel:%2B27%2021%20808%204100 | Cell: +27 84 646 4758 tel:%2B27%2084%20646%204758 On 18 February 2015 at 11:15, Nada Abo-Eita naboeit...@gmail.com mailto:naboeit...@gmail.com wrote: Dears, we are experiencing problem with populating e-person profile. Once the user logged in, only email address is filled. OTH, for the others (First name, Last name, Telephone Number) are empty. ( attached profile example ) So far this is how my authentication-ldap.cfg looks like: autoregister = true provider_url = ldap://ldap.qu.edu.qa:389/ http://ldap.qu.edu.qa:389/ #object context object_context = ou=people,o=qu.edu.qa http://qu.edu.qa/,o=cp # my ldap server DN #search context search_context = ou=people,o=qu.edu.qa http://qu.edu.qa/,o=cp email_field = mail surname_field = sn givenname_field = givenName phone_field = telephoneNumber Can someone help me figuring out Whats missing here? Do I need to configure this somewhere else? -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the
Re: [Dspace-tech] Shibboleth login on DSpace 4.2
Hi George, Apologies, I just responded to the wrong thread. :) This was meant for someone else, as you are obviously using Shibboleth authentication. - Tim On 2/26/2015 3:39 PM, Tim Donohue wrote: Hi George, Sorry for the delayed response. This issue sounds very similar to this bug: https://jira.duraspace.org/browse/DS-2421 Simply put, I'm fairly certain the LDAPAuthentication plugin is not working correctly *unless* you configure either: search.anonymous=true OR specify both: search.user and search.password These are all in the authentication-ldap.cfg configuration file. I'm still searching out a volunteer to help resolve this bug in the code. Unfortunately, I don't have an LDAP locally that I can easily test against. - Tim On 2/23/2015 1:47 PM, George Stanley Kozak wrote: Hi… I’m trying to implement the Shibboleth Login as an option on my DSpace V. 4.2 XMLUI system. I am getting the proper login screen, but after logging in, I get “Authentication Failed” In the DSPace logs, I see: ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth authentication was not able to find a NetId, Email, or Tomcat Remote user for which to indentify a user from. ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register new eperson because we are unable to find an email address along with first and last name for the user. NetId Header: 'SHIB-NETID'='null' (Optional) Email Header: 'SHIB-MAIL'='null' First Name Header: 'SHIB-GIVENNAME'='null' Last Name Header: 'SHIB-SURNAME'='null' I’m trying to debug that now. I am wondering if I have the entityID and homeURL set correctly in my shibboleth2.xml file. What is the recommended settings for these values if one is using a DSpace installation? Thank you in advance for any help or suggestions. George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] main servlet for url pattern: dspaceurl.com/*
Hi Pablo, Sorry for the delayed response. Assuming you are looking to use the XMLUI, I think what you are looking for is the XMLUI sitemap.xmap (which is an Apache Cocoon config): https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/sitemap.xmap This sitemap config file matches various URL path patterns and forwards them along to various Java classes, etc. Here's an example of a Regex match (which matches any path starting with a number, and redirects it to the /handle path where it is processed as an identifier): https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/sitemap.xmap#L653 So, you'll likely want something similar, depending on your exact needs. More info on SiteMaps is in the Cocoon documentation: http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html - Tim On 2/10/2015 3:20 AM, Pablo Buenaposada wrote: Hi, I want to modify the behavior when someone request an url like dspaceurl.com/1234-567-890-1234 What I understand is that I need to look if in web.xml there is a servlet that captures that url pattern, as java servlets doesn't allow regexp in url patterns, I think that the servlet that would capture any url like that is the one that maps /*. That mapping is already defined by dspace.request mapping, and I see that is related to org.dspace.utils.servlet.DSpaceWebappServletFilter, but If I make a print in that Java class, when I request dspaceurl.com/1234-567-890-1234 seems that the execution never goes through that class, well, any url I request never goes to that class, so I don't understand nothing. What's the java class that catches that petitions? Thanks. -- View this message in context: http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool
On Thu, Feb 26, 2015 at 10:12 AM, BARRERA BARRERA, Carlos carles.barr...@upf.edu wrote: Bad metadata declaration in row 1: id;collection;action It seems that you're using a semicolon as field separator. The separator has to be a comma. If already have a comma in the data, you should enclose the value in double quotes to prevent it from being treated as a separator. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Manakin, collection name
Dear all, I was hoping you could help me with something. We are trying to change the item view page in our DSpace. We have been rearranging the page by changing the order of dc metadata fields and it worked wonderfully. But now we have come to a moment where we need to use the name of the collection and sometimes even the name of the subcommunity (that the item belongs to). Is there a way to access the appropriate collection name from XSL page? I see this name that I need in head trail (breadcrumbs) but that component is being made in some of the aspects. I also see the name of the collection in the bottom part (this item appears in the following collection). The code looks something like this: xsl:variable name=data select=./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim/ a href={@OBJID} xsl:choose xsl:when test=string-length($data/dim:field[@element='title'][1]) gt; 0 xsl:value-of select=$data/dim:field[@element='title'][1]/ /xsl:when xsl:otherwise i18n:textxmlui.dri2xhtml.METS-1.0.no-title/i18n:text /xsl:otherwise /xsl:choose /a When I try to use that code snippet in item view page it doesn't show the collection name. It says Untitled. Is there something I need to change in order for this to work? Thanks ahead, Anja smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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 5 application not showing
Hi Euler and DSpace Team, I have executed the command as follows mvn clean -U package -Dmirage2.on=true? After executing it I then restarted tomcat and I still receive similar error. Build results were Successful for the above command Regards, Lewatle -Original Message- From: euler [mailto:esne...@seafdec.org.ph] Sent: 23 February 2015 04:20 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] DSpace 5 application not showing Hello Lewatle, Have you tried running mvn clean -U package -Dmirage2.on=true? During the rebuild, monitor the logs when it comes to DSpace XML-UI Mirage2 Theme :: Local Customisations part. I noticed that it will still result in BUILD SUCCESS even though some tasks failed to execute. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/DSpace-5-application-not-showing-tp4676744p4676745.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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 table width=100% border=0 cellspacing=0 cellpadding=0 style=width:100%; tr td align=left style=text-align:justify;font face=arial,sans-serif size=1 color=#99span style=font-size:11px;This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. /span/font/td /tr /table -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool
Hello, We are tring to reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool: [dspace]/bin/dspace metadata-import -f metadata.csv heading row: id,collection,action item rows: 28801,1,reinstate 26223,1,reinstate performing 'actions' on items, but throws the next error: Bad metadata declaration in row 1: id;collection;action Does anyone use this tool or know another way to make it? We look forward to your reply. Thank you, *Carles Barrera Barrera* /Programador/ Unitat d'Aplicacions Corporatives Servei d'Informàtica Plaça de la Mercè, 10-12 | 08002 Barcelona [Tel.] (+34) 93 542 16 93[Fax.] (+34) 93 542 21 45 carles.barr...@upf.edu http://www.upf.edu/bibtic/ [image: Universitat Pompeu Fabra, Barcelona] -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Manakin, collection name
Hi Anja :) I think you are right. Can you please give me an example how to access trail part from item-view.xsl. Until now I have only been accessing metadata fields and it was through dim:field. For example, I was using: xsl:value-of select=dim:field[@element='description'][@qualifier='tableofcontents']/child::node() /. Is there a way to access trail element in similar fashion? Thank you very much ahead, Anja On 2/26/2015 12:23 PM, Anja Le Blanc wrote: Hi Anja If you go to your item page and add '?XML' (http://[URL]/xmlui/[handle]?XML) to the URL you can see which data you can access. The content of trail... might be what you are after. Best regards, Anja smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Manakin, collection name
Hi Anja I don't know a lot about XLST ... I think the path to the data should be something like /dri:document/dri:meta/dri:pageMeta/dri:trail But I am sure there are other people on this list who can help you further. Best regards Anja -- Anja Le Blanc Software Developer University of Manchester Library On 26/02/2015 11:42, Anja Radoicic wrote: Hi Anja :) I think you are right. Can you please give me an example how to access trail part from item-view.xsl. Until now I have only been accessing metadata fields and it was through dim:field. For example, I was using: xsl:value-of select=dim:field[@element='description'][@qualifier='tableofcontents']/child::node() /. Is there a way to access trail element in similar fashion? Thank you very much ahead, Anja On 2/26/2015 12:23 PM, Anja Le Blanc wrote: Hi Anja If you go to your item page and add '?XML' (http://[URL]/xmlui/[handle]?XML) to the URL you can see which data you can access. The content of trail... might be what you are after. Best regards, Anja -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] Manakin, collection name
Hi Anja, save it in a variable outside any template, then you can use it even in any dim template. xsl:variable name='trail'xsl:copy-of select=/dri:document/dri:meta/dri:pageMeta/dri:trail//xsl:variable Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool
El 26/02/15 a les 12:13, Àlex Magaz Graça ha escrit: El 26/02/15 a les 10:12, BARRERA BARRERA, Carlos ha escrit: Hello, We are tring to reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool: [dspace]/bin/dspace metadata-import -f metadata.csv heading row: id,collection,action item rows: 28801,1,reinstate 26223,1,reinstate performing 'actions' on items, but throws the next error: Bad metadata declaration in row 1: id;collection;action Does anyone use this tool or know another way to make it? We look forward to your reply. Thank you, *Carles Barrera Barrera* /Programador/ Unitat d'Aplicacions Corporatives Servei d'Informàtica Plaça de la Mercè, 10-12 | 08002 Barcelona [Tel.] (+34) 93 542 16 93[Fax.] (+34) 93 542 21 45 carles.barr...@upf.edu mailto:carles.barr...@upf.edu http://www.upf.edu/bibtic/ Universitat Pompeu Fabra, Barcelona -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 Hello Carlos, You must remove the first row with the headers for it to work. Cheers, Àlex -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 Forget it. My mind got mixed with PostgreSQL... -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 5 - Embargo lift date - message to administrator
Hi Lotta The embargo of DSpace 5 works different from 1.8.2. It don't use metadata to store the date of the end ot the embargo. Dspace 5 store the policy with a start date. So is the authorization system which start using this policy when the date is reached. Sending an email to administrator can be done creating a curation tast that search the resource policy of items and send an email if its date is near. Then a crontab calling this curation nightly will do the job. regards Hello A question regarding the Embargo lift date of DSPace 5 (XMLUI) – even if we are still on 1.8.2 (XMLUI) . When the lifter discovers an item whose lift date is in the past, it removes (lifts) the embargo. I read in available DSpace 5 manual that you will be able ” to send an email to an administrator or other interested parties when an embargoed item becomes available.” Is there further information on how to set this alert / mailing up somewhere? Many thanks Lotta Lotta Svantesson EUI Repository Manager Library European University Institute (EUI) Via dei Roccettini, 9 50014 San Domenico di Fiesole (Florence) – Italy Office phone: +39 055 4685 368 - Fax: +39 055 4685 283 e-mail: _lotta.svantesson@eui.eu_- _cadmus@eui.eu_ web: www.eui.eu http://www.eui.eu/- _cadmus.eui.eu___ Please don’t print this e-mail unless you really need to The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, distribution, forwarding, or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited without the express permission of the sender. If you received this communication in error, please contact the sender and delete the material from any computer. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- --- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. http://www.avast.com -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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 5 - Embargo lift date - message to administrator
On 26 February 2015 at 14:05, Adan Roman aro...@arvo.es wrote: Sending an email to administrator can be done creating a curation tast that search the resource policy of items and send an email if its date is near. Hi Adan Do you have a published example of this curation task? 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Manakin, collection name
Hi helix84 :) This helps me save the trail variable. Now I have to somehow acces the fourth or fifth element of the trail. Is there a way to do that? Also, this is just a workaround to access the collection name. Is there another way that you would suggest to get to a collection name or community name from xsl file? We are new to DSpace so your help is very much appreciated, thanks once more, Anja On 2/26/2015 12:59 PM, helix84 wrote: Hi Anja, save it in a variable outside any template, then you can use it even in any dim template. xsl:variable name='trail'xsl:copy-of select=/dri:document/dri:meta/dri:pageMeta/dri:trail//xsl:variable Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Want to add custom filter type in dspace 4.x search filter facet
in jspui version english Message.Properties isn't as you expect in the installed directory. You have to modify it in the source directory and return to compile, the file is located here sourceFolder/dspace-api/src/main/resources/ -- View this message in context: http://dspace.2283337.n4.nabble.com/Want-to-add-custom-filter-type-in-dspace-4-x-search-filter-facet-tp4676738p4676788.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 5 - Embargo lift date - message to administrator
Hi, On 27/02/15 01:09, Hilton Gibson wrote: On 26 February 2015 at 14:05, Adan Roman aro...@arvo.es wrote: Sending an email to administrator can be done creating a curation tast that search the resource policy of items and send an email if its date is near. Do you have a published example of this curation task? I'm not Adan, but I have written a task that counts items with resource policies that have start and/or end dates in the future. So this could be modified to include a check how close to the current date these will come into effect. It's here: https://github.com/lconz-irr/Curation-Tasks/blob/6dbaca66be7b0d55bc5e0b551172ac5dc6006ab1/src/main/java/nz/ac/lconz/irr/curate/task/thesisembargo/FindAutolift.java Note that it expects three configuration settings via the curation task configuration mechanism (ie file in the config/module directory with name taskname.cfg where taskname matches the name of this task in curate.cfg): recipients - comma-separated list of recipients for the e-mail. If this is empty, the task can still be run from the command line or admin interface, it just won't e-mail. email.send-if-empty - whether to send an e-mail even when there are 0 such items. Default false. template - name of the e-mail template. Default "autolift_items_email". The e-mail template can simply look like this: # Parameters: {0} curation task output Subject: Items with future policies The curation task reports the following result: {0} DSpace I hope this helps. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Manakin, collection name
Hi, On 27/02/15 01:16, Anja Radoicic wrote: This helps me save the trail variable. Now I have to somehow acces the fourth or fifth element of the trail. Is there a way to do that? Also, this is just a workaround to access the collection name. Is there another way that you would suggest to get to a collection name or community name from xsl file? There is, it's just one more step. Look at this item here, on the demo server: http://demo.dspace.org/xmlui/handle/10673/93 Add ?XML to look at the XML, like you did for the trail: http://demo.dspace.org/xmlui/handle/10673/93?XML Then look at this section here: referenceSet id="aspect.artifactbrowser.ItemViewer.referenceSet.collection-viewer" type="summaryView" n="collection-viewer" reference repositoryID="10673" type="DSpace Item" url="" referenceSet type="itemPageSummaryList" rend="hierarchy" reference repositoryID="10673" type="DSpace Collection" url=""/ /referenceSet /reference /referenceSet The hierarchy tells you which collection this item is in. It gives you the link to the collection's mets.xml. So have a look at that one http://demo.dspace.org/xmlui//metadata/handle/10673/22/mets.xml and you will see the title here: dim:field mdschema="dc" element="title"The scramble for and Partition of Africa/dim:field Now, to put this all together -- in the same spot where you are assigning the trail to a variable, instead do this: obtain the URL of the collection's mets.xml file from the snippet above load that mets file via the XSL document function (http://www.w3schools.com/xsl/func_document.asp) from the loaded document, select the title metadata (and/or whatever else you want, eg identifier for the link). then assign _that_ to a variable and pass it into item-view.xsl I hope this makes sense, I don't have time to go into more detail right now, sorry. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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