Not a Perl-ist, so don't feel confident about doing this myself, though it is probably very simple ... maybe somebody else could pick it up?
Background
The 'Cool' page is meaningless as a measure of link popularity, or user activity. In practice, it is a list of links that have been in the database a long time, or which begin with the first few letters of the alphabet. A meaningful Hit Count should be based on a sensible time scale set by admin, eg: daily, weekly, monthly.
Idea
1. Create a new column in the link table named OldHits.
2. Then in a plugin or code mod, do something like this ...
$diff = 'Hits' - 'OldHits';
'Hits' = $diff;
'OldHits' = $diff;
}Result: 'Hits' holds the count since the last reset, so newly built Cool pages reflect recent activity rather than cumulative activity since day zero.
Ideally, the plugin/mod could be run both from the admin control panel and as a monthly or weekly cron job.
Background
The 'Cool' page is meaningless as a measure of link popularity, or user activity. In practice, it is a list of links that have been in the database a long time, or which begin with the first few letters of the alphabet. A meaningful Hit Count should be based on a sensible time scale set by admin, eg: daily, weekly, monthly.
Idea
1. Create a new column in the link table named OldHits.
2. Then in a plugin or code mod, do something like this ...
Code:
For each link { $diff = 'Hits' - 'OldHits';
'Hits' = $diff;
'OldHits' = $diff;
}
Ideally, the plugin/mod could be run both from the admin control panel and as a monthly or weekly cron job.