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:
- Enable
radioactivity coreandradioactivity nodemodules. - Create a new decay profile in admin/settings/radioactivity. Set the profile label. Changing other items is optional.
- Create a new view for nodes, add some fields (e.g. nid, title, radioactive energy) and sort by descending radioactive energy.
- 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 releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.0-rc1 | 2008-Nov-16 | 18.62 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-1.2 | 2008-Oct-25 | 24.47 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2008-Nov-17 | 18.62 KB | Download · Release notes | Development snapshot | |
