Skip to content

Instantly share code, notes, and snippets.

View mpkliewer's full-sized avatar

Matthew Kliewer mpkliewer

View GitHub Profile
@mpkliewer
mpkliewer / xapi-storyline-basic-instructions.md
Last active March 12, 2024 09:30
Simple example of pulling xAPI results from LRS in an Articulate Storyline project

Basic Instructions

  1. Copy the Script1 function into the first Storyline JS trigger on the page you wish to display results
    • Repeat for Scripts 2 and 3
    • Tweak as necessary to get different results
  2. Create a Storyline variable to hold the results
    • Just called “storylineVar” in the example
  3. Insert a “reference” to this variable on the screen (%storylineVar%)
  4. Publish
    • Doesn’t have to be “TinCan” publish since we’re handling it ourselves
  5. Add the “tincan.js” library to the root folder of your published output
@mpkliewer
mpkliewer / xapi-google-form
Last active May 16, 2017 12:24
xAPI Party 2017 - Google Form > xAPI
# Google Form > xAPI
## xAPI Party 2017 (Maker Space Project)
### General purpose form to capture various activity types into a Learning Record Store (LRS)
See live example here: http://bit.ly/xapi-party
The file `xapi-send.gs` is a Google Apps Script (https://developers.google.com/apps-script/overview). It's essentially JavaScript with some Google-specific API methods.
It, and the form, are connected to a Google Sheet.