ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Import SPIP content


  • 2005-04-11 10:25:46

    Import SPIP content

    Hi it's me again,

    I was wondering, is it possible to import SPIP easily ?
    I would like also to display ELM files (E-Learning Maker), that are xml files displayed through a flash player.

    Here is the code I use today to display my ELM files in a html page :
    [quote]<SCRIPT language='javascript'>

    var sParameters = unescape(window.location.search.substring(1));
    // appel de la page, exemple : testeur.htm?surldata=C:/Mondossier/&ssconame=Eval3A&sxmlfile=seance_auteur.xml&stype=seance&sindex=3&lookurl=C:/MondossierLook/look_auteur.xml


    // IExplorer
    document.writeln('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ID="player_edoceo" WIDTH="780" height="568">');
    document.writeln('<param name="allowScriptAccess" value="sameDomain">');
    document.writeln('<param name="movie" value="player_edoceo.swf?' + sParameters + ' ">');
    document.writeln('<param name="quality" value="high">');
    document.writeln('<param name="bgcolor" value="#FFFBDE">');

    // Netscape
    document.writeln('<EMBED SRC="player_edoceo.swf?' + sParameters + '" quality="high" bgcolor="#FFFBDE" width="790" height="575" name="player_edoceo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"' + '>');
    document.writeln('</EMBED></OBJECT>');

    </SCRIPT> [/quote]

    Of course, this is Javascript, and not really accessible, but for now we are going to keep those files and see how to change them later on...

  • 2005-04-11 15:29:01

    SPIP/ELM

    I can't say whether SPIP or ELM content will desplay in ATutor, not being famniliar with either of them. If they are compatible with the IMS CP specification you may be able to import them.

    Note that ATutor (<=1.4.3) strips away JS in the head of HTML documents, and does not support SCORM SCO packages which contain JS in the head of the HTML documents they contain. JS can be run from within an ATutor content page though you will likely need to make adjustments to paths etc. so the files the script depends on can be found.

    You should have no trouble displaying Flash in ATutor content pages.