- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我发送此示例语句时,当我查看 LRS 中的信息时,动词不会显示。 Actor 和其他信息显示正确。有人可以告诉我我可能做错了什么吗?谢谢。
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Simple Statement</title>
<script src="js/tincan.js" type="text/javascript"></script>
<script type="text/javascript">
function init()
{
var tincan = new TinCan (
{
recordStores: [
{
endpoint: "https://lrs.adlnet.gov/xapi/",
username: "xapi-tools",
password: "xapi-tools",
allowFail: false
}
]
}
);
tincan.sendStatement(
{
actor: {
mbox: "mailto:myemailaddress@example.com"
},
verb: {
id: "http://adlnet.gov/expapi/verbs/attempted"
},
target: {
id: "http://tincanapi.com/activities/sending-my-first-statement"
}
},
function (err, result) {
//Handle any errors here. This code just outputs the result to the page.
document.write("<pre>");
document.write(JSON.stringify(err, null, 4));
document.write("</pre>");
document.write("<pre>");
document.write(JSON.stringify(result, null, 4));
document.write("</pre>");
}
);
}
</script>
</head>
<body onload='init()'>
最佳答案
很可能什么也没有。您的语句可以通过提供“显示”属性并在其中包含一个或多个语言代码/值对来“改进”,以便该语句包含该对象的“人类可读”版本。我认为 TinCanJS 会为你做这个动词。
关于javascript - xAPI 语句中未显示动词,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34463582/
本文整理了Java中xapi.util.X_Util类的一些代码示例,展示了X_Util类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目
当我发送此示例语句时,当我查看 LRS 中的信息时,动词不会显示。 Actor 和其他信息显示正确。有人可以告诉我我可能做错了什么吗?谢谢。 Simple Statement function
本文整理了Java中xapi.util.X_Util.equal()方法的一些代码示例,展示了X_Util.equal()的具体用法。这些代码示例主要来源于Github/Stackoverflow/M
本文整理了Java中xapi.util.X_Util.rethrow()方法的一些代码示例,展示了X_Util.rethrow()的具体用法。这些代码示例主要来源于Github/Stackoverfl
本文整理了Java中xapi.collect.X_Collect.newStringMultiMap()方法的一些代码示例,展示了X_Collect.newStringMultiMap()的具体用法。
本文整理了Java中xapi.collect.X_Collect.newStringMap()方法的一些代码示例,展示了X_Collect.newStringMap()的具体用法。这些代码示例主要来源
本文整理了Java中xapi.collect.X_Collect.newDictionary()方法的一些代码示例,展示了X_Collect.newDictionary()的具体用法。这些代码示例主要
我试图更好地了解xAPI/Tin Can的工作方式(此后将其称为xAPI) 以前,我是为SCORM 1.2 LMS开发的,其中有“记录”,例如:每个内容包的 Raw尝试,状态和 Raw Score 。
我想用 SAXParser 解析 XAPI xml。但现在我遇到了问题。 首先是一段 xml: 还有一段我的 SAXParser 代码: public void startEle
我是 xAPI/TinCan API 的新手,所以我的问题可能有点笼统,但到目前为止我还没有找到任何可以帮助我的东西。我认为可以将 xAPI 集成到 Unity 项目(游戏或模拟)中,但我该怎么做呢?
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 7 年前。
我是一名优秀的程序员,十分优秀!