I wish all nodes of a certain type to have a rank (or at least be sortable in Views by this rank). This rank is a score based on different criteria: Voting API (5-star rating) average, Voting API number of votes, number of comments etc. Any suggestions on how to achive this?
views:
270answers:
4You would have to create your own views sort handler, where you calculate the ranking score and sort the nodes by that. Start by looking at the views doc, and find some modules doing this and look at their code. Views can be a bit overwhelming at first, but just stick to it and experiment and you will find out how to do it.
Fivestar uses percentage voting. You want to sort by the results of the vote: use the "Voting API percent vote result (average)" field, and it should do the trick.
views is the simpliest way to do this, look to the sort criteria then add the fields that you want.
I think this can be achieve by a developing an specific module. Did you get to do this implementation? I'm starting to develop a module for this purpose. Maybe we can collaborate. Contact me through info at labfm dot com.