<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Download VS SCORM 1.2 RTE Rev 2.1</title>
	<atom:link href="http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/</link>
	<description>A Very Simple SCORM Interface</description>
	<lastBuildDate>Sun, 02 Oct 2011 18:07:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Step 55 &#8211; Delaying Loading of the SCO &#124; VSSCORM</title>
		<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/comment-page-1/#comment-72</link>
		<dc:creator>Step 55 &#8211; Delaying Loading of the SCO &#124; VSSCORM</dc:creator>
		<pubDate>Fri, 16 Jul 2010 13:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.vsscorm.net/?p=1254#comment-72</guid>
		<description>[...] recently, reader &#8216;deighvan&#8217; reported a similar problem and, even better, came up with a simple solution. So I&#8217;ve incorporated a slightly modified [...]</description>
		<content:encoded><![CDATA[<p>[...] recently, reader &#8216;deighvan&#8217; reported a similar problem and, even better, came up with a simple solution. So I&#8217;ve incorporated a slightly modified [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Addison</title>
		<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/comment-page-1/#comment-63</link>
		<dc:creator>Steve Addison</dc:creator>
		<pubDate>Fri, 09 Jul 2010 18:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.vsscorm.net/?p=1254#comment-63</guid>
		<description>Thank you! I hadn&#039;t come across that one. 

I&#039;ll take a closer look as soon as I can, but I&#039;m glad that you found a workaround/solution and I really appreciate you posting the code for me to look at.</description>
		<content:encoded><![CDATA[<p>Thank you! I hadn&#8217;t come across that one. </p>
<p>I&#8217;ll take a closer look as soon as I can, but I&#8217;m glad that you found a workaround/solution and I really appreciate you posting the code for me to look at.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deighvan</title>
		<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/comment-page-1/#comment-62</link>
		<dc:creator>deighvan</dc:creator>
		<pubDate>Fri, 09 Jul 2010 18:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.vsscorm.net/?p=1254#comment-62</guid>
		<description>Funny.  I&#039;ve had the opposite issue.  I moved my database over to MSSQL and experienced course loading issues due to loss in performance (slow dev machine).  Not all the course elements would load (missing buttons, images, etc).  This was due to the fact that the &#039;API&#039; frame was taking longer to load than the &#039;course&#039; frame.  So I modified &#039;rte.php&#039; to do two things.  First, load a blank page in the course frame, then redirect the course frame to my SCO start location after the &#039;API&#039; frame is finished loading.

Here&#039;s the JavaScript function: 
      var redirected = false;
      function loadCourse() {
          if (!redirected) top.frames[&#039;course&#039;].location = &#039;/courses/RealCourse/index.html&#039;;
          redirected = true;
      }

Here are the modified frames: 
   &lt;frame src=&quot;api.php?SCOInstanceID=&quot; name=&quot;API&quot; onload=&quot;loadCourse()&quot; noresize&gt;
   

Hopefully this will help someone else who is having the same issue... or better yet, spawn a more elegant solution. :D</description>
		<content:encoded><![CDATA[<p>Funny.  I&#8217;ve had the opposite issue.  I moved my database over to MSSQL and experienced course loading issues due to loss in performance (slow dev machine).  Not all the course elements would load (missing buttons, images, etc).  This was due to the fact that the &#8216;API&#8217; frame was taking longer to load than the &#8216;course&#8217; frame.  So I modified &#8216;rte.php&#8217; to do two things.  First, load a blank page in the course frame, then redirect the course frame to my SCO start location after the &#8216;API&#8217; frame is finished loading.</p>
<p>Here&#8217;s the JavaScript function:<br />
      var redirected = false;<br />
      function loadCourse() {<br />
          if (!redirected) top.frames['course'].location = &#8216;/courses/RealCourse/index.html&#8217;;<br />
          redirected = true;<br />
      }</p>
<p>Here are the modified frames:<br />
   &lt;frame src=&quot;api.php?SCOInstanceID=&#8221; name=&#8221;API&#8221; onload=&#8221;loadCourse()&#8221; noresize&gt;</p>
<p>Hopefully this will help someone else who is having the same issue&#8230; or better yet, spawn a more elegant solution. <img src='http://www.vsscorm.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Addison</title>
		<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/comment-page-1/#comment-60</link>
		<dc:creator>Steve Addison</dc:creator>
		<pubDate>Sun, 20 Jun 2010 04:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.vsscorm.net/?p=1254#comment-60</guid>
		<description>I&#039;ve just been working on a problem that another blog reader was having which also seems to be due to API.LMSFinish() being called too quickly. I think we were able to fix it by modifying &#039;rte.php&#039; to include a delay. I added a function to the header of &#039;rte.php&#039; like this:

function unloadSCO() {
    var s = &#039;&#039;;
    setTimeout(&#039;API.LMSFinish(&#039;+s+&#039;);&#039;,2000);
}

and then modified the &#039;onbeforeunload&#039; and &#039;onunload&#039; actions in the frameset tag like this:

... onbeforeunload=&quot;unloadSCO();&quot; onunload=&quot;unloadSCO();&quot; ...

I&#039;ll write this up in more detail but, if you try it out and it works, let me know!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just been working on a problem that another blog reader was having which also seems to be due to API.LMSFinish() being called too quickly. I think we were able to fix it by modifying &#8216;rte.php&#8217; to include a delay. I added a function to the header of &#8216;rte.php&#8217; like this:</p>
<p>function unloadSCO() {<br />
    var s = &#8221;;<br />
    setTimeout(&#8216;API.LMSFinish(&#8216;+s+&#8217;);&#8217;,2000);<br />
}</p>
<p>and then modified the &#8216;onbeforeunload&#8217; and &#8216;onunload&#8217; actions in the frameset tag like this:</p>
<p>&#8230; onbeforeunload=&#8221;unloadSCO();&#8221; onunload=&#8221;unloadSCO();&#8221; &#8230;</p>
<p>I&#8217;ll write this up in more detail but, if you try it out and it works, let me know!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: magicwise</title>
		<link>http://www.vsscorm.net/2010/04/30/download-vs-scorm-1-2-rte-rev-2-1/comment-page-1/#comment-59</link>
		<dc:creator>magicwise</dc:creator>
		<pubDate>Fri, 07 May 2010 23:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.vsscorm.net/?p=1254#comment-59</guid>
		<description>Hi Steve,
thanks a lot for your work, I read through the steps 1-27 today and now have a much better understanding of how the SCORM API really works. Just downloaded the code and installed the RTE on my local server to test a course which is giving me trouble. It really helps a lot to see the data in the DB. I just had to remove the API.LMSFinish calls from the frameset in RTE.php to make it work. As the course writes all data when it is closed, it doesn&#039;t find the API anymore with these calls in place. Obviously they close down the API too early for this special SCO which runs in a separate window. The starting page of the course is just opens a new window and the SCO looks for the API in its opener.</description>
		<content:encoded><![CDATA[<p>Hi Steve,<br />
thanks a lot for your work, I read through the steps 1-27 today and now have a much better understanding of how the SCORM API really works. Just downloaded the code and installed the RTE on my local server to test a course which is giving me trouble. It really helps a lot to see the data in the DB. I just had to remove the API.LMSFinish calls from the frameset in RTE.php to make it work. As the course writes all data when it is closed, it doesn&#8217;t find the API anymore with these calls in place. Obviously they close down the API too early for this special SCO which runs in a separate window. The starting page of the course is just opens a new window and the SCO looks for the API in its opener.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

