<< Back
Message for this thread
Posted by Messages text
safavi roohollah

Noavatar
Total post : 5
> Profile
Written on : 23/08/2011 11:46 ( more than one month )
Object : Creating SCORM packages
Hello my dear friends,
I'm trying to create scorm 1.2 packages using "Reload Editor" but don't know how to define satisfaction criterion for an item so that it can be a prerequisite for other items.
What woud you recommend me to do? Does any of you knows about "Reload Editor" or any other available authoring tool that can implement progression control for my scorm packages?
Please hurry up for I'm short of time, would you?
Safavi 
Message modified by : safavi on : 24/08/2011 09:44
 
safavi roohollah

Noavatar
Total post : 5
> Profile
Written on : 24/08/2011 09:43 ( more than one month )
Object : Re: Creating SCORM packages
Hi all,
I'm still waiting for some help. Needing to produce scorm 1.2 packages, I don't know how an item (namely, a PDF File or a test) can send a message saying "I am now satisfied. Let the user open the next lesson! 
."
If you know how to use "Reload Editor" to do this, please send me your info.
Thanks
Safavi 
 
Hall Dennis

Noavatar
Total post : 29
> Profile
Written on : 24/08/2011 21:19 ( more than one month )
Object : Re: Creating SCORM packages
Hi safavi:
The easiest thing to do is launch it from an HTML file identified in your RESOURCES, then let the HTML file send back the complete() message to Docebo.

Example:
<resource identifier="Ref03" type="webcontent" adlcp:scormType="sco" href="launchPDFFile.html">
      <file href="launchPDFFile.html" />
      <file href="YourPDFFile.pdf" />
      <file href="SCORM_wrapper.js" />
</resource>

The HTML code would to open the PDF in the course window be simply:
<embed src="YourPDFFile.pdf" width="500" height="375">

Note: If you want the PDF file to open in full screen mode you must set that in your PDF IDE.



 
Message modified by : dennis.hall on : 24/08/2011 21:19
 
safavi roohollah

Noavatar
Total post : 5
> Profile
Written on : 29/08/2011 11:56 ( more than one month )
Object : Re: Creating SCORM packages
Written by:: safavi roohollah

Hi Dear Dennis,
Thanks a lot.
You said: let the HTML file send back the complete() message to Docebo.
This is my HTML file for launching f4.pdf. Where and how should I insert the complete() message?

ch4.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="supp/reloadhelp.css" type="text/css">
<title>algebraic structures</title>
</head>
<body>

<P>&nbsp;</P><P>&nbsp;</P>
<div align="center" cellpadding="10" cellspacing="10">
<table border="1" width="60%" summary="for formatting purposes only">
<tr><td>

<resource identifier="Ref03" type="webcontent" adlcp:scormType="sco" 

href="ch4.html">
      <file href="ch4.html" />
      <file href="f4.pdf" />
      <file href="SCORM_wrapper.js" />
</resource>
&nbsp;
<P align="center">
<embed src="supp/f4.pdf" width="500" height="375">
</P>
<P>
<span class="SUBHEAD">Ch4:algebraic structures</span><br>
fourth chapter of discrete math
</P><P>&nbsp;</P></td></tr></table>
</div>
</body>
</html>
 
I have also uloaded my package as denis.zip at Demo/comunity tools sample for you to observe and correct it.
 Thanks
 Safavi
 
Hall Dennis

Noavatar
Total post : 29
> Profile
Written on : 29/08/2011 19:07 ( more than one month )
Object : Re: Creating SCORM packages
Hi safavi:

Your HTML code looks a bit scary. Did you say this was created with the Reload editor?

What I find really different than what I'm used to seeing are that your XML is embedded in the HTML BODY tags, and the there is no declaration of XML anywhere.
Forgive me if I may sound a bit off, but I'm really not used to seeing this scenario and cannot imagine it even uploading successfully in Docebo (you need an external imsmanifiest.xml file).

Go to my thread here: http://www.docebo.com/community/doceboCms/forum/9_1/message/idThread_6551/SCORM2004_Content_only_course_sample.html
Download the zip file.

Open the imsmanifest.xml file with your reload editor (or just notepad.exe) and modify the second resource to use your PDF file (use the same information you have above, but use it in my framework and keep my reference to the SCORM_API_wrapper.js. Don't use you wrapper.js file.

If you wish, change the CAM 1.3, and SCORM_CAM_v1.3 lines to just have 1.2 in them.

Your PDF file should work in this file and report against 1.2 standards.

If you are able to have your PDF file run javascript internally, on the last page of your PDf file, create an end button (or a user action of some type) and associate a script with it. The contents of the script will simply be "complete()" nothing more - nothing less.

If you cannot put javascript inside your PDF file against a user action, then in the HTML file (in this example mod2.html), make a new line before the </body> tag and make a button the uses this function: onClick=javascript(complete)

Best Regards,
Dennis Hall
Message modified by : dennis.hall on : 29/08/2011 19:50
 
safavi roohollah

Noavatar
Total post : 5
> Profile
Written on : 03/09/2011 07:10 ( more than one month )
Object : Re: Creating SCORM packages
Hi Dennis,
I am again grateful for your help. However, ther are several problems:
First, which version of Reload Editor should I use?
Second, I myself added that HTML file to my package and don't know how to make Reload Editor create HTML for launching any item.
Third, you said: "If you cannot put javascript inside your PDF file against a user action, then in the HTML file (in this example mod2.html), make a new line before the </body> tag and make a button that uses this function: onClick=javascript(complete)"
Neither do I make head or tail of Javascript nor I know how to make a button in HTML.
Thanks
Safavi 
Message modified by : safavi on : 03/09/2011 07:15
 
Hall Dennis

Noavatar
Total post : 29
> Profile
Written on : 04/09/2011 14:54 ( more than one month )
Object : Re: Creating SCORM packages
Hi safavi:

1st. did you use my sample files?
2nd. do you understand how they work?
3rd. do not worry about the version of Reload you are using, you can make SCORM 1.2 with ALL Reload versions.
4th. don't use reload to edit HTML files. Reload is not designed to do this, it is designed to create IMS packages.

The files I provided are very basic when you only focus on editing between the <body> </body> tags.
Don't try to understand anything above these tags. and use an HTML editor, or notepad.exe to edit the html file that you want your PDf to be used in.

Once you open that file, replace the content of the body with the following code:
[code]
<body>
<P>&nbsp;</P><P>&nbsp;</P>
<div align="center" cellpadding="10" cellspacing="10">
<table border="1" width="60%" summary="for formatting purposes only">
<tr><td>
        <P align="center">
<embed src="supp/f4.pdf" width="500" height="375">
</P>
<P>
<span class="SUBHEAD">Ch4:algebraic structures</span><br>
fourth chapter of discrete math
</P>
        <P> //This is the complete button code
          <FORM>
            <INPUT type="button" value="Send Completed" onClick="end()">
          </FORM>
        </P>
      </td>
      </tr>
    </table>
</div>
</body>
[/code]
The code above will display your PDf file in the page and place a button centered below that PDF file. The button will say Send Completed on it and, when clicked, will show a Green checkmark in the Menu to the left of your course.
That menu represents your Organization section of the imsmanfiset.xml file.

Good Luck,
Dennis Hall
Message modified by : dennis.hall on : 04/09/2011 14:55
 
safavi roohollah

Noavatar
Total post : 5
> Profile
Written on : 05/09/2011 11:56 ( more than one month )
Object : Re: Creating SCORM packages
Hi Dennis:

1st. I just downloaded and executed your package.
2nd. I did not  exactly understand how it works.
3rd. OK.
4th. So you yourself write HTML files for your packages, right?

However, I will try to follow your instructions and will inform you of the result.
Thanks
Safavi 
Message modified by : safavi on : 06/09/2011 09:10
 
<< Back