[Dspace-tech] URL REST Call to return XML

2015-06-11 Thread Hicham Zahnan
Hi, I'm using a Drupal Module called DSpace, that requires a REST URL to return XML. My problem is when I use the REST URL i.e. (www.abcd.com/rest/communities/6/itemshttp://www.abcd.com/rest/communities/6/items), into a browser I sometimes get JSON or XML, depending on the browser. Because its

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

2015-06-11 Thread Alan Orth
You need to set the Accept HTTP header to tell the REST API which format you want. From the command line you can do it like this: $ curl -s -H Accept: application/xml http://localhost:8080/rest/communities I'm not familiar with the DSpace module for Drupal though, so I'm not sure if it allows

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

2015-06-11 Thread Alan Orth
Thanks. It seems my query is well formed but it returns an HTTP 405 Method Not Allowed response. Perhaps DSpace 4.x's REST API isn't sufficient for the find-by-metadata-field query. Or perhaps I need to log in as you illustrated here: https://github.com/BrunoNZ/dspace-rest-requests I guess I'll

[Dspace-tech] Send email Christian David Criollo

2015-06-11 Thread Cristian David Criollo Lopez
[Descripción: logo_correos] Christian David Criollo Lopez Analista-Programador Jr SYRI-Desarrollo Servicios y Recursos de Informaciónhttp://www.icesi.edu.co/servicios_apoyo Universidad Icesihttp://www.icesi.edu.co/ Tel: +57 (2) 555 2334 ext. 8749 Este

[Dspace-tech] Problem with Search Result display in Mirage2 theme

2015-06-11 Thread George Stanley Kozak
Hi… I am not sure if this has already been reported, but I found something strange with my DSpace 5.2 install which I have in development and am planning to move to production. I am using the XMLUI with Mirage2 theme. I found that in the search results display, if there is no abstract, the

[Dspace-tech] Is it possible to delete exact bitstream?

2015-06-11 Thread IdeaFix
Hi. I have a problem with dspace celanup. May be it is very old problem, but I found it only after update to 5.2. When I make dspace cleanup -v or analyse logs I see an error with exact bitstream order. It is an sql error. When I edit an item (via web interface) and save it, I can make dspace

[Dspace-tech] Browse by Titles in Dspace 5.2

2015-06-11 Thread Layale Bassil
Hello All, When I browse by Title from the right panel I do not get any result. However the search dspace section is working properly. But if I try to seach for a title from under the Browse section by Titles for example, I get a result showing x of but none is displayed. What is the reason

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

2015-06-11 Thread Alan Orth
Ah, it seems the `/rest/items/find-by-metadata-field` endpoint doesn't exist in DSpace 4.x. Neither does the `/rest/login` endpoint. The docs need to make more of a point to say which versions these are supposed to work in... ;) Alan On Thu, Jun 11, 2015 at 12:24 PM Alan Orth alan.o...@gmail.com

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 alan.o...@gmail.com escreveu: You need to set the Accept HTTP

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

2015-06-11 Thread Peter Dietz
Hi Hicham, Princeton's Drupal module for DSpace is not compatible with the current version of DSpace. The Drupal Module is designed to use the 2011 Google Summer of Code REST API. The 2011 GSoC REST API was never merged into the core of DSpace, instead a Jersey based REST API was built. So, the

[Dspace-tech] delete bitstream

2015-06-11 Thread IdeaFix
I have a problem with dspace celanup. May be it is very old problem, but I found it only after update to 5.2. When I make dspace cleanup -v or analyse logs I see an error with exact bitstream order. It is an sql error. When I edit an item (via web interface) and save it, I can make dspace cleanup

[Dspace-tech] Anonymous User Submit?

2015-06-11 Thread Bob Arko
Greetings, I'd like to accept content from folks who self-register. How may I enable an Anonymous User to submit? I've tried setting the appropriate ADD policy for Group=Anonymous on my Community and Collection, but still get You are not authorized to submit to any collections. I'm running 5.1

[Dspace-tech] Issue with form selection when using the BTE submission lookup

2015-06-11 Thread Genevieve Turner
Hi All, While doing an upgrade for our DSpace environment to version 4.2 I came across an issue where for the BTE submission lookup was only using fields defined in the default form (as defined in input-forms.xml). As the system only records the fields that have been defined in the input form