Jump to content
Banner by ~ Sparklefan1234

How do you calculate "top stories"

Justin ZW

Recommended Posts

Howdy, guys. I'm currently working on a development project for a high profile website which is looking to completely revamp its look. One of the main features of the revamp is going to be a method of display the most popular stories of the past week, and I'm looking for a decent way to calculate that. I don't want to just do page views + comments, since comments are a greater indication of popularity. Obviously, if someone takes the time to write a comment on something, it's a good indication of interest, whereas pageviews can be as simple as someone clicking to it, reading the first couple lines, and then leaving.


If anyone has any ideas or algorithms, I'd appreciate some help. Google is proving to be useless, as usual. Thanks in advance!

Link to comment
Share on other sites

Do you have a like/dislike system on your website?
Obviously would that be a nice idea to calculate the top stories.

Otherwise maybe something like this: x=views y=comments(how many different people commented. One person could post a shitton to exploit it otherwise)

x/4+y = your rating. I dont get the big problem. Just give views a lower amount of weight than comments.

Link to comment
Share on other sites



No, no like/dislike system.


Hm. Not a bad idea, actually. I was thinking of multiplying the comments, but I think dividing the pageviews by a reasonable number for the traffic would work much better.


Thanks for the suggestion!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...