Proof of concept module for wiring up a Drupal instance to use a GreatestHits server.
- Drupal 8
- A GreatestHits server
- Clone this repo into your Islandora's
drupal/web/modules/contrib
directory. - Enable the module either under the "Admin > Extend" menu or by running
drush en -y greatesthits
.
The only configuration option is the base URL of the GreatestHits server, which can be set at /admin/config/system/greatesthits
. If you are running this on the Islandora Playbook, and your GreatestHits server is running on the Ansible host, the this setting should be address should be http://10.0.2.2:3000
.
Also, there is a block, "GreatestHits for nodes", that shows the number of hits recorded by GreatestHits for the current node.