Click here to show or hide the menubar.

Fixed the Counts page


The Counts page in Radio2 has been broken for a while. Not sure what's going on. The top item on my page is 3443 hours old. There are other posts that are even older. That's ridiculous. I've done plenty of posts since then. Let's figure it out.

Right off, I see the problem. We're looking at all the feeds for each user. I have an occupyweb feed that I haven't updated in ages.

A more complex method is needed. First load the most recent 40 from each feed, then sort on post date. Now take the 40 most recent items, and rank them by count.

Note this change fixed the static Counts page as well. :-)

Parts

radio2Suite.viewCounts


Posted on Wednesday, March 07, 2012 at 1:39 PM by Dave Winer.