Difference between revisions of "Rating System"

From MusicBrainz Wiki
((Imported from MoinMoin))
((Imported from MoinMoin))
Line 12: Line 12:
  
 
By default community rating is shown. As soon as user rates an entity, he/she will only see its own rating.  
 
By default community rating is shown. As soon as user rates an entity, he/she will only see its own rating.  
 +
 +
''Ratings display can be disabled in User Preferences for those you don't care about ratings''.
  
 
==Colors meaning==
 
==Colors meaning==
Line 28: Line 30:
 
==Web service==
 
==Web service==
  
The [[XML Web Service|XMLWebService]] will be updated in order to allow to retrieve or update rating via WS in a similar way to how [[Folksonomy Tagging|FolksonomyTagging]] works. <pre>wget --user=<editor name> --password=<password> --post-data=id=8f6bd1e4-fbe1-4f50-aa9b-94c450ec0f11\&entity=artist\&rating=3 http://test.musicbrainz.org/ws/1/rating
+
The [[XML Web Service|XMLWebService]] has been updated in order to allow to retrieve or update rating via WS in a similar way to how [[Folksonomy Tagging|FolksonomyTagging]] works.  
 +
 
 +
Either by the new /rating resource for submitting/retriving one specific rating: <pre>wget --user=<editor name> --password=<password> --post-data=id=8f6bd1e4-fbe1-4f50-aa9b-94c450ec0f11\&entity=artist\&rating=3 http://test.musicbrainz.org/ws/1/rating
 
</pre>
 
</pre>
  
 +
or by using the new inc parameters <code><nowiki>ratings, user-ratings</nowiki></code> with the artist, label, release or tracks resources as described in [[XML Web Service|XMLWebService]].
 
[[Category:To Be Reviewed]] [[Category:Documentation]]
 
[[Category:To Be Reviewed]] [[Category:Documentation]]

Revision as of 18:16, 14 November 2008

MusicBrainz Rating System

Description

Rating is a new feature which is currently being develloped (Oct 2008), and which should be integrated in the 2008 server release.

Users will be able to rates MusicBrainz entities (artists, labels, releases and tracks).

Details

Each user rating will be a number between 0 and 5. Then the system will aggregate users ratings to compute the average community rating.

By default community rating is shown. As soon as user rates an entity, he/she will only see its own rating.

Ratings display can be disabled in User Preferences for those you don't care about ratings.

Colors meaning

star big unrated.gif star small unrated.gif Unrated
star big hover.gif star small hover.gif Hover
star big user-rated.gif star small user-rated.gif User rating
star big community-rated.gif star small community-rated.gif Community rating

Web service

The XMLWebService has been updated in order to allow to retrieve or update rating via WS in a similar way to how FolksonomyTagging works.

Either by the new /rating resource for submitting/retriving one specific rating:

wget --user=<editor name> --password=<password> --post-data=id=8f6bd1e4-fbe1-4f50-aa9b-94c450ec0f11\&entity=artist\&rating=3 http://test.musicbrainz.org/ws/1/rating

or by using the new inc parameters ratings, user-ratings with the artist, label, release or tracks resources as described in XMLWebService.