Saving xAPI statements in an LRS through Wordpress
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?
micke / tunapanda.org