I have the cool links set to 15 for the top 15, but whenever I build, it's always differnet. Sometimes 17, 22, 33. It used to work ok, I haven't changed anything. Any clues?
Re: Cool page not doing it's thing properlyIn reply to
There should be a way after the 'sort' proceedure to cut the array size to only 15 (or 14 with zero based indexing).
The *problem* is, if you will, what if there were 21 links at position 15 -- all with the same rating/hits. Isn't it unfair to the other 14 to cut them off arbitrarily?
Limiting to '15' only has problems.
Ideal would be to limit including the ties.
Psuedo code:
The cut off would be when num_links >=15 AND cool_value_of_next_link < cool_value_of_last_cool_link
This could be 15, or any number greater than 15 where the last links included have the same "value" as the link in the 15th position.
Re: Cool page not doing it's thing properlyIn reply to
I'm not too worried about it being unfair. They change so often it doesn't really matter. So as for that problem, it won't be. Just need the Top 15 links.