Drank (Drupal Rank) provides a measure of content quality by collecting metrics from a range of data sources and then calculating a score which you can sort content by.

Metrics:

  • Field: Has Image?
  • Field: Image Count
  • Comment: Comment Count
  • Comment: Comments Per Day
  • Comment: Comments Per View
  • Statistics: Views Per Day
  • Fivestar: rating

Metrics are CTools plugins. You can override existing metrics or create your own!

Different to Radioactivity

Radioactivity measures the content's popularity, whereas Drank measures the content's quality.

Just because you have a lot of eyeballs on something doesn't mean that something is worth viewing. Drank determines the quality of content and puts that in front of users. That will in turn increase its Radioactivity rating, but hopefully avoid a loop of exponentially increasing popularity.

Setup

  1. Enable the module
  2. Configure and save under "Configuration -> Search and metadata -> Drank"
  3. Add a field named "Drank" (machine name: "field_drank") to a content type
  4. Leave field settings at their default values and "Number of values" at 1
  5. Visit a node and a score will be calculated
  6. Create a view with a drank field and set it to 'hidden'
  7. Sort view by "Drank Rank"

Author

Created by Maedi.

Project Information

Downloads