Monday, September 3, 2007

Fundamental mistake in Digg web page coding or fooling Diggers??

Everyone knows how famous Digg is today, on the web. So much that Time magazine rated 'You' as the person of the year because of the user power created by Digg. And Digg has opened gates for Developers by providing Digg APIs and contests for the best mashup. All these made me think great of Digg and the way the website is coded, but this fundamental flaw in coding the Digg page leaves me stunned. Is it an oversight or an attmept to fool the users??

Here is what I mean. Find the news dugg by any user on Digg by clicking on their link. I am showing the example with the news dugg by me.

As you can see at the bottom, where I circled, there are links to more than 10 pages with the Next button after 10 ... But if I click on 9th page for example, here is what I see..

Forget about 9th page, if I click on 4th page, here is what it shows..

So, basically, I had dugg 3 pages worth of news, but even in the second page, it shows me links till 10 pages and more as if I had dugg news worth more than 10 pages. Any programmer who has done basic programming would know how easy it is, to control the number of links for pagination. Calculate the number of diggs a user has, divide it by the number of links you show on each page to figure how many links to show for pagination.

I agree that it may not be a show stopper and it might merely be a small bug, but with the Digg team implementing new comments system and opening up APIs, I would surely expect higher standards of coding. Not impressed much Digg team.. So as I said above, is this just an oversight or an attempt to show off a lot of posts to the Digg users. I would side with the former but still expect them to fix this..


Seshu Karthick said...

Thats a good observation. Actually, I liked the bug. I wish to play this prank on the visitors of my webapp too... later!

Anonymous said...

I've seen the same behavior on Google Search Results.