[Dspace-tech] Σχετ: Σχετ: url redirection on view/open for an item
Well , i mean a web application (created with php) , running in a local server .It has nothing to do with XMLUI . Maybe an example will help: 1)We have a Dspace user who wants to view some pdf files. 2) As soon as he hits the view open button of one of those files , the content of the pdf is passed to my app as a parameter (That's why i mentioned the get method) bypassing Dspace's view of this bitstream 3) Then my app do its job which is a different representation of that very file . So , since the template that renders the file is this xsl:template match=mets:fileGrp[@USE='CONTENT'] I guess that i have to put some code somewhere there in order to trigger this dynamic functionality Sorry if i confused you . Thank you Απο: helix84 heli...@centrum.sk Προς: Μάριος Πετρόπουλος acid...@yahoo.gr Κοιν.: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Στάλθηκε: 6:43 π.μ. Δευτέρα, 24 Ιουνίου 2013 Θέμα: Re: Σχετ: [Dspace-tech] url redirection on view/open for an item Hi Marios, I don't really understand your question. What do you mean by application? Do you mean a desktop application from which you're trying to access the DSpace data? Or a web application? Or just a XMLUI theme? Please, provide as much detail as you can. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette-- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Σχετ: url redirection on view/open for an item
Thanks, it's clear now. Instead of the xsl:template match=mets:fileGrp[@USE='CONTENT'] template, you should override the xsl:template match=mets:file template. The only thing you need to change in that template is the value of href attribute as you can see below. For clarity, I added the $baseurl variable separately. xsl:variable name=baseurl select=concat(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='scheme'], '://', /dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverName'], ':', /dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='serverPort'])/ !-- Build a single row in the bitstreams table of the item view page -- xsl:template match=mets:file xsl:param name=context select=./ tr xsl:attribute name=class xsl:textds-table-row /xsl:text xsl:if test=(position() mod 2 = 0)even /xsl:if xsl:if test=(position() mod 2 = 1)odd /xsl:if /xsl:attribute td a xsl:attribute name=href xsl:value-of select=concat('http://yourapp.com/path/script.php?file=', $baseurl, mets:FLocat[@LOCTYPE='URL']/@xlink:href)/ /xsl:attribute ... Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace Sherpa/Romeo Google Scholar
El 24/06/2013 23:51, remi asare escribió: Hi people, I have two little questions: 1.) In dspace.cfg file there is this line for Sherpa/Romeo ## configure SHERPA/RoMEO authority plugin #sherpa.romeo.url = http://www.sherpa.ac.uk/romeo/api24.php What does it do actually? Does it somehow link DSpace with Sherpa Romeo? This is an authority control connection (well, the lookup feature ) to search validate Journal or publisher titles against the Sherpa-Romeo database using the api provided by them: http://www.sherpa.ac.uk/romeo/api.html 2.) There is also this line about google scholar in the same file. Am I right to think that it enables google scholar harvesting? # Google Scholar Metadata Configuration # google-metadata.config = ${dspace.dir}/config/crosswalks/google-metadata.properties google-metadata.enable = true I think the indexing (not harvesting, Google dont use OAI-PMH) is always made ( please validate that). But that configuration( google-metadata.properties) helps google in mapping the expected metadata to the rigth google scholar values. For installations with low dublin-core customization, the values provided usually are OK. Regards -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Σχετ: url redirection on view/open for an item
By the way, once you get that working, you may want to urlencode the bitstream URL before you add it as parameter to the URL, for two reasons 1) if the filename itself contains non-ascii characters and 2) to prevent the ?sequence=1 parameter from causing problems. Here is one suggested solution: http://stackoverflow.com/questions/2425516/xslt-version-1-url-encoding/3518109#3518109 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace Sherpa/Romeo Google Scholar
Thanks for the clarifications 2013/6/25 emilio lorenzo elore...@arvo.es El 24/06/2013 23:51, remi asare escribió: Hi people, I have two little questions: 1.) In dspace.cfg file there is this line for Sherpa/Romeo ## configure SHERPA/RoMEO authority plugin #sherpa.romeo.url = http://www.sherpa.ac.uk/romeo/api24.php What does it do actually? Does it somehow link DSpace with Sherpa Romeo? This is an authority control connection (well, the lookup feature ) to search validate Journal or publisher titles against the Sherpa-Romeo database using the api provided by them: http://www.sherpa.ac.uk/romeo/api.html 2.) There is also this line about google scholar in the same file. Am I right to think that it enables google scholar harvesting? # Google Scholar Metadata Configuration # google-metadata.config = ${dspace.dir}/config/crosswalks/google-metadata.properties google-metadata.enable = true I think the indexing (not harvesting, Google dont use OAI-PMH) is always made ( please validate that). But that configuration( google-metadata.properties) helps google in mapping the expected metadata to the rigth google scholar values. For installations with low dublin-core customization, the values provided usually are OK. Regards -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] underlined title by default in dspace
Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Importing Items via Endnote
Thank you Kostas! Lilly From: kstama...@ekt.gr To: lill...@hotmail.com; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Importing Items via Endnote Date: Tue, 25 Jun 2013 08:01:01 +0300 Hello Lilly, At this point, Endnote libraries cannot be loaded to DSpace directly. Take a look at this link: https://wiki.duraspace.org/pages/viewpage.action?pageId=32481931 You can export your endnote library in the specified formats (like RIS http://en.wikipedia.org/wiki/RIS_(file_format)) and then load it to DSpace, but again, attached PDFs will not be loaded. We are in the process of extending the BTE functionality, thus, the case of importing directly endnote libraries would be a good example of extension. In the aforementioned link, you can find information on how you can extend the BTE functionality by adding a new DataLoader (i.e. For endnote library) or a new OutputGenerator (i.e to export files). However, this procedure needs programmatic skills. Regards, Kostas From: LiYu Lilly [mailto:lill...@hotmail.com] Sent: Monday, June 24, 2013 10:48 PM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Importing Items via Endnote Hi everyone, We are about to upgrade to DSpace 3.0. I have a question about loading Endnote library into DSpace -- is it able to load both citations and the attached PDF files/ URLs? Thanks much, Lilly -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Request a copy and v3.1?
Hi, I'm in the process of implementing a DSpace v3.1 DEV system with a view to migrating our live service from v1.6.2 once all our local customisations etc are complete in v3.1. The next task on my list is to re-implement the Request a copy add-on (https://wiki.duraspace.org/display/DSPACE/RequestCopy) which we've been using successfully in our live system since its earliest days. When we moved to v1.6.2 there wasn't a version of the add-on available for that version of DSpace, so I just mucked about with the original version of the add-on until I got it working in v1.6.2. Now I'm moving to v3.1 I note that on the Wiki page for the Addon it says: Available soon for DSpace 3. - so first question is, is anyone actively working on this, and, if so, is there an ETA for it (days, weeks, months)? If there is work on-going, it goes without saying that I'd be happy to help if I can (although I probably know just about enough to be dangerous ;-) ) If it is not on the immediate horizon, I'm happy to have a go at getting one of the earlier versions working in v3 - my first thought is just to try and get my current version of the add-on (originally for DSpace v1.3, then reworked locally for v1.6.2) working in v3.1 as it includes a number of minor tweaks to the original behaviour, but perhaps I should be starting from scratch with v3 of the Addon (intended for DSpace v1.8.2) . . . . (?) Does anyone have any experience implementing this Addon in DSpace v3(.1)? If so, did you migrate from an existing implementation or start from scratch with the latest version of the add-on? Anyone know of any good reason not to simply re-implement the version I have working in v1.6.2 in v3.1 (e.g. it won't work because of database change X that came in v1.7/8; the latest version is much better because it includes feature X, etc) . . . Just thought I'd ask before heading down a road that might take me nowhere, especially if others have already blazed a trail elsewhere that I can follow :-) Cheers, Mike Michael White eLearning Liaison and Development (eLD) Information Services S8, Library University of Stirling Stirling SCOTLAND FK9 4LA Email: michael.wh...@stir.ac.uk Tel: +44 (0) 1786 466877 Fax: +44 (0) 1786 466880 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld -- The University of Stirling is ranked in the top 50 in the world in The Times Higher Education 100 Under 50 table, which ranks the world's best 100 universities under 50 years old. The University of Stirling is a charity registered in Scotland, number SC 011159. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Dspace 3.1 Installation Manual for Windows 2003 serverr
All the LIS Professionals and Dspace Developers, I am using Windows 2003 server OS and need detailed installation manual / Guidelines to install and customize Dspace 3.1. I hope you will help me in this regard. Thank you -- Regards Mr. Shivraj Thorat Librarian BVDU, Institute of Management Entrepreneurship Development Paud Rd, Kothrud, Pune-38 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Dspace 3.1 Installation Manual for Windows 2003 serverr
The install customization and instructions its like the linux. changes exists running handle services, allover its similar. -- View this message in context: http://dspace.2283337.n4.nabble.com/Dspace-3-1-Installation-Manual-for-Windows-2003-serverr-tp4665251p4665255.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Anonymous feedback (contact administrator)
Hi, anyone knows the way to enable for that any visitor can contact to repository administrator without login in feedback link? thanks -- View this message in context: http://dspace.2283337.n4.nabble.com/Anonymous-feedback-contact-administrator-tp4665256.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Anonymous feedback (contact administrator)
El 25/06/2013 21:03, hblancoca escribió: Hi, anyone knows the way to enable for that any visitor can contact to repository administrator without login in feedback link? The feedback link ../base_dspace_url/feedback can be used without any kind of authentication. If you are having problems with that link (perhaps an org.dspace.authorize.AuthorizeException) the cause must be a missing configuration in dspace.cfg (mail.allowed.referrers parameter), and not the need to authenticate... Emilio Lorenzo -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Anonymous feedback (contact administrator)
Hi, feedback link is not protected with login page by default. You encounter this problem because DSpace tries to Prevent spammers and splogbots from poisoning the feedback page. To overcome the problem, you must set in the dspace.cfg file the correct value for the dspace.hostname option. Regards, Kostas On Jun 25, 2013, at 10:03 PM, hblancoca hblanc...@gmail.com wrote: Hi, anyone knows the way to enable for that any visitor can contact to repository administrator without login in feedback link? thanks -- View this message in context: http://dspace.2283337.n4.nabble.com/Anonymous-feedback-contact-administrator-tp4665256.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Request a copy and v3.1?
Hi Michael, I ignore if it is useful for you, but we have ready the 3.1 version for XMLUI, Jira DS-1585. We expect to push to the git system ending this week The jira Issue DS 1585 is the translation to XMLUI of the request copy add-on of the University of Minho (for JSPUI) . It is related to DS-830 https://jira.duraspace.org/browse/DS-830 and also has some of the functionality described in DS-824 https://jira.duraspace.org/browse/DS-824. Regards Emilio Lorenzo El 25/06/2013 16:04, Michael White escribió: Hi, I'm in the process of implementing a DSpace v3.1 DEV system with a view to migrating our live service from v1.6.2 once all our local customisations etc are complete in v3.1. The next task on my list is to re-implement the Request a copy add-on (https://wiki.duraspace.org/display/DSPACE/RequestCopy) which we've been using successfully in our live system since its earliest days. When we moved to v1.6.2 there wasn't a version of the add-on available for that version of DSpace, so I just mucked about with the original version of the add-on until I got it working in v1.6.2. Now I'm moving to v3.1 I note that on the Wiki page for the Addon it says: Available soon for DSpace 3. - so first question is, is anyone actively working on this, and, if so, is there an ETA for it (days, weeks, months)? If there is work on-going, it goes without saying that I'd be happy to help if I can (although I probably know just about enough to be dangerous ;-) ) If it is not on the immediate horizon, I'm happy to have a go at getting one of the earlier versions working in v3 - my first thought is just to try and get my current version of the add-on (originally for DSpace v1.3, then reworked locally for v1.6.2) working in v3.1 as it includes a number of minor tweaks to the original behaviour, but perhaps I should be starting from scratch with v3 of the Addon (intended for DSpace v1.8.2) . . . . (?) Does anyone have any experience implementing this Addon in DSpace v3(.1)? If so, did you migrate from an existing implementation or start from scratch with the latest version of the add-on? Anyone know of any good reason not to simply re-implement the version I have working in v1.6.2 in v3.1 (e.g. it won't work because of database change X that came in v1.7/8; the latest version is much better because it includes feature X, etc) . . . Just thought I'd ask before heading down a road that might take me nowhere, especially if others have already blazed a trail elsewhere that I can follow :-) Cheers, Mike Michael White eLearning Liaison and Development (eLD) Information Services S8, Library University of Stirling Stirling SCOTLAND FK9 4LA Email: michael.wh...@stir.ac.uk Tel: +44 (0) 1786 466877 Fax: +44 (0) 1786 466880 http://www.stir.ac.uk/is/staff/about/teams/aldt/#eld -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
Yeah, it helps a lot. Thanks I'm just gonna bother one last time. The file news-side.html is html but i'm trying to add an over there it is not being displayed. Do you know why? Regards 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net http://sf.net/ email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
it is an image i'm trying to put there. Sorry 2013/6/25 Kostas Stamatis kstama...@ekt.gr I do not understand what you want to add in the html file... can you rewrite your question? Also, try to reload the webapp, maybe this is the reason why the new html is not being loaded. Kostas On Jun 25, 2013, at 11:09 PM, remi asare remi.as...@gmail.com wrote: Yeah, it helps a lot. Thanks I'm just gonna bother one last time. The file news-side.html is html but i'm trying to add an over there it is not being displayed. Do you know why? Regards 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net http://sf.net/ email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
It seems to work for me in my demo DSpace. Justa dded the following in the html file, at the end: img src=http://stuffkit.com/wp-content/uploads/2013/05/Nature-Art-Gallery.jpg/ and I am able to see the image (random image taken from the web :). Be sure to edit file news-side.html and not the news-top.html which is located in the same folder. No reload is needed. Kostas On Jun 25, 2013, at 11:19 PM, remi asare remi.as...@gmail.com wrote: it is an image i'm trying to put there. Sorry 2013/6/25 Kostas Stamatis kstama...@ekt.gr I do not understand what you want to add in the html file... can you rewrite your question? Also, try to reload the webapp, maybe this is the reason why the new html is not being loaded. Kostas On Jun 25, 2013, at 11:09 PM, remi asare remi.as...@gmail.com wrote: Yeah, it helps a lot. Thanks I'm just gonna bother one last time. The file news-side.html is html but i'm trying to add an over there it is not being displayed. Do you know why? Regards 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Statistics start-up problems
Hi: I've installed DSpace 3.1 (xmlui) on an XP workstation here, for testing. Generally, things seem to be working well, and customization of the user interface has been straightforward. However, I'm stymied by the statistics. Here is what I'm getting -- View Usage Statistics : No results, blank page (with menus). View Search Statistics : There was an error while generating the search statistics, please try again later. View Workflow Statistics : There was an error while generating the search statistics, please try again later. I'm new to DSpace, so I've been over the documentation pretty carefully. It makes sense to me that I would need to run some batch jobs to prepare statistics, but none of these appear in the 3.1 /bin folder: [dspace]/bin/sub-daily [dspace]/bin/filter-media [dspace]/bin/checker -lp [dspace]/bin/dsrun org.dspace.checker.DailyReportEmailer -c [dspace]/bin/stat-general [dspace]/bin/stat-monthly [dspace]/bin/stat-report-general [dspace]/bin/stat-report-monthly I can query solr directly, so it would seem to be in the right place and configured properly. Is this something very simple that I am overlooking ... or is it a Windows issue? Gord * * * * * * * * * * * * * * * * * * * * * Gord Ripley, Research and Development Librarian, Bata Library, Trent University, 1600 West Bank Drive, Peterborough, Ontario K9J 7B8 Voice : 705- 748-1011 ext. 7517 E-mail : grip...@trentu.ca Web : http://people.trentu.ca/gripley/ * * * * * * * * * * * * * * * * * * * * * -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
It worked. I was adding the image before the p /p. Can it be my mistake? Thanks a bundle 2013/6/25 Kostas Stamatis kstama...@ekt.gr It seems to work for me in my demo DSpace. Justa dded the following in the html file, at the end: img src= http://stuffkit.com/wp-content/uploads/2013/05/Nature-Art-Gallery.jpg/ and I am able to see the image (random image taken from the web :). Be sure to edit file news-side.html and not the news-top.html which is located in the same folder. No reload is needed. Kostas On Jun 25, 2013, at 11:19 PM, remi asare remi.as...@gmail.com wrote: it is an image i'm trying to put there. Sorry 2013/6/25 Kostas Stamatis kstama...@ekt.gr I do not understand what you want to add in the html file... can you rewrite your question? Also, try to reload the webapp, maybe this is the reason why the new html is not being loaded. Kostas On Jun 25, 2013, at 11:09 PM, remi asare remi.as...@gmail.com wrote: Yeah, it helps a lot. Thanks I'm just gonna bother one last time. The file news-side.html is html but i'm trying to add an over there it is not being displayed. Do you know why? Regards 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net http://sf.net/ email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] underlined title by default in dspace
You can add it wherever you like, even within p and /p. Anyway, problem solved. Kostas On Jun 25, 2013, at 11:42 PM, remi asare remi.as...@gmail.com wrote: It worked. I was adding the image before the p /p. Can it be my mistake? Thanks a bundle 2013/6/25 Kostas Stamatis kstama...@ekt.gr It seems to work for me in my demo DSpace. Justa dded the following in the html file, at the end: img src=http://stuffkit.com/wp-content/uploads/2013/05/Nature-Art-Gallery.jpg/ and I am able to see the image (random image taken from the web :). Be sure to edit file news-side.html and not the news-top.html which is located in the same folder. No reload is needed. Kostas On Jun 25, 2013, at 11:19 PM, remi asare remi.as...@gmail.com wrote: it is an image i'm trying to put there. Sorry 2013/6/25 Kostas Stamatis kstama...@ekt.gr I do not understand what you want to add in the html file... can you rewrite your question? Also, try to reload the webapp, maybe this is the reason why the new html is not being loaded. Kostas On Jun 25, 2013, at 11:09 PM, remi asare remi.as...@gmail.com wrote: Yeah, it helps a lot. Thanks I'm just gonna bother one last time. The file news-side.html is html but i'm trying to add an over there it is not being displayed. Do you know why? Regards 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, regarding the right sidebar, you should check the file {your_jspui_webapp_path}/home.jsp. If you want to totally remove the sidebar, comment out the lines starting from the one that says dspace:sidebar to line that says /dspace:sidebar . This will remove the whole sidebar. If you want to leave the RSS feeds unaffected, comment out only the line that says %= sideNews %. If you just want to change the message that is displayed in this sidebar, go to file {your_dspace_install_dir}/config/news-side.html and do any modifications you like. This file is called within home.jsp file in line that says: String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, news-side.html)); . Hope it helps. Regards, Kostas On Jun 25, 2013, at 9:47 PM, remi asare remi.as...@gmail.com wrote: Works like a charm! Thanks. by the way, i want to hide the side bar where it is written This is a de fault installation of DSpace! It can be extensively configured by installing modified JSPs, and altering the site configuration. I commented the line in the footer-default.jsp but it didn't work. Do you know how i can? 2013/6/25 Kostas Stamatis kstama...@ekt.gr Dear Remi, I don't seem to understand your question, but I will give it a try. If I guess correctly, you do not want the title to be underlined. But the underlined decoration exists generally in all the links through out DSpace. This is the default that is set by your browser. If you want to remove the underline decoration you need to declare it explicitly in the css which is located in {your_jspui_webapp}/styles.css. At the very beginning, it says: A { color: #336699 }, which means that all the links will have the specified color. Make it: A { color: #336699; text-decoration: none; }, which means, that no decoration is needed for the a html elements, thus, no underline. Now, refresh your page and check the difference in the UI. None of the links will be underlined (not only the title) even the links in the sidebar. If you want only the title, then you need to add the text-decoration: none for the specific a elements of the html! Regards, Kostas On Jun 25, 2013, at 4:15 PM, remi asare remi.as...@gmail.com wrote: Hi, I've been trying to find a way to undo the html code that makes the title in dspace jspui interface by default but i couldn't. Can anybody help please? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Statistics start-up problems
Hi, Do you read http://wiki.lib.sun.ac.za/index.php/SUNScholar/Daily_Admin? In special: @daily /home/dspace/bin/dspace stats-util -b -r @weekly /home/dspace/bin/dspace stats-util -o @monthly/home/dspace/bin/dspace stats-util -u -m -i -f On Tue, Jun 25, 2013 at 5:40 PM, Gord Ripley grip...@trentu.ca wrote: Hi: I've installed DSpace 3.1 (xmlui) on an XP workstation here, for testing. Generally, things seem to be working well, and customization of the user interface has been straightforward. However, I'm stymied by the statistics. Here is what I'm getting -- View Usage Statistics : No results, blank page (with menus). View Search Statistics : There was an error while generating the search statistics, please try again later. View Workflow Statistics : There was an error while generating the search statistics, please try again later. I'm new to DSpace, so I've been over the documentation pretty carefully. It makes sense to me that I would need to run some batch jobs to prepare statistics, but none of these appear in the 3.1 /bin folder: [dspace]/bin/sub-daily [dspace]/bin/filter-media [dspace]/bin/checker -lp [dspace]/bin/dsrun org.dspace.checker.DailyReportEmailer -c [dspace]/bin/stat-general [dspace]/bin/stat-monthly [dspace]/bin/stat-report-general [dspace]/bin/stat-report-monthly I can query solr directly, so it would seem to be in the right place and configured properly. Is this something very simple that I am overlooking ... or is it a Windows issue? Gord * * * * * * * * * * * * * * * * * * * * * Gord Ripley, Research and Development Librarian, Bata Library, Trent University, 1600 West Bank Drive, Peterborough, Ontario K9J 7B8 Voice : 705- 748-1011 ext. 7517 E-mail : grip...@trentu.ca Web : http://people.trentu.ca/gripley/ * * * * * * * * * * * * * * * * * * * * * -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Lock down user regn. in dspace jspui
Hi all, We want a closed user-community for DSpace, where the DSpace admin will be creating user accounts and distributing them to users. So, under JSPUI, how does one lock down User Registration so that only the admin can create user accounts? Under XMLUI, it looks like there's the following configuration: xmlui.user.registration false However, I haven't found an equivalent configuration under JSPUI. Please let me know how we can lock down user registration in jspui. Thanks again for your time. Ribin Jones S.B -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Lock down user regn. in dspace jspui
Dear Ribin, What you need to do is the following: 1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 2) Add the following lines (around line 73 - in the filter mapping section): filter-mapping filter-nameadmin-only/filter-name url-pattern/register/url-pattern /filter-mapping This tells DSpace that the /register URL will be protected and only admin can have access. 3) Reload webapp I guess that you might want to remove the link to the registration page as well. For this: 1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp 2) Comment out line 21 which prints the link to the register servlet Best regards Kostas -Original Message- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 7:39 AM To: dspace-tech Subject: [Dspace-tech] Lock down user regn. in dspace jspui Hi all, We want a closed user-community for DSpace, where the DSpace admin will be creating user accounts and distributing them to users. So, under JSPUI, how does one lock down User Registration so that only the admin can create user accounts? Under XMLUI, it looks like there's the following configuration: xmlui.user.registration false However, I haven't found an equivalent configuration under JSPUI. Please let me know how we can lock down user registration in jspui. Thanks again for your time. Ribin Jones S.B -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Lock down user regn. in dspace jspui
Hi, My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of which 21st line is already commented out which is a part of copyright instructions. One more thing I need is that new users need not be registered..meanwhile outside users should have a provision to contact the Dspace admin. Ribin Jones S.B - Original Message - From: Kostas Stamatis kstama...@ekt.gr To: ribin jones ribin.jo...@niist.res.in, dspace-tech dspace-tech@lists.sourceforge.net Sent: Wednesday, 26 June, 2013 10:27:43 AM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui Dear Ribin, What you need to do is the following: 1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 2) Add the following lines (around line 73 - in the filter mapping section): filter-mapping filter-nameadmin-only/filter-name url-pattern/register/url-pattern /filter-mapping This tells DSpace that the /register URL will be protected and only admin can have access. 3) Reload webapp I guess that you might want to remove the link to the registration page as well. For this: 1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp 2) Comment out line 21 which prints the link to the register servlet Best regards Kostas -Original Message- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 7:39 AM To: dspace-tech Subject: [Dspace-tech] Lock down user regn. in dspace jspui Hi all, We want a closed user-community for DSpace, where the DSpace admin will be creating user accounts and distributing them to users. So, under JSPUI, how does one lock down User Registration so that only the admin can create user accounts? Under XMLUI, it looks like there's the following configuration: xmlui.user.registration false However, I haven't found an equivalent configuration under JSPUI. Please let me know how we can lock down user registration in jspui. Thanks again for your time. Ribin Jones S.B -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Lock down user regn. in dspace jspui
Hi, I commented out the below line and it worked: pstronga href=%= request.getContextPath() %/registerfmt:message key=jsp.components.login-form.newuser//a/strong/p This was actually line no. 52 for me. Now, what can be done so that a user can contact the dspace admin? Ribin Jones S.B - Original Message - From: ribin jones ribin.jo...@niist.res.in To: Kostas Stamatis kstama...@ekt.gr Cc: dspace-tech dspace-tech@lists.sourceforge.net Sent: Wednesday, 26 June, 2013 10:42:37 AM Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui Hi, My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of which 21st line is already commented out which is a part of copyright instructions. One more thing I need is that new users need not be registered..meanwhile outside users should have a provision to contact the Dspace admin. Ribin Jones S.B - Original Message - From: Kostas Stamatis kstama...@ekt.gr To: ribin jones ribin.jo...@niist.res.in, dspace-tech dspace-tech@lists.sourceforge.net Sent: Wednesday, 26 June, 2013 10:27:43 AM Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui Dear Ribin, What you need to do is the following: 1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 2) Add the following lines (around line 73 - in the filter mapping section): filter-mapping filter-nameadmin-only/filter-name url-pattern/register/url-pattern /filter-mapping This tells DSpace that the /register URL will be protected and only admin can have access. 3) Reload webapp I guess that you might want to remove the link to the registration page as well. For this: 1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp 2) Comment out line 21 which prints the link to the register servlet Best regards Kostas -Original Message- From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] Sent: Wednesday, June 26, 2013 7:39 AM To: dspace-tech Subject: [Dspace-tech] Lock down user regn. in dspace jspui Hi all, We want a closed user-community for DSpace, where the DSpace admin will be creating user accounts and distributing them to users. So, under JSPUI, how does one lock down User Registration so that only the admin can create user accounts? Under XMLUI, it looks like there's the following configuration: xmlui.user.registration false However, I haven't found an equivalent configuration under JSPUI. Please let me know how we can lock down user registration in jspui. Thanks again for your time. Ribin Jones S.B -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette