Skip to page content or skip to Accesskey List.
Search evolt.org
evolt.org login: or register

Work

Main Page Content

Regarding "Highest Rated Articles"

Rated 0 (Add your rating)

Log in to add a comment
(6 comments so far)

Want more?

 
Picture of ucahg

ucahg

Member info | Full bio

User since: April 12, 2001

Last login: January 26, 2006

Articles written: 3

Article with the same rating should be sorted by how many people have rated them. For example, the following is what I see right now on the sidebar under "Highest Rated Articles":
  • Some Caveats with Us…
    4.88 after 8 ratings
  • Evolt.org offers fre…
    4.88 after 26 ratings
  • The Tao of Testing
    4.88 after 8 ratings
  • Flash Interface Usab…
    4.86 after 7 ratings
  • Liquid Tables
    4.83 after 6 ratings
This should look like this:
  • Evolt.org offers fre…
    4.88 after 26 ratings
  • Some Caveats with Us…
    4.88 after 8 ratings
  • The Tao of Testing
    4.88 after 8 ratings
  • Liquid Tables
    4.83 after 6 ratings

A high rating doesn't mean anything if only one person rated it (I am exagerating there, but you get the idea). It's not a big deal, but it would be more organized and makes more sense than the way it is now.

Good Point

Submitted by mwarden on April 14, 2001 - 15:46.

That's a good point. However, there is a minimum number of ratings an article must receive before it makes the Highest Rated Articles box. I'm sure there won't be a problem getting the suggested second ordering (by number of ratings) implemented, though.

Thanks!

login or register to post comments

Check the math...

Submitted by aardvark on April 14, 2001 - 17:11.

Actually, it would be better to simply rank them based on their rating beyond two significant digits first and foremost, and then rank them based on number of comments should those numbers be the same. Then let the script round them to the nearest hundredth for display in the sidebar. That may very well be how it works now, but we aren't privvy to the individual rating numbers as members. It is possible one article came in 2 thousands of a point higher, and that's why it's above another article.

The requirements, however, call for a minimum of 5 ratings for an article to appear in the box. If you have another number, and a reason why, feel free to offer it up.

login or register to post comments

Submitted by mwarden on April 14, 2001 - 19:17.

aardvark commented: "Actually, it would be better to simply rank them based on their rating beyond two significant digits first and foremost, and then rank them based on number of comments should those numbers be the same"

Um, yeah... that's what we've been talking about, aard. He suggested having a secondary ordering by number of ratings. In other words, the SQL would have something like ...ORDER BY avg(rating), count(rating). So, glad you agree ;-)

login or register to post comments

Minimun Number

Submitted by ucahg on April 14, 2001 - 19:51.

I figured there was a minimum number of rates for it to show up there, I just wasn't sure what it was. I was just going to the extreme to prove a point when I was talking about one person rating it.

login or register to post comments

And how exactly do you do this?

Submitted by stickytape on July 30, 2001 - 12:37.

Hi guys, this is my first post here, so be generous. Is there any chance someone can help me ouy, and point me in the direction of just how to write a script like your "Highest Rated...." script. I need something basically exactly the same on my site, where people download ringtones, then rate them out of 5. I then want to show the top 5 ringtones. Im thinking that this will practically be exactly the same as your script, with a few minor adjustments. Can someone point me in the right direction please. Ideally, Id like a full script which I can have a look at, and then try and write my own, but articles on how to do this are also welcome. Cheers!! :)

login or register to post comments

My opinion is that number of

Submitted by healthyJessica on March 20, 2007 - 20:44.

My opinion is that number of ratings plays a big role in determineing the importance of a specific article. We all agree that it's not the same if some article has 4,0 after 2 ratings and another one 4,0 after 20 ratings. Probably the minimum number of ratings to be in Highest Rated Articles should be higher

login or register to post comments

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.orgEvolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.