Picture of Kev Adsett
An interesting discussion about the publishing, and the tracking IDs grunt task
by Kev Adsett - Wednesday, 5 March 2014, 11:41 AM
 

Hi all,

I thought I'd move a discussion that's been going on in the github here to the forums, as it's an interesting one and I'd be interested in hearing more about what people think.

Here's the link to the discussion and a brief summary:

Alan suggested that the tracking IDs should automatically be inserted on build, meaning the author never has to worry about it, but Chris had an excellent idea whereby there should exist some separate "publish" function that should do three things:

  • build
  • tracking-reset
  • zip

On top of this, I was suggesting that actually it'd be pretty cool if we could potentially create an Adapt Publish task in the Adapt-cli that would walk the author through their tracking requirements, before outputting the zip to upload to an LMS.

It's difficult to know where this would lie in terms of the plugin architecture, so obviously Spoor, the default plugin for SCORM tracking, is the thing which handles all the tracking requirements, so maybe it's that plugin which should be responsible for adding this task to the framework, but I'm not sure how that would work.