[mb-devel] Sorting

Robert Kaye rob at eorbit.net
Tue Dec 12 23:48:41 UTC 2006


On Dec 12, 2006, at 12:54 PM, sarvesh wrote:

> 3. Sort the result yourself
> I am afraid this won't work. Let's take this for example.
>
> http://musicbrainz.org/ws/1/release/? 
> type=xml&artistid=72c536dc-7137-4477- 
> a521-567eeb840fa8&releasetypes=Official&limit=100
>
> I get the maximum releases possible that is 100. Now after sorting  
> based on the release date I still won't have the latest release of  
> Bob Dylan, Modern Times.

There are some bugs in the WS that have been fixed and will go live  
on Sunday. This query gets modern times:

http://test.musicbrainz.org/ws/1/release/? 
type=xml&artistid=72c536dc-7137-4477- 
a521-567eeb840fa8&releasetypes=Album+Official&limit=100

I forgot -- I need to add paging support to the WS queries, so that  
you can request further pages of results, and then sort them yourself:

http://bugs.musicbrainz.org/ticket/2314

--

--ruaok      Somewhere in Texas a village is *still* missing its idiot.

Robert Kaye     --     rob at eorbit.net     --    http://mayhem-chaos.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20061212/d4a4c059/attachment.htm


More information about the MusicBrainz-devel mailing list