Node Radioactivity

skiminki - March 30, 2008 - 15:08

This module provides hotness metrics for nodes and comments by radioactivity model. In essense, nodes or comments receiving attention are heated while inactive ones slowly cool down. Consider the following example:

  • Viewing a node adds energy to it
  • The energy decays at a rate defined by the half-life period. For example, a view is worth 1 energy unit at the time of clicking, 0.5 energy units after one half-life period, 0.25 energy units after two half-life periods, and so on.

Thus, by keeping the half-life period short, let's say one hour, you'll get a metric that reflects current node view rate. Using this metric in a view, you can create a "most viewed nodes right now" list. By setting a longer half-life, let's say 12 hours, you can setup a view that roughly reflects most viewed nodes today.

Quick start for the above case:

  1. Enable radioactivity core and radioactivity node modules.
  2. Create a new decay profile in admin/settings/radioactivity. Set the profile label. Changing other items is optional.
  3. Create a new view for nodes, add some fields (e.g. nid, title, radioactive energy) and sort by descending radioactive energy.
  4. Create some activity and watch the view evolve.



6.x-1.0-RC testers! Please share your testing results in #335098: Feedback request for 6.x-1.0-RC1

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-rc12008-Nov-1618.62 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.22008-Oct-2524.47 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Nov-1718.62 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.