[mb-devel] Sorting

Robert Kaye rob at eorbit.net
Fri Dec 15 08:12:30 UTC 2006


Fixed and live on test:

http://test.musicbrainz.org/ws/1/release/?type=xml&query=love&offset=2

On Dec 12, 2006, at 4:46 PM, sarvesh wrote:

> Thanks.
>
> On 12/12/06, Robert Kaye <rob at eorbit.net> wrote:
>
> 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
>
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> MusicBrainz-devel at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>
>
> _______________________________________________
> MusicBrainz-devel mailing list
> MusicBrainz-devel at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel

--

--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/20061215/0f371553/attachment.htm


More information about the MusicBrainz-devel mailing list