Saving xAPI statements in an LRS through Wordpress

limikael's picture

Hi,

I'm participating in implementing a system where we would like to store the xAPI statements generated by H5P in an LRS. We use H5P in a Wordpress environment, through the Wordpress plugin. I haven't dived into the documentation related to H5P/xAPI in much depth, but from reading this post it seems quite straight forward.

I'm thinking that the best way to go about implementing this would be as a generic wordpress plugin, that would just take the generated xAPI statements and send them to an xAPI endpoint. The plugin would be generic in the sense that there wouldn't be anything in it related to our particular solution or environment. The plugin would be configured with the xAPI endpoint configuration, and would work with any H5P content and any xAPI compatible LRS, at least in theory.

Does this sound like a good approach?

Also, the generic nature of the solution makes me think that someone would already have thought about this and maybe created such a solution already. So I would also like to ask what is already out there, anyone who has implemented this already?

Thanks!

micke / tunapanda.org

falcon's picture

Hi,

We know people are working on this. Specifically for the Grassblade LRS companion, but I don't think they're done yet and I don't know if that will turn out as generic as the one you are describing which sounds like a very good approach.

 

limikael's picture

Thank you!

Ok will start hacking on something, and see where it leads... :) Btw, do you have a link for the Grassblade LRS companion? Could be a good thing to get in touch with them to see if there is something we can collaborate on...

falcon's picture

Just in case you are still interested... we have been sucessful in sending xAPI statements from H5P widgets to GrassBlade LRS and to SCORM Cloud LRS. We have been doing this from our WordPress site, but now have also been successful in integrating the H5P framework into our OpenLabyrinth application (see http://openlabyrinth.ca/) - these H5P widgets also send xAPI statements to our LRS. OpenLabyrinth allows us to create rich branching narrative pathways, with full activity tracking (either internally or via xAPI), and embedded H5P widgets. A nice combination. 

limikael's picture

We created a separate component for this in the form of a wordpress plugin. It is open source and is available in the wordpress plugin repository:

https://wordpress.org/plugins/wp-h5p-xapi/

falcon's picture

:)