I thought that there was a little more “magic” to it.
I would like to create a list of “hot or active weblog entries”, so that the ones getting more attention (comments, views, subscriptions) recently would end up higher on the list.
I’ve looked in the database and I think that the following fields could be used:
exp_weblog_titles.recent_comment_date
exp_weblog_titles.comment_total
exp_weblog_titles.view_count (as we are using this field for our entries)
exp_comments.comment_date
I am just not sure how to use them. There must be a simple way to come up with a solution.
For example if there were 3 comments to a topic in the last hour, it should be higher on the list then the entry with 3 comments 2 hours ago, and so on.