Hi Bojan,

Many thnaks for the quick answer.

With kind regards,
Marianna
> 
> 
> Am 17.06.2011 13:40, schrieb Marianna Mühlhölzer: 
> > Hi Bojan, 
> > 
> > I want to use the REST Interface for browsing our DSpace repository
> by 
> > title, date and subject. When trying to sort items I get problems
> with 
> > the pagination. The _perpage parameter does not work. Using
> _perpage 
> > alone has no influence on the number of retrieved items. I always
> get 
> > all items. Using a combination of _perpage and _page delivers
> strange 
> > results. For example, _perpage=2&_page=1 gives all items, 
> > _perpage=4&_page=1 gives 4 items, and _perpage=4&_perpage=2 is
> empty. 
> 
> I opened JIRA issue for this problem, this is probably a bug. 
> 
> 
> > I have two further questions: 
> > 
> > 1. The sorting process gives no information about the total number
> of 
> > items in the repository. Therefore, before starting pagination I
> have to 
> > request all items and count them, in order to realize the
> pagination. 
> > Is there a better way to do browsing via REST? 
> 
> This problem is related with DSpace API, as the underlying functions
> do 
> not provide such information. In some big collections this introduces 
> performance problem too, as we need to read bigger portion of data
> than 
> is to be served. Some time ago I posted a patch for this but it do
> not 
> covers Oracle and other RDMBSs completely, so should be considered 
> different way. 
> 
> 
> > 2. The metadata of an item are presented as strings, which is not
> very 
> > comfortable to handle. I would prefer to have them via tag per
> metadata 
> > field. Do you plan to realize something like this? 
> 
> This issue has been rissen by Robin Taylor too. I haven't considered
> it 
> as a problem before. It is currently reported on the JIRA list and
> will 
> probably have a lower priority as there are other issues deemed more 
> important. 
> 
> Thanks/Regards 
> Bojan 
> 
> ------------------------------------------------------------------------------
>  
> EditLive Enterprise is the world's most technically advanced content 
> authoring tool. Experience the power of Track Changes, Inline Image 
> Editing and ensure content is compliant with Accessibility Checking. 
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________ 
> DSpace-tech mailing list 
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> 
> 
> ______________________________________________________________________
> If you reply to this email, your message will be added to the
> discussion below:
> http://dspace.2283337.n4.nabble.com/REST-API-for-DSpace-tp3343457p3606895.html
>  
> To start a new topic under DSpace - Tech, email ml-node
> +3276945-743330907-242...@n4.nabble.com 
> To unsubscribe from DSpace - Tech, click here. 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/REST-API-for-DSpace-tp3343457p3607428.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to