scorm

SCORM 2004 Time Format - Regular Expression?

橙三吉。 提交于 2019-12-04 06:30:53
I am building a SCORM 2004 javascript API for an LMS, and one of the SCORM 2004 requirements is that timeintervals passed into it must follow the following format. Does anyone know what the regular expression of this would be? I am trying to wrap my mind around it, but to no avail. Note: P must always be the first character. P[yY][mM][dD][T[hH][nM][s[.s]S]] where: y: The number of years (integer, >= 0, not restricted) m: The number of months (integer, >=0, not restricted) d: The number of days (integer, >=0, not restricted) h: The number of hours (integer, >=0, not restricted) n: The number of

Integrate SCORM in LMS [closed]

Deadly 提交于 2019-12-03 08:44:42
I have developed a Learning Management System using Java.I have to import and access the SCORM courses in my LMS.I have studied about SCORM in scorm.com but i have no clear idea of integrating it to my LMS.So can anyone give me the steps to integrate it to my LMS or link that has good explanation.Any help is appreciated. My name is Brian Caudill, I am the founder of JCA Solutions "The SCORM Authority" SCORM has 2 versions, SCORM 1.2 and SCORM 2004. There are a few open source projects that can assist in integrating SCORM 1.2 and there are some paid for applications. Basically what you are

Playing SCORM on Android devices

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:25:06
问题 I've got few questions about Android and SCORM. In both areas I'm pretty new and I only spent one evening digging the web in search of some answers. Topics I found were about synchronizing SCORM package with LMS but I do not need that. I'm just wondering how to PLAY (and just play, no need for any syncing or tracking) SCORM package on android device (Lenovo tablet with Android 4+ OS). If I try to make my own application which allows to browse local SCORM packages, will I be able to launch

Setting SCORM course progress

南楼画角 提交于 2019-12-01 13:19:37
I'm just wondering, is there anyway you can set the course progress in a SCORM file during runtime? Which method should I check? Progress would be defined based on the learning requirement by the SCO developer. In general, number of objectives (cmi.objectives) met or number of pages visited by the learner. To store the progress, if SCORM 2004 look for cmi.completion_threshold and cmi.progress_measure. If SCORM 1.2 we can use the generic element cmi.suspend_data. To display the progress inside the SCO at runtime, script in JS(ECMA) by utilizing the values stored in SCORM elements. Please refer

Cannot retrieve previously saved data from LMS - SCORM 2004

做~自己de王妃 提交于 2019-11-29 16:43:47
I'm trying to retrieve previously saved data from Moodle LMS but seems like something is not working. This is what I'm doing: I load the SCORM (v2004) package into Moodle and perform some actions (like save navigation data or set completion status): // Completion status always "unknown" at first time so I try to change it to incomplete: API_1484_11.SetValue('cmi.completion_status', 'incomplete'); // "true" ... API_1484_11.SetValue('cmi.location', '{"page":2}'); // "true" Then later on commit these changes: API_1484_11.Commit(''); // true Request/Response: When I leave and reenter the activity

How to add a namespace to an attribute in lxml

核能气质少年 提交于 2019-11-29 13:15:43
I'm trying to create an xml entry that looks like this using python and lxml: <resource href="Unit 4.html" adlcp:scormtype="sco"> I'm using python and lxml. I'm having trouble with the adlcp:scormtype attribute. I'm new to xml so please correct me if I'm wrong. adlcp is a namespace and scormtype is an attribute that is defined in the adlcp namespace, right? I'm not even sure if this is the right question but... My question is, how do I add an attribute to an element from a non-default namespace using lxml? I apologize in advance if this is a trivial question. This is not a full reply but just

How to add a namespace to an attribute in lxml

a 夏天 提交于 2019-11-28 07:06:13
问题 I'm trying to create an xml entry that looks like this using python and lxml: <resource href="Unit 4.html" adlcp:scormtype="sco"> I'm using python and lxml. I'm having trouble with the adlcp:scormtype attribute. I'm new to xml so please correct me if I'm wrong. adlcp is a namespace and scormtype is an attribute that is defined in the adlcp namespace, right? I'm not even sure if this is the right question but... My question is, how do I add an attribute to an element from a non-default

How do I give JavaScript variables data from ASP.NET variables?

寵の児 提交于 2019-11-26 22:14:17
I have created a SCORM API for our LMS and right now I am using hard coded userID and courseID variables (variables that reference things in the database). I need to pass the real userID and courseID instead of using hard coded ones. I know the userID is stored in the session and the courseID is passed over from the launch page. How do I get these into JavaScript so I can include them in my calls to the .ashx that handles the SCORM calls? Probably best easiest to expose them as properties of your page (or master page if used on every page) and reference them via page directives. <script type=

How do I give JavaScript variables data from ASP.NET variables?

空扰寡人 提交于 2019-11-26 08:16:11
问题 I have created a SCORM API for our LMS and right now I am using hard coded userID and courseID variables (variables that reference things in the database). I need to pass the real userID and courseID instead of using hard coded ones. I know the userID is stored in the session and the courseID is passed over from the launch page. How do I get these into JavaScript so I can include them in my calls to the .ashx that handles the SCORM calls? 回答1: Probably best easiest to expose them as