[Rbrainz-users] Current mbxml implementation and user query.

Nigel Graham nigel at maven-group.org
Tue Jul 10 11:10:58 EDT 2007


Philipp Wolfer wrote:
>> User query result is returned in a 'user-list' even though there is never
>> more than 1 entry.
>> The three tags 'user-list', 'user' and 'nag' are all in the  NS_EXT_1
>> namespace.
>> The user(s) in the user-list don't have a score. :-(
>>     
>
> We could of course make this a special case (maybe a special get_user
> method in MBXML). But maybe there is a more generic way. Did you have
> a look how pythonmusicbrainz handles those requests?
>
>   
I ended up making a get_entity_array method that returns a normal array 
instead of a Collection object.
I also made some of the methods take an extra namespace argument so they 
could be used for user queries.

Mfg.
Nigel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rbrainz-users/attachments/20070710/556c9870/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nigel.vcf
Type: text/x-vcard
Size: 163 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rbrainz-users/attachments/20070710/556c9870/attachment.vcf 


More information about the Rbrainz-users mailing list