<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Such modesty.<div>You still are.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte-dev@lists.nottingham.ac.uk<br>Date: Mon, 11 Feb 2013 14:09:21 +0000<br>Subject: [Xerte-dev] Re: Avoiding eval()<br><br><style><!--
.ExternalClass .ecxshape
{;}
--></style><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsoacetate, .ExternalClass li.ecxecxmsoacetate, .ExternalClass div.ecxecxmsoacetate
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsonormal, .ExternalClass li.ecxecxecxmsonormal, .ExternalClass div.ecxecxecxmsonormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsoacetate, .ExternalClass li.ecxecxecxmsoacetate, .ExternalClass div.ecxecxecxmsoacetate
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal, .ExternalClass li.ecxecxecxecxmsonormal, .ExternalClass div.ecxecxecxecxmsonormal
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate, .ExternalClass li.ecxecxecxecxmsoacetate, .ExternalClass div.ecxecxecxecxmsoacetate
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault, .ExternalClass li.ecxecxecxecxmsochpdefault, .ExternalClass div.ecxecxecxecxmsochpdefault
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal1, .ExternalClass li.ecxecxecxecxmsonormal1, .ExternalClass div.ecxecxecxecxmsonormal1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate1, .ExternalClass li.ecxecxecxecxmsoacetate1, .ExternalClass div.ecxecxecxecxmsoacetate1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault1, .ExternalClass li.ecxecxecxecxmsochpdefault1, .ExternalClass div.ecxecxecxecxmsochpdefault1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsochpdefault, .ExternalClass li.ecxecxecxmsochpdefault, .ExternalClass div.ecxecxecxmsochpdefault
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsonormal1, .ExternalClass li.ecxecxecxmsonormal1, .ExternalClass div.ecxecxecxmsonormal1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsoacetate1, .ExternalClass li.ecxecxecxmsoacetate1, .ExternalClass div.ecxecxecxmsoacetate1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal2, .ExternalClass li.ecxecxecxecxmsonormal2, .ExternalClass div.ecxecxecxecxmsonormal2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate2, .ExternalClass li.ecxecxecxecxmsoacetate2, .ExternalClass div.ecxecxecxecxmsoacetate2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault2, .ExternalClass li.ecxecxecxecxmsochpdefault2, .ExternalClass div.ecxecxecxecxmsochpdefault2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal11, .ExternalClass li.ecxecxecxecxmsonormal11, .ExternalClass div.ecxecxecxecxmsonormal11
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate11, .ExternalClass li.ecxecxecxecxmsoacetate11, .ExternalClass div.ecxecxecxecxmsoacetate11
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault11, .ExternalClass li.ecxecxecxecxmsochpdefault11, .ExternalClass div.ecxecxecxecxmsochpdefault11
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsochpdefault1, .ExternalClass li.ecxecxecxmsochpdefault1, .ExternalClass div.ecxecxecxmsochpdefault1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxballoontextchar
{;}
.ExternalClass span.ecxecxecxmsohyperlink1
{;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed1
{;}
.ExternalClass span.ecxecxecxecxmsohyperlink11
{;}
.ExternalClass span.ecxecxecxecxmsohyperlinkfollowed11
{;}
.ExternalClass span.ecxecxecxecxballoontextchar11
{;}
.ExternalClass span.ecxecxecxecxemailstyle1911
{;}
.ExternalClass span.ecxecxecxecxemailstyle2011
{;}
.ExternalClass span.ecxecxecxecxemailstyle2111
{;}
.ExternalClass span.ecxecxecxecxemailstyle2211
{;}
.ExternalClass span.ecxecxecxecxemailstyle2311
{;}
.ExternalClass span.ecxecxecxecxemailstyle2411
{;}
.ExternalClass span.ecxecxecxecxemailstyle2511
{;}
.ExternalClass span.ecxecxecxecxemailstyle2611
{;}
.ExternalClass span.ecxecxecxecxemailstyle2711
{;}
.ExternalClass span.ecxecxecxecxemailstyle2811
{;}
.ExternalClass span.ecxecxecxecxemailstyle2911
{;}
.ExternalClass span.ecxecxecxballoontextchar1
{;}
.ExternalClass span.ecxecxecxemailstyle541
{;}
.ExternalClass span.ecxecxemailstyle74
{;}
.ExternalClass span.ecxecxemailstyle75
{;}
.ExternalClass span.ecxecxemailstyle76
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxecxmsoacetate1, .ExternalClass li.ecxecxmsoacetate1, .ExternalClass div.ecxecxmsoacetate1
{font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxballoontextchar1
{font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxecxecxmsonormal2, .ExternalClass li.ecxecxecxmsonormal2, .ExternalClass div.ecxecxecxmsonormal2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsoacetate2, .ExternalClass li.ecxecxecxmsoacetate2, .ExternalClass div.ecxecxecxmsoacetate2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal3, .ExternalClass li.ecxecxecxecxmsonormal3, .ExternalClass div.ecxecxecxecxmsonormal3
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate3, .ExternalClass li.ecxecxecxecxmsoacetate3, .ExternalClass div.ecxecxecxecxmsoacetate3
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault3, .ExternalClass li.ecxecxecxecxmsochpdefault3, .ExternalClass div.ecxecxecxecxmsochpdefault3
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal12, .ExternalClass li.ecxecxecxecxmsonormal12, .ExternalClass div.ecxecxecxecxmsonormal12
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate12, .ExternalClass li.ecxecxecxecxmsoacetate12, .ExternalClass div.ecxecxecxecxmsoacetate12
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault12, .ExternalClass li.ecxecxecxecxmsochpdefault12, .ExternalClass div.ecxecxecxecxmsochpdefault12
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsochpdefault2, .ExternalClass li.ecxecxecxmsochpdefault2, .ExternalClass div.ecxecxecxmsochpdefault2
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsonormal11, .ExternalClass li.ecxecxecxmsonormal11, .ExternalClass div.ecxecxecxmsonormal11
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsoacetate11, .ExternalClass li.ecxecxecxmsoacetate11, .ExternalClass div.ecxecxecxmsoacetate11
{font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxecxecxecxmsonormal21, .ExternalClass li.ecxecxecxecxmsonormal21, .ExternalClass div.ecxecxecxecxmsonormal21
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsoacetate21, .ExternalClass li.ecxecxecxecxmsoacetate21, .ExternalClass div.ecxecxecxecxmsoacetate21
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault21, .ExternalClass li.ecxecxecxecxmsochpdefault21, .ExternalClass div.ecxecxecxecxmsochpdefault21
{font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxecxmsonormal111, .ExternalClass li.ecxecxecxecxmsonormal111, .ExternalClass div.ecxecxecxecxmsonormal111
{font-size:11.0pt;font-family:"Calibri","sans-serif";}
.ExternalClass p.ecxecxecxecxmsoacetate111, .ExternalClass li.ecxecxecxecxmsoacetate111, .ExternalClass div.ecxecxecxecxmsoacetate111
{font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxecxecxecxmsochpdefault111, .ExternalClass li.ecxecxecxecxmsochpdefault111, .ExternalClass div.ecxecxecxecxmsochpdefault111
{font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxecxmsochpdefault11, .ExternalClass li.ecxecxecxmsochpdefault11, .ExternalClass div.ecxecxecxmsochpdefault11
{font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxecxmsohyperlink11
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxecxmsohyperlinkfollowed11
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxecxecxmsohyperlink111
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxecxecxmsohyperlinkfollowed111
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxecxecxballoontextchar111
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxecxecxemailstyle19111
{font-family:"Calibri","sans-serif";color:windowtext;}
.ExternalClass span.ecxecxecxecxemailstyle20111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle21111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle22111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle23111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle24111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle25111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle26111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle27111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle28111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxecxemailstyle29111
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxecxballoontextchar11
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxecxemailstyle5411
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxemailstyle741
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxemailstyle751
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxemailstyle761
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxBalloonTextChar
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxEmailStyle110
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">…on that particular occasion…</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 11 February 2013 14:09<br><b>To:</b> xerte-dev@lists.nottingham.ac.uk<br><b>Subject:</b> [Xerte-dev] Re: Avoiding eval()</span></p></div></div><p class="ecxMsoNormal" style=""> </p><div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Julian ended up in much better shape than the rest of us.</span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><div><div class="ecxMsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><hr size="2" width="100%" align="center" id="ecxstopSpelling"></span></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From: <a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a><br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>Date: Mon, 11 Feb 2013 13:44:02 +0000<br>Subject: [Xerte-dev] Re: Avoiding eval()</span></p><div><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">And my dignity remains intact:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285" target="_blank">http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 11 February 2013 13:41<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There were a few characters on there that were just too much fun not to poke from time to time.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John<br><b>Sent:</b> 11 February 2013 13:35<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">And you’re still talking about it 11 years later!! Must have made a real impression ;-)</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">John Smith</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Learning Technologist</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">School of Health & Life Sciences</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Glasgow Caledonian University</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> Monday, February 11, 2013 1:29 PM<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!"</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">It seemed so important.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">;-)</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div><div class="ecxMsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><hr size="2" width="100%" align="center"></span></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From: <a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a><br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>Date: Mon, 11 Feb 2013 13:16:38 +0000<br>Subject: [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There was fair bit of pulpit thumping going on back then IIRC… happy days!</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 11 February 2013 12:12<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">John, we're damaged.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Eval = Evil</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Julian and I cut our teeth on this type of discussion:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">The friendly challenge was directed to those who, in the past, have said</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">things like: "Eval is evil" and "The first thing I do when I work on</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">someone else's code is go through it and remove ALL the Evals." The</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">friendly challenge was for someone to come up with a better GENERIC,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";background:#FFFFCC">LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!!</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Authorware listserv circa 2002</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">It was a long rant ending with the lister's resignation from the list.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">;-)</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div><div class="ecxMsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><hr size="2" width="100%" align="center"></span></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From: <a href="mailto:J.J.Smith@gcu.ac.uk">J.J.Smith@gcu.ac.uk</a><br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>Date: Mon, 11 Feb 2013 11:49:07 +0000<br>Subject: [Xerte-dev] Re: Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don’t think it’s ‘BAD’…</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">var path = FileLocation + $(data).find('learningObject').attr('header').split(“’”)[1]</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Regards,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">John Smith</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Learning Technologist</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">School of Health & Life Sciences</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Glasgow Caledonian University</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> Monday, February 11, 2013 11:09 AM<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Avoiding eval()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that’s not the ‘right’ thing to do?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">//get the file path from the string “FileLocation + ‘media/header.png’”</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">var path = eval( $(data).find('learningObject').attr('header') );</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John<br><b>Sent:</b> 11 February 2013 10:41<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Yeah I couldn’t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on….</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Regards,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">John Smith</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Learning Technologist</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">School of Health & Life Sciences</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Glasgow Caledonian University</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> Monday, February 11, 2013 10:26 AM<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> if (typeof data == 'string'){</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> //have to mangel the data for IE, not sure if this works??</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> data = $.parseXML(data);</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> }</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Seems to have done the trick.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John<br><b>Sent:</b> 11 February 2013 10:23<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Hi Julian</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though…</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> var xml;</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> if (jQuery.browser.msie) { // Had to add this in to get IE to parse <shapes> correctly</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> xmlDoc.loadXML($(x_currentPageXML).text());</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> xml = xmlDoc;</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> }</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> else {</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> xml = $($(x_currentPageXML).text());</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> }</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Regards,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">John Smith</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Learning Technologist</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">School of Health & Life Sciences</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Glasgow Caledonian University</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> Monday, February 11, 2013 9:35 AM<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">There’s some funky stuff with IE and ajax in jQuery when you set the dataType to ‘xml’. I did have it set to ‘text’, it’s a known thing and I’ll figure it out.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 08 February 2013 16:14<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Hi Julian</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure <a href="http://www.nottingham.ac.uk/~cczjrt/boostrapLO" target="_blank">http://www.nottingham.ac.uk/~cczjrt/boostrapLO</a> did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">HTH</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Ron</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><a name="_MailEndCompose" target="_blank"></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 08 February 2013 11:48<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">I got it working, you can check it out and do an xampp install for a quick preview of what’s there so far.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Few observations on hooking it up:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">- Ages ago, Pat, we talked about firing the data at an ad-hoc page – there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can’t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">- There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">- I’ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">- I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn’t Nottingham.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">- Otherwise it’s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I’m not so sure what needs to be in place to make the properties panel more flexible?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Cheers,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat @ Pgogy<br><b>Sent:</b> 08 February 2013 09:15<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">That might work better?<br><br>Pgogy Webstuff - <a href="http://www.pgogywebstuff.com" target="_blank">http://www.pgogywebstuff.com</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Makers of web things of a fair to middling quality</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>On 8 Feb 2013, at 09:04, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Well, it’s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ‘runtime’ to point to my booststrap.php page. </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">A related question: is there anything different between preview and play, or could I just use the same file for both?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat @ Pgogy<br><b>Sent:</b> 07 February 2013 17:51<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I would assume we accordion the templates list?<br><br>Pgogy Webstuff - <a href="http://www.pgogywebstuff.com" target="_blank">http://www.pgogywebstuff.com</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Makers of web things of a fair to middling quality</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>On 7 Feb 2013, at 16:12, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Yeah, that’s pretty much what I’m doing. It will work and that’s fine, just wondering about the situation where there loads of these things…</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style=""><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat @ Pgogy<br><b>Sent:</b> 07 February 2013 15:47<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Modular Play and New Templates</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Duplicate the modules xerte folder into modules new template name</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Keep the edit php file as it is still xerte</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Mangle play and preview to present the HTML<br><br>Pgogy Webstuff - <a href="http://www.pgogywebstuff.com" target="_blank">http://www.pgogywebstuff.com</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Makers of web things of a fair to middling quality</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>On 7 Feb 2013, at 09:46, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>> wrote:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Question for Pat I think:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">With the html5 playout, Fay has added play_html5.php that does the work, that’s all fine. I’ve got a new template I’d like to build in that produces this stuff:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><a href="http://www.nottingham.ac.uk/~cczjrt/boostrapLO" target="_blank">http://www.nottingham.ac.uk/~cczjrt/boostrapLO</a>. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">There’s another difference here: Fay’s html5 code plays existing content – so you have two alternative urls for the same piece, ultimately we’ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn’t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that’s what needs to export as well.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">What do you think is the best thing to do?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Julian</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></blockquote><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></blockquote></div></blockquote><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></blockquote></div></blockquote><blockquote style=""><div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></blockquote><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>_______________________________________________ Xerte-dev mailing list <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br><br><br><br>_______________________________________________ Xerte-dev mailing list <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div></div><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><p class="ecxMsoNormal" style=""><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br><br><br><br>_______________________________________________ Xerte-dev mailing list <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span></p></div></div></div>
<br><br>
<br><br>_______________________________________________
Xerte-dev mailing list
Xerte-dev@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</div></div> </div></body>
</html>