I think the library does what you want out of the box. You'll have one ranker per dimension you want to score them on (times one per portal plus one global), and pretty much use it as the comments say.
Out of curiosity, how did you learn about the library?
--
You received this message because you are subscribed to the Google Groups "Google App Engine Ranklist" group.
To post to this group, send email to google-app-en...@googlegroups.com.
To unsubscribe from this group, send email to google-app-engine-r...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-app-engine-ranklist?hl=en.
To display only friends ranks, I first do a datastore query to get the
persons friends ordered by descending cashOnHand and using a cursor
with a pagesize of 20.
--
You received this message because you are subscribed to the Google Groups "Google App Engine Ranklist" group.
To post to this group, send email to google-app-en...@googlegroups.com.
To unsubscribe from this group, send email to google-app-engine-r...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-app-engine-ranklist?hl=en.
So, when a Player adds a friend, we store friend's ID in an entity of
type PlayerFriends for a particular page, parented to Player entity.
Now, using ranklist, i update the player's rank every-time he performs
an action.
So, if i have to find the rank of all my friends,
i need to (a) Fetch all my friends (b) batch get their rank (c) Sort
that rank and (d) Display that to the user