<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Tom,</div><div><br></div><div>Thoughts on making XML into a play option?<br><br>Pgogy Webstuff - <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a><div>Makers of web things of a fair to middling quality</div></div><div><br>On 11 Apr 2013, at 21:52, Tom Reijnders <<a href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Yes definitely. Added function upgrade_4()<br>
<br>
Tom<br>
<br>
<div class="moz-cite-prefix">Op 11-4-2013 15:42, Ron Mitchell
schreef:<br>
</div>
<blockquote cite="mid:041701ce36ba$6cdd4320$4697c960$@co.uk" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
p.mson, li.mson, div.mson
{mso-style-name:mson;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.EmailStyle26
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Was
the correct upgrade definitely in the patch?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If
it was my applying of the patch didn't work because that's
not in the patched or exported code yet it is in basic.sql<o:p></o:p></span></p>
<p class="MsoNormal"><a moz-do-not-send="true" name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext" lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On
Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 11 April 2013 14:33<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Modules and htaccess<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:windowtext">Strange.<br>
<br>
Upgrade should give you an extra column on templatedetails
called extra_flags.<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:windowtext">Ron
Mitchell <<a moz-do-not-send="true" href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>>
schreef:<o:p></o:p></span></p>
<p class="MsoNormal">Cheers got it!<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">I'm not sure if anyone else has tried
this yet but not quite working for me...<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">1. Applied patch to local copy of svn
code<o:p></o:p></p>
<p class="MsoNormal">2. Exported patched version<o:p></o:p></p>
<p class="MsoNormal">3. Dropped over a localhost test install<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">I can see new options in the properties
panel e.g. what is the default engine to use for this
project with Javascript (a.k.a. HTML5) ticked<o:p></o:p></p>
<p class="MsoNormal">But I can't untick that or tick the flash
option<o:p></o:p></p>
<p class="MsoNormal">When following the flash and html5 links
I get an empty wondow<o:p></o:p></p>
<p class="MsoNormal">and when trying to create a new LO I get
an empty window with failed to create new template<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">I ran upgrade.php but there doesn't seem
to be anything new in there?<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">HTH<o:p></o:p></p>
<p class="MsoNormal">Ron<o:p></o:p></p>
<p> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:0cm 0cm 0cm 0cm;padding:0c
m 0cm
0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a moz-do-not-send="true" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true" 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 April 2013 13:10<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Modules and htaccess<o:p></o:p></span></p>
</div>
</div>
<p> <o:p></o:p></p>
<p class="MsoNormal">I’ve just sent it on…<o:p></o:p></p>
<p> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a moz-do-not-send="true" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 11 April 2013 12:29<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Modules and htaccess<o:p></o:p></span></p>
</div>
</div>
<p> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:windowtext">Didn't want to send It to the
list . Julian has it.<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:windowtext">Ron
Mitchell <<a moz-do-not-send="true" href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>>
schreef:<o:p></o:p></span></p>
<div>
<p class="MsoNormal">Happy to test and feedback but where
do I get the patch? 752 looks like Fay's update.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p class="MsoNormal">Ron<o:p></o:p></p>
<p> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a moz-do-not-send="true" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 11 April 2013 11:08<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Modules and
htaccess<o:p></o:p></span></p>
</div>
</div>
<p> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am
off-line the rest of the day. I'll send the patch to
Julian.<o:p></o:p></p>
<div>
<p class="MsoNormal">Op 11-4-2013 11:51, Tom Reijnders
schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">As an addition:<br>
<br>
Now you can just use play.php&template_id=4 (or
play_4). It will show :<br>
1. if the template_frame=xerte in the engine set by
the user<br>
2. if the template_frame is site using
modules/site/play.php<br>
<br>
Also, you can use
play.php&template_id=4&engine=flash or
play.php&template_id=4&engine=javascript to
force a specific engine.<br>
<br>
Some is true for preview.<br>
<br>
You can also use engine=other (this is used by the
wizard when Ctlr+Play is pressed)<br>
<br>
I have to do the same for peer.php, but first would
like some feedback ;-)<br>
<br>
Tom<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">Op 11-4-2013 11:38, Tom Reijnders
schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Almost
finished.<br>
<br>
I didn't change anything yet to modularize the
properties page<br>
<br>
- Changed play.php (root) and modules/xerte/play.php
and preview<br>
- Made play_html5.php (root) redirect to new play<br>
- Make use of the same template files as export does
for the play and preview<br>
- Make wizard toggle the engine on Ctrl-click<br>
- Move site to its own module dir<br>
- Changed basic.sql<br>
- updates upgrade.php<br>
<br>
Not thoroughly tested yet, not committed yet<br>
<br>
Patch is not attached but available. (from svn 752)<br>
<br>
It's about 2.2Mb<o:p></o:p></p>
<div>
<p class="MsoNormal">Op 10-4-2013 23:39, <a moz-do-not-send="true" href="mailto:xerte@pgogywebstuff.com">xerte@pgogywebstuff.com</a>
schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hello,<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sorry for delay - travelling
home from a conference.... again<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The properties page is at
present not modular - as it is the same code for
each module. At present only Xerte Online
Toolkits modules will have more than one URL,
hence it needs some "Module" work.<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I think I could see a case
for giving XOT modules a new tab on properties
which is HTML access - beca use in theory some
of the projects are to become HTML5 projects.
This tab could explain the process and give the
preview and default setting options?<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">This way the main properties
tab with the links in could remain as is (for
now) and as the </p></div></blockquote></blockquote></blockquote></div></div></div></div></blockquote></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte-dev mailing list</span><br><span><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br></div></blockquote></body></html>