SNORDIAN's H5PxAPIkatchu free WordPress plugin
Description
SNORDIAN's H5PxAPIkatchu free WordPress plugin
This WordPress plugin is a simple solution to catch ’em all, those xAPI statements that have been sent by H5P (https://h5p.org) content types. It allows you to store (the most relevant) xAPI properties in the database of WordPress. It also allows you to view, filter and export these data as a CSV file for further processing.
Please cmp. https://www.olivertacke.de/labs/2017/12/27/gotta-catch-em-all/ and https://www.olivertacke.de/labs/2018/03/25/collecting-and-analyzing-data-with-h5p-and-opening-up-education-maybe/ for the ideas behind the plugin.
This plugin is NOT intended to work as a replacement for a decent Learning Record Store. It will work well for smaller platforms, but if you are expecting to track many xAPI statements, you will probably run into trouble with displaying all the data at some point.
This plugin is NOT intended to forward xAPI statements sent by H5P to a Learning Record Store. Please use https://github.com/tunapanda/wp-h5p-xapi if you need that functionality.
This plugin is NOT intended to replace the H5P plugin’s reporting or provide functionality for analysis, etc. There is no point in recreating what is already available in Learning Record Stores or what you can do yourself with a spreadsheet software, scikit-learn, etc.
If you need more, you should give Learning Locker (https://learninglocker.net/) a shot. It’s open, free and shiny.
PLEASE NOTE: H5P IS A REGISTERED TRADEMARK OF JOUBEL. THIS PLUGIN WAS NEITHER CREATED BY JOUBEL NOR IS IT ENDORSED BY THEM.
GDPR
Please note that as of May 25, 2018 you may have to comply with the General Data Privacy Regulation (GDPR, http://gdpr-info.eu/).
H5PxAPIkatchu supports the functions that WordPress offers to
use suggestion for your privacy statement text,
export personal data of a user, and
delete personal data of a user.
Background: If you’re using H5PxAPIkachu, by processing the xAPI statements you’re processing at least these personal data items according to art. 4 GDPR:
xAPI statement: Actor/name (Full name of the Agent)
xAPI statement:Actor/Inverse Functional Identifier (email address, openID or account data within the host system)
WordPress user id (ID given by the WordPress host system)
Please make sure to account for these items in your GDPR processes and documentation.
Customization
Capabilities
Some capabilities can be set for WordPress user roles in order to specify who
should be allowed to do what:
manage_h5pxapikatchu_options: Capability to change the plugin’s options
view_h5pxapikatchu_results: Capability to view results of content types that have been created by current user and that were stored by H5PxAPIkachu
view_others_h5pxapikatchu_results: Capability to view results of all content types that were stored by H5PxAPIkachu
download_h5pxapikatchu_results: Capability to download the results stored by H5PxAPIkachu and accessible to current user
delete_h5pxapikatchu_results: Capability to delete ALL data stored by H5PxAPIkachu
Hooks and filters
H5PxAPIkachu provides some hooks and filters that developers can use to customize the behavior or to use H5PxAPIkachu as the basis of their own plugin.
Hooks
h5pxapikatchu_on_activation: Triggered on activation of H5PxAPIkachu
h5pxapikatchu_on_deactivation: Triggered on deactivation of H5PxAPIkachu
h5pxapikatchu_on_uninstall: Triggered on uninstall of H5PxAPIkachu
h5pxapikatchu_insert_data: Triggered when data are supposed to be inserted into the database
h5pxapikatchu_insert_data_pre_database: Triggered right before data will be inserted into the database
h5pxapikatchu_delete_data: Triggered when data are supposed to be deleted from the database
Filters
h5pxapikatchu_insert_data_actor: Allows to filter/retrieve the xAPI actor object when it is supposed to be inserted into the database
h5pxapikatchu_insert_data_verb: Allows to filter/retrieve the xAPI verb object when it is supposed to be inserted into the database
h5pxapikatchu_insert_data_object: Allows to filter/retrieve the xAPI object object when it is supposed to be inserted into the database
h5pxapikatchu_insert_data_result: Allows to filter/retrieve the xAPI result object when it is supposed to be inserted into the database
h5pxapikatchu_insert_data_xapi: Allows to filter/retrieve the complete xAPI statement string when it is supposed to be inserted into the database