Quantcast
Channel: Drupal Groups - digg
Viewing all articles
Browse latest Browse all 12

Taking voting *speed* into account

$
0
0

Hi

I am thinking about tuning my vote_up_down based site into a bit more digg-like site. On Digg 50 votes per hour can outperform 500 votes per two weeks - it allows "hot" news to be pushed to the front page earlier. Can similar things be achieved with the help of voting_api?

  1. I am thinking about attaching to every node, not only a "vote" counter, but also kind'a "internal priority" counter, that would be increased by user votes and decreased by time therefore making old votes less valuable.
  2. Then whenever user votes on some node, that node's "internal priority" will be compared against the "internal priorities" of the current front page items. If newly voted node's "internal priority" was bigger, it would be promoted to the front page.
    2.1 Since "internal priority" directly depends on time and needs to be known for the front page items only, it can be updated on demand, so that you wouldn't have to update "internal priority" of all the 20000 site nodes every hour.

Is anything like the above scenario possible with the voting_api? If it is not possible immediately, I am not afraid of some PHP programming to make it possible. However, I am rather new to the Drupal's voting area and I'd very much appreciate some pointers on where to start and how complex the task could be. Could anyone give an advise?

Best regards,
Artem.


Viewing all articles
Browse latest Browse all 12

Trending Articles