Re: [Dspace-tech] REST API: collection administrators and submitters

2015-08-27 Thread Bruno Zanette
Elias, AFAIK, DSpace's REST doesn't support yet user administration operations, such as create/destroy users, modify user attributes, ... Unfortunately. But, assuming it's a really recent addition to Dspace, there's no reason for complaints. Besides that, taking a look at rest's api code, it doens

Re: [Dspace-tech] URL REST Call to return XML

2015-06-11 Thread Bruno Zanette
Hicham, Good Question... The only method i know that fix it is the one that Alan said. The request is made directly by URL or there is a middleware between your app and the browser? Em qui, 11 de jun de 2015 às 08:01, Alan Orth escreveu: > You need to set the Accept HTTP header to tell the REST

Re: [Dspace-tech] How to search items by metadata using REST API?

2015-06-10 Thread Bruno Zanette
Hey Alan, Take a look at the commentaries on the REST-API's documentation's page. I've answered a similar question there. https://wiki.duraspace.org/display/DSDOC5x/REST+API?focusedCommentId=68068154#comment-68068154 But basically, the request that you have to send is something like this: curl -k

Re: [Dspace-tech] how post object in REST API to dspace

2015-05-09 Thread Bruno Zanette
Ali, Almost every doc about DSpace's REST API out there are wrong or outdated. The following one is right, but it is incomplete. I'm trying to find some time to fix it but i haven't managed to do it yet. However, some time ago i've wrote some basic Shell-Scripts to test the API's endpoints and to

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-26 Thread Bruno Zanette
684)* > * at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)* > > > > I think that the solr is not loading. Because whenever I search for some > specific text; the above error lines are printed. > > Please help! > > > > On Saturday, April 25

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-25 Thread Bruno Zanette
No problem! Just an advice ;) Em sáb, 25 de abr de 2015 02:12, Usman escreveu: > Yes. Thank you. That really helped. > Next time, no bolds. > Maybe I used bolds because of being nervous. [image: *:) happy] > > > > On Saturday, April 25, 2015 4:00 AM, Bruno Zanette < &

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Bruno Zanette
Usman, Dspace.log do contains those infos. For instance, filtering for "anonymous" on my dspace.log files i get things like: dspace.log.2015-03-23:2015-03-23 16:57:18,072 INFO org.dspace.usage.LoggerUsageEventListener @ anonymous::view_item:handle=123456789/583 dspace.log.2015-03-23:2015-03-23 16:

Re: [Dspace-tech] Deployment of REST API

2015-04-13 Thread Bruno Zanette
Oh.. I forgot to say: To do all this we are using Dspace_5's REST, because Dspace 4's REST doesn't do much of the things that DSpace 5's REST does; 2015-04-13 16:36 GMT-03:00 Bruno Zanette : > Hey Terry, > > Me and my team are developing a VideoCourse plataform, call

Re: [Dspace-tech] Deployment of REST API

2015-04-13 Thread Bruno Zanette
Hey Terry, Me and my team are developing a VideoCourse plataform, called "CursosAbertos", for our University (UFPR) totally based on DSpace REST. The design of the site is very poor because our first concern was to make everything work on the background. The site is already online, and you may a

Re: [Dspace-tech] External Searching of DSpace contents

2015-03-05 Thread Bruno Zanette
Peter, It was good you have touched on this subject!! I'm also thinking about it for some time since it's a requirement for the project i'm working on. I thought about creating a RubyGem to integrate with SOLR directly, and use it side-by-side with rest-api gem, but i'm pretty sure this idea has

Re: [Dspace-tech] Want to incorporate an advanced search of the repository, where user is presented with three search parameters, that may be ORed, ANDed, NOTed together.

2015-02-28 Thread Bruno Zanette
First of all, Have you tried XMLUI's advanced search page ([URL]/dspace/discover). This does not solve your problem? If it doesn't, i believe that SOLR queries may be your solution. Even inside Dspace's graphic APIs (XMLUI and JSPUI) SOLR is used to search for items. The only thing you have to be

Re: [Dspace-tech] Help - Dspace cannot show video files

2015-02-12 Thread Bruno Zanette
Hi Fernando (ou melhor, Dae Fernando!! uhauhaahu Vou falar em ingles para manter o padrão da lista) It seems to be a problem with video format, which is not proper for streaming. I've submitted your video to Dspace Demo Site and a sample video file (on MP4 format), and used a HTML5 video tag to te

Re: [Dspace-tech] Bookreader (openlibrary) and videoplayer

2015-02-06 Thread Bruno Zanette
best for us. > Are you using Jspui or Xmlui? > Best regards > Massimiliano > > > > > -Messaggio originale- > Da: Bruno Zanette [mailto:brunonzane...@gmail.com] > Inviato: giovedì 5 febbraio 2015 18:29 > A: Massimiliano Cilurzo > Cc: dspace-tech@lists.

Re: [Dspace-tech] Bookreader (openlibrary) and videoplayer

2015-02-05 Thread Bruno Zanette
Massimiliano, I don't know anything about the bookreader plugin so i can't help you with this one. But i do know some things about playing videos from Dspace. Actually i'm working on a project to use Dspace and its rest-api to build a video portal to our University. First of all, it has already

Re: [Dspace-tech] Examples of REST-API POST/PUT requests using cURL

2015-02-04 Thread Bruno Zanette
d some of the endpoints to > work with a clean repository. Though I think one of the bitstreams still > requires changing item/11 or bitstream/32, so lots of failures needed to get > the counter up to there. > > > Peter Dietz > Longsight > www.longsight.co

[Dspace-tech] Examples of REST-API POST/PUT requests using cURL

2015-01-29 Thread Bruno Zanette
Hey, I was doing some tests to prepare myself to write API's documentation, and to make it easier i've wrote some short scripts that implement all POST/PUT requests. It contains a script to execute each request, and descriptor files that describes each request (Verb, Action, and the request form i

Re: [Dspace-tech] Problem with DSpace API POST request creating a new community

2015-01-29 Thread Bruno Zanette
ion, but never tested for Comm/Coll. Also there is SWORD/SWORDv2 APIs that i believe can do it. Unfortunately i don't have much knowledge on neither of them, but it can be a solution if you're not willing to update Dspace version only to use REST API. 2015-01-29 11:58 GMT-02:00 Bruno Zane

Re: [Dspace-tech] Problem with DSpace API POST request creating a new community

2015-01-29 Thread Bruno Zanette
Helge, First of all, on DSpace 4.x only GET requests are enabled. POST/PUT requests were only introduced in DSpace 5. So, if you need to POST a community using REST-API you will need to upgrade your installation. Second, almost every documentation about it are outdated and wrong. The only doc-pag

Re: [Dspace-tech] New 'Dspace-Rest-Client' Ruby Gem

2015-01-28 Thread Bruno Zanette
. > > > 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 > wrote: >> >> Hello, folks! >> >> I and my teammates are building a Ruby gem to

[Dspace-tech] Help with Video Streaming using files stored on Dspace

2015-01-28 Thread Bruno Zanette
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

[Dspace-tech] New 'Dspace-Rest-Client' Ruby Gem

2015-01-28 Thread Bruno Zanette
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

Re: [Dspace-tech] Help on appending files to POST_ITEM requests to REST-API

2015-01-16 Thread Bruno Zanette
ort that. If it simplifies the process, it could be > something that could be contributed to the API for DSpace 6. > > > Peter Dietz > Longsight > www.longsight.com > pe...@longsight.com > p: 740-599-5005 x809 > > On Tue, Jan 13, 2015 at 2:33 PM, Brun

Re: [Dspace-tech] Help on appending files to POST_ITEM requests to REST-API

2015-01-12 Thread Bruno Zanette
anyone? 2015-01-09 12:35 GMT-02:00 Bruno Zanette : > Hi, I'm trying to upload files via REST-API but it is not working. > > In the way i'm doing the requests the items are being successfully > created but without any file. > > To do the tests i'm using Curl with t

[Dspace-tech] Help on appending files to POST_ITEM requests to REST-API

2015-01-09 Thread Bruno Zanette
Hi, I'm trying to upload files via REST-API but it is not working. In the way i'm doing the requests the items are being successfully created but without any file. To do the tests i'm using Curl with the following options: curl -v -k -i -4 \ -H "Content-Type: application/zip" \ -H "rest-dspa

Re: [Dspace-tech] Help with Sword Client API (Ruby)

2014-12-18 Thread Bruno Zanette
> says > collection.post_media!(:filepath=>"test.txt", :content_type=>"text/plain") > you should try something like > collection.post_media!(:filepath=>"/your/example/here.zip", > :content_type=>"application/zip", :packaging =

[Dspace-tech] Help with Sword Client API (Ruby)

2014-12-16 Thread Bruno Zanette
Hey everybody! This is not a dspace specific question, but i hope someone can help me. I'm implementing a Ruby sword client to submit itens to dspace using a custom interface. I did some research and i found "sword2ruby" library, but i'm trying to execute the example given on the project git page

Re: [Dspace-tech] How to change the XMLUI

2014-12-15 Thread Bruno Zanette
Erick, Theme files are located inside xmlui dir (/dspace-xmlui/src/main/webapp/themes/) and the configuration of which theme should be used is on file "dspace/config/xmlui.xconf". But the recomendation is to not modify these files. Instead you should copy the theme you will use as basis from the

Re: [Dspace-tech] Can upload only single file after Dspace installation

2014-12-15 Thread Bruno Zanette
Dr. Manish, There is no such thing as dspace subscription. You may upload multiple files without a problem. Which Dspace version and Theme are you using? Is there any error on dspace/tomcat logs? 2014-12-12 12:25 GMT-02:00 Dr. Manish Joshi : > Hi. > > After setting-up, Dspace permits upload of on

Re: [Dspace-tech] XMLUI and Jspui renamin

2014-12-15 Thread Bruno Zanette
Vinod, I think there is no problem doing this. We use exactly the same thing on our server for years and it works flawessly. This is the link to our server: http://dspace.c3sl.ufpr.br/dspace/ if you want to test it. We did it changing the configuration on dspace.cfg/build.properties and renaming it