[Dspace-tech] New 'Dspace-Rest-Client' Ruby Gem
Hello, folks! I and my teammates are building a Ruby gem to interact to DSpace REST-API to make easier to implement a Ruby (on Rails) app that uses DSpace as file and information server. The gem already has some functional features - such as get/post/put objects, login, logout and status request - but it is still on a very early stage of implementation. It uses 'rest-client' to do the requests. Most of what is missing are only some basic requests, error detection, and some other basic stuff that we decided to do later. The Source-Code is hosted at: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client There is a example script on README file that shows how to use it. Basically there are 4 classes that implements each kind of Dspace object (Community, Collection, Item and Bitstream), and requests returns an single instance or an array of instances of some object. GET requests returns the required object, POST/PUT requests returns the object that has been created. Feel free to propose changes, to point mistakes, ... because that's what we want! We really hope you enjoy it and that it may help someone at some point! Cheers! -- Bruno Nocera Zanette +55 41 9992-2508 -- 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] JSPUI and CC metadata
Hello, We need that JSPUI (4.2) add CC license uri to metadata when submit a item. It seems that JSPUI can't do this: For the JSP UI, Creative Commons licensing is effected by opening an Iframe to the Creative Commons site and capturing the selection result in several bitstreams, but the XML UI utilizes a more flexible web service. By default, when a license is selected in the interface, the URI for the license is stored in the 'dc.rights.uri' metadata field for the Item, and a representation of the license text is stored in a license bundle. ( https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-ConfiguringCreativeCommonsLicense ) Does anyone has a solution to this issue? Regards Xaquín Lores -- 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] News Box
Dear Claudia, thank you very much!Yes, I did resolved the problem with your help.Best regards,B. Róbert On Wednesday, January 28, 2015 1:34 PM, Claudia Jürgen claudia.juer...@ub.tu-dortmund.de wrote: Hello Bódnar, the link to the news file is in the language catalogue: Messages.properties as news-side.html = news-side.html news-top.html = news-top.html In a translated version, e. g. de Messages_de.properties this looks like news-side.html = news-side_de.html news-top.html = news-top_de.html So you got to overlay the message catalogues you want to use. Hope this helps Claudia Am 28.01.2015 um 11:44 schrieb Bodnar Robert: Hello, we would like to customize the top news according to the selected language, but unfortunately this works only for the German language. All the others are using the same news-top.html, even after I tried creating specific language files for this html (adding _en, _ro to the end). Any ideas what could be the problem? Thank you very much! Best regards,Bodnár Róberthttp://dspace.bcucluj.ro -- 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 -- 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] News Box
Hello Bódnar, the link to the news file is in the language catalogue: Messages.properties as news-side.html = news-side.html news-top.html = news-top.html In a translated version, e. g. de Messages_de.properties this looks like news-side.html = news-side_de.html news-top.html = news-top_de.html So you got to overlay the message catalogues you want to use. Hope this helps Claudia Am 28.01.2015 um 11:44 schrieb Bodnar Robert: Hello, we would like to customize the top news according to the selected language, but unfortunately this works only for the German language. All the others are using the same news-top.html, even after I tried creating specific language files for this html (adding _en, _ro to the end). Any ideas what could be the problem? Thank you very much! Best regards,Bodnár Róberthttp://dspace.bcucluj.ro -- 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
[Dspace-tech] News Box
Hello, we would like to customize the top news according to the selected language, but unfortunately this works only for the German language. All the others are using the same news-top.html, even after I tried creating specific language files for this html (adding _en, _ro to the end). Any ideas what could be the problem? Thank you very much! Best regards,Bodnár Róberthttp://dspace.bcucluj.ro -- 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] Help with Video Streaming using files stored on Dspace
Does someone have any experience on streaming videos that are stored on Dspace in a way that is possible to seek a timestamp? I've done some tests and i've managed to play the video, but i couldn't seek a specific timestamp. I've did some research and found out that it's because the methods which answers the requests don't have support for byte-range headers. Is this right? I've also found this article/library [1] that implements these kind of responses, and i'm thinking about trying to append it to Dspace code, but first i would like to know if someone have already done this (or something like this), and also if there is an easier way to achieve this. [1] - http://balusc.blogspot.co.uk/2009/02/fileservlet-supporting-resume-and.html Any help is very welcome!!! Thanks! -- Bruno Nocera Zanette +55 41 9992-2508 -- 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] Help with Video Streaming using files stored on Dspace
Hi Bruno, It's been discussed, but never solved. Currently, many sites have done psuedo streaming, which is actually progressive download (wait, and let the video buffer, and then start playback, but does not allow you to seek/jump beyond what has been buffered). https://wiki.duraspace.org/pages/viewpage.action?pageId=45548591 An approach that I/others have thought of is to have a video streaming service that can encode/streaming-serve video files for you. Either have it encode/stream on the fly, or on submission to DSpace, or a cron media filter process, have the video be sent to a streaming/encoding service that can process the video in the background, and maybe give you a url for where a streamable version of the file might reside. I'm thinking, what if you built an integration with YouTube, that original video's submitted to DSpace, then get uploaded to youtube in the background. Once YouTube is ready, the curation task could add some metadata to your item, and your UI just plays a youtube video. Your repository would still have an archival copy of the video. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Wed, Jan 28, 2015 at 12:27 PM, Bruno Zanette brunonzane...@gmail.com wrote: Does someone have any experience on streaming videos that are stored on Dspace in a way that is possible to seek a timestamp? I've done some tests and i've managed to play the video, but i couldn't seek a specific timestamp. I've did some research and found out that it's because the methods which answers the requests don't have support for byte-range headers. Is this right? I've also found this article/library [1] that implements these kind of responses, and i'm thinking about trying to append it to Dspace code, but first i would like to know if someone have already done this (or something like this), and also if there is an easier way to achieve this. [1] - http://balusc.blogspot.co.uk/2009/02/fileservlet-supporting-resume-and.html Any help is very welcome!!! Thanks! -- Bruno Nocera Zanette +55 41 9992-2508 -- 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] New 'Dspace-Rest-Client' Ruby Gem
Hey guys, We're glad you enjoyed it! The code is probably not optimized (far from that) because it is our first Ruby project (our research group decided to adopt it as our new default language), and we're struggling to get it right, but we know that are many things that could be done in a much better way. The thing we are most concerned right now is to set a class structure that works, that can support everything rest-api has to offer, and that is somehow simple to use. Because the other things will come naturally if this structure is correct. I think it can also be used as basis to other projects written in other languages, and concept-proof for REST-API once that this only works if REST-API also works. 2015-01-28 15:20 GMT-02:00 Peter Dietz pe...@longsight.com: Hi Bruno, Very cool to see. This could have a lot of potential. Especially if it can make it much easier for sites to adopt and customize DSpace, or to build things that would be too difficult in the current technology environment. I potentially have a few upcoming project that would need to make heavy use of a client application against the REST API. But, I'll take a look at this. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Wed, Jan 28, 2015 at 9:28 AM, Bruno Zanette brunonzane...@gmail.com wrote: Hello, folks! I and my teammates are building a Ruby gem to interact to DSpace REST-API to make easier to implement a Ruby (on Rails) app that uses DSpace as file and information server. The gem already has some functional features - such as get/post/put objects, login, logout and status request - but it is still on a very early stage of implementation. It uses 'rest-client' to do the requests. Most of what is missing are only some basic requests, error detection, and some other basic stuff that we decided to do later. The Source-Code is hosted at: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client There is a example script on README file that shows how to use it. Basically there are 4 classes that implements each kind of Dspace object (Community, Collection, Item and Bitstream), and requests returns an single instance or an array of instances of some object. GET requests returns the required object, POST/PUT requests returns the object that has been created. Feel free to propose changes, to point mistakes, ... because that's what we want! We really hope you enjoy it and that it may help someone at some point! Cheers! -- Bruno Nocera Zanette +55 41 9992-2508 -- 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 -- Bruno Nocera Zanette +55 41 9992-2508 -- 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] Stats problem on 1.7.0
We are using DSpace 1.7.0 After several years with no issues our Statistics / General Reports seem to be generating with zero values. I'm running the DSspace script with the stat-general, stat-monthly, stat-report-general and stat-report-monthly commands each night and they seem to be running without issues, but the values in my general reports are all zero, except for the Log Processing Time which is about 1000 seconds. The item level stats appear to be OK. Is it possible to repair or rebuild the statistics or the reports? Thanks Serge -- 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] google analytics
Dear all, I am using Dspace 3.1 with xmlui. In dspace.cfg I have added my google analytics key. But the javascript code only appears on some pages, not on the dspace start page. What is the problem? Thanks and best regards Stefanie -- 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] New 'Dspace-Rest-Client' Ruby Gem
Hi Bruno, Very cool to see. This could have a lot of potential. Especially if it can make it much easier for sites to adopt and customize DSpace, or to build things that would be too difficult in the current technology environment. I potentially have a few upcoming project that would need to make heavy use of a client application against the REST API. But, I'll take a look at this. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Wed, Jan 28, 2015 at 9:28 AM, Bruno Zanette brunonzane...@gmail.com wrote: Hello, folks! I and my teammates are building a Ruby gem to interact to DSpace REST-API to make easier to implement a Ruby (on Rails) app that uses DSpace as file and information server. The gem already has some functional features - such as get/post/put objects, login, logout and status request - but it is still on a very early stage of implementation. It uses 'rest-client' to do the requests. Most of what is missing are only some basic requests, error detection, and some other basic stuff that we decided to do later. The Source-Code is hosted at: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client There is a example script on README file that shows how to use it. Basically there are 4 classes that implements each kind of Dspace object (Community, Collection, Item and Bitstream), and requests returns an single instance or an array of instances of some object. GET requests returns the required object, POST/PUT requests returns the object that has been created. Feel free to propose changes, to point mistakes, ... because that's what we want! We really hope you enjoy it and that it may help someone at some point! Cheers! -- Bruno Nocera Zanette +55 41 9992-2508 -- 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