buddycloud/buddycloud-server-java — pull request #129 by lloydwatkin (2014-01-13 16:45:07+00:00)
Title: Support voting in the java server

Support likes/votes/+1/etc in buddycloud...

## Rules

* Same as for ``
* Rating can be between 1 and 5
* Output MUST format as 1.0, 2.0, 3.0, 4.0, or 5.0
* You CAN NOT rate a rating post
* Post verb becomes __rated__
* Post content is overwritten to __rating: X.0__ (where X is a number between 1 and 5 inclusive)

## Example stanza

```xml

96da02ee1baef61e767742844207bec4

rating

2014-01-01T00:00:00.000Z
2014-01-01T00:00:00.000Z

juliet@shakespeare.lit
juliet@shakespeare.lit

I really liked this post!
rated

post

tag:channels.shakespeare.lit,/users/romeo@shakespeare.lit/posts,2
comment

5.0

```