Ahh, I remember why I did that now. That was there from the first 3.0
release when we didn't have the new hit tracking stuff in place, so at
that point the hot blogs list was based on referrer counts. It didn't
make sense for an aggregated frontpage blog to be counted in the list
because it's not really a blog and most likely it would always be at the
top of the list :/
Now that we separated the hit counting from the referrer tracking that
isn't necessary anymore and if you look in the current PageServlet you
can see that hit counts are still ignored for a frontpage aggregated
weblog so that the frontpage isn't counted as a hot blog.
So you can remove that check.
-- Allen
Dave wrote:
re: http://opensource.atlassian.com/projects/roller/browse/ROL-1347
While investigating Matt's report fo referrers no longer working, I
came across this logic in for referrers in the PageServlet:
// if this came from site-wide frontpage then skip it
if(RollerRuntimeConfig.isSiteWideWeblog(pageRequest.getWeblogHandle()))
{
return false;
}
What's the reasoning behind not counting referrers for a site-wide
blog? Seems to me, a site-side blog has referrers too and if referrer
counting is enabled it should happen on the site wide blog too. No?
- Dave