xAPI module for learning analytics

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
daften's picture

At iMindsX we have been working on integrating Drupal with Learning Locker for a while now. We created a custom distribution for blended learning, and detailed analytics are very important. Last month, we made the set of integration modules that allows sending xAPI statements to Scorm Cloud and Learning Locker (developed by Matthias van Parijs, Nikos Verschore and Devan Chase) for various actions performed on the blended learning site. The coolest features are video player interaction for Youtube and Vimeo and Quiz integration.

You can find the module here: TinCan API

Any feedback on what we have so far and off course feature requests are more than welcome! We'd like to hear if this is useful for the community at large as well.

Comments

Cool! I tested quickly with

falcon's picture

Cool!

I tested quickly with Scorm Cloud and it seemed to work well. There was some php error messages poping up, and object.definition.choices[n].description was empty for a multichoice in a quiz, but other than that it seems to work very well.

A smill thing you could adjust is the labels on the settings page. Maybe use User/key and Password/secret to better mirror scormclouds wording.

Any H5P integration in the plans? Would be happy to make adjustments to the H5P module if needed to make your integration work easier.

http://h5p.org/documentation/x-api

Hi falcon, thanks for the

daften's picture

Hi falcon,

thanks for the feedback. I'd propose to submit all change requests and bugs in the issue queue, it will be picked up quicker that way normally (more people looking at that).

H5P integration is something we're looking at. I think we're almost ready for some internal testing and if everything goes well, we might release it pretty soon, but I can't confirm that definitively yet :)

thanks again!

Great, I did it very quickly.

falcon's picture

Great, I did it very quickly.

Help a Noob with TinCanAPI?

bramface's picture

I have developed an educational project for detecting web-based disinformation called Fake News Fitness (see http://myinstructionaldesigns.com/eportfolio/fake-news-fitness) and am trying to view the creation of new "page check" nodes and comments on those nodes as xAPI statements in Learning Locker.

Since I have never done anything with xAPI before, I don't even have a model in my head for what is supposed to happen.

What I do know is that I have a Chrome extension that exchanges JSON with my Drupal (Commons) site, by checking if the submit form references the current user and then sending data relative to the page being checked. I used a Slate article for a sample, and it clearly works, as shown in the first three entries of my Apache log: the 108.162.219.78 address is Cloudflare (our proxy).

But I don't see anything sent over port 80 to Learning Locker (34.250.66.3). What do I have to do at Learning Locker to see this data show up there?

Thanks for any help you can offer!

-Bram

108.162.219.78 - - [19/Feb/2018:23:32:01 +0000] "GET /restws/session/token HTTP/1.1" 200 459 "https://slate.com/news-and-politics/2018/01/trump-is-testing-americas-strength.html" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36"

108.162.219.78 - - [19/Feb/2018:23:32:02 +0000] "GET /user.json?field_extension_id=bmoreinis@gmail.com HTTP/1.1" 200 7224 "https://slate.com/news-and-politics/2018/01/trump-is-testing-americas-strength.html" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36"

108.162.219.78 - - [19/Feb/2018:23:32:03 +0000] "POST /node HTTP/1.1" 201 417 "https://slate.com/news-and-politics/2018/01/trump-is-testing-americas-strength.html" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36"

Brick Wall: TinCanAPI tracks views, NOT creation

bramface's picture

Bryan suggested maybe it didn't track Admin, so I posted as a non-admin account, and still the only behavior I see on Apache logs is what I expected.

I think the problem is that TinCanAPI tracks views, NOT creation. When I create from the Chrome Extension, there is no view of the resulting node - and there is no tracking option in the TinCanAPI module for creation.

The only thing I think could solve this would be to create an RSS feed for created nodes, but even that would be a view mode.

I guess we just hit a brick wall with using TinCanAPI with Drupal!

-Bram

Documentation tool

falcon's picture

Hi bramface,

H5P has an xAPI integration, and I believe you may integrate H5P with Learning Locker through https://www.drupal.org/project/h5p_tincan_bridge (I haven't tested it lately).

H5P will soon(as in hopefully this week or the next) release an improved version of the documentation tool with xAPI support:

https://h5p.org/documentation-tool

There is also the questionnaire:

https://h5p.org/questionnaire

Going this path would mean that all your data lives in the LRS. I'm not sure if this would fit your use-case at all.

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week