<html><body style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px;"><div>Hello,</div><div><br /></div><div>Just some thoughts on the new stuff</div><div><br /></div><div>In play_html5.php</div><div><br /></div><div>header("Location: " . $xerte_toolkits_site->site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraflags);</div><div><br /></div><div>Wondering in $extraflags is supposed to be $extraparams</div><div><br /></div><div>Also - should be toggle the redirect onto mod_rewrite URLS (play_560) as well (might help if cached)</div><div><br /></div><div>in modules/play.php</div><div><br /></div><div>does the logic at lines 61-74 stop XML from happening?</div><div><br /></div><div>Wondering what we need to do logically with website_code/php/url_library.php - could we modularise the play links?</div><div><br /></div><div>Hope this makes sense</div><div><br /></div> <br />Pgogy Webstuff http://www.pgogywebstuff.com<div>Makers of Web things of a fair to middling quality</div><br /><blockquote><br />----- Original Message -----<br /><div style="width:100%;background:rgb(228,228,228);"><div style="font-weight:bold;">From:</div> "Tom Reijnders" <reijnders@tor.nl></div><br /><div style="font-weight:bold;">To:</div>"For Xerte technical developers" <xerte-dev@lists.nottingham.ac.uk><br /><div style="font-weight:bold;">Cc:</div><br /><div style="font-weight:bold;">Sent:</div>Sat, 13 Apr 2013 09:00:25 +0200<br /><div style="font-weight:bold;">Subject:</div>[Xerte-dev] Re: Modules and htaccess<br /><br /><br />
    Whatever is easiest for you, but perhaps the list is most convenient
    for others...<br /><br />
    Tom<br /><br /><div class="moz-cite-prefix">Op 13-4-2013 0:49, Pat @ Pgogy schreef:<br /></div>
    <blockquote>
      <div>Hi Tom,</div>
      <div><br /></div>
      <div>Cheers for doing all this - I feel like I'm being retired :)
        - found a few possible things that might not be quite right -
        not bugs, just logic stuff?</div>
      <div><br /></div>
      <div>Would you prefer me to add comments to the files and commit
        or maybe send them to the list?</div>
      <div><br /></div>
      <div>Pat<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 12 Apr 2013, at 22:31, Tom Reijnders <<a href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>>
        wrote:<br /><br /></div>
      <div><span></span></div>
      <blockquote>
        <div>
          
          Everything has just been committed. This is a fairly large
          commit (758). Don't forget to execute upgrade.php!! <br /><br />
          - Changed play.php (root) and modules/xerte/playphp and
          preview<br />
          - Make play_html5.php (root) and preview_html5.php (root)
          redirect to new play<br />
          - Make use of the same template files as export does for the
          play and preview<br />
          - Get rid of difference between rloObject.js used for play and
          used for export<br />
          - Only one location for MainPreloader.swf and xmlEngine.swf
          (for play and export, export used to copy it from a different
          location)<br />
          - Modified wizard to call preview.php with 'engine=other' when
          Ctr+Play is clicked<br />
          - Make peer.php use the same templates as play and preview and
          implement for javascript engine as well<br />
          - Move site to its own module dir<br />
          - Changed basic.sql<br />
          - updates upgrade.php<br /><br /><br /><div class="moz-cite-prefix">Op 12-4-2013 17:04, Tom Reijnders
            schreef:<br /></div>
          <blockquote>
            
            Some questions, before I commit,<br /><br />
            1. Julian, do you already have a different name for 'site'
            or shall I commit site for the moment?<br />
            2. Do we have consensus over the engine name? html5?
            javascript? xenith?<br /><br />
            Now I have 'html5'  in the GUI, but 'javascript' in the
            code, because I think that is better w.r.t. flash<br /><br />
            The major reason I ask is that if we want to create the
            play_html5_560 play_flash_560 (not sure that's a good idea,
            I prefer that people have to put in a bit more effort to
            choose an engine different than the author wanted, so
            play_560?engine=html5)<br /><br />
            Still even if we leave it at the engine=.... what will we
            call the engines? <br /><br />
            I prefer flash/javascript<br /><br />
            Tom<br /><br /><br /><br /><div class="moz-cite-prefix">Op 12-4-2013 16:48, Julian
              Tenney schreef:<br /></div>
            <blockquote>
              <div class="WordSection1">
                <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Oh,


                    OK, sorry I was thinking you wanted to add XML as an
                    option to the runtime dropdown. I don’t think that’s
                    the right place for it, but I might have
                    misunderstood,</span></p><p></p><p></p>
                <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"></span></p><p> </p><p></p>
                <div>
                  <div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;">
                    <p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml: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@listsnottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
                        <b>On Behalf Of </b>Pat @ Pgogy<br /><b>Sent:</b> 12 April 2013 14:19<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: Modules and
                        htaccess</span></p><p></p><p></p>
                  </div>
                </div>
                <p class="MsoNormal"></p><p> </p><p></p>
                <div>
                  <p class="MsoNormal">Well the tab is there for
                    everyone, the only difference is the URL changes
                    from</p><p></p><p></p>
                </div>
                <div>
                  <p class="MsoNormal"></p><p> </p><p></p>
                </div>
                <div>
                  <p class="MsoNormal">Xml_560 to</p><p></p><p></p>
                </div>
                <div>
                  <p class="MsoNormal">Play_xml_560<br /><br />
                    Pgogy Webstuff - <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a></p><p></p><p></p>
                  <div>
                    <p class="MsoNormal">Makers of web things of a fair
                      to middling quality</p><p></p><p></p>
                  </div>
                </div>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12pt;"><br />
                    On 12 Apr 2013, at 13:49, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>


                    wrote:</p><p></p><p></p>
                </div>
                <blockquote style="margin-top:5pt;margin-bottom:5pt;">
                  <div>
                    <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Getting


                        xml out. I think that’s what you mean, anyway? I
                        think that’s something for developers to get at,
                        rather than end users to get confused about,</span></p><p></p><p></p>
                    <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"> </span></p><p></p><p></p>
                    <div>
                      <div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;">
                        <p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <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> 12 April 2013 12:58<br /><b>To:</b> For Xerte technical developers<br /><b>Subject:</b> [Xerte-dev] Re: Modules and
                            htaccess</span></p><p></p><p></p>
                      </div>
                    </div>
                    <p class="MsoNormal"> </p><p></p><p></p>
                    <div>
                      <p class="MsoNormal">The first or second bit<br /><br />
                        Pgogy Webstuff - <a href="http://www.pgogywebstuffcom">http://www.pgogywebstuff.com</a></p><p></p><p></p>
                      <div>
                        <p class="MsoNormal">Makers of web things of a
                          fair to middling quality</p><p></p><p></p>
                      </div>
                    </div>
                    <div>
                      <p class="MsoNormal" style="margin-bottom:12pt;"><br />
                        On 12 Apr 2013, at 11:37, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>


                        wrote:</p><p></p><p></p>
                    </div>
                    <blockquote style="margin-top:5pt;margin-bottom:5pt;">
                      <div>
                        <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">This


                            sounds like a rabbit hole for now,</span></p><p></p><p></p>
                        <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"> </span></p><p></p><p></p>
                        <div>
                          <div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;">
                            <p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us">From:</span></b><span style="font-size:10pt;font-family:Tahoma, 'sans-serif';" lang="en-us" xml:lang="en-us"> <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> 12 April 2013 11:03<br /><b>To:</b> For Xerte technical
                                developers<br /><b>Subject:</b> [Xerte-dev] Re: Modules
                                and htaccess</span></p><p></p><p></p>
                          </div>
                        </div>
                        <p class="MsoNormal"> </p><p></p><p></p>
                        <div>
                          <p class="MsoNormal">The play URL is now a
                            sort of API</p><p></p><p></p>
                        </div>
                        <div>
                          <p class="MsoNormal"> </p><p></p><p></p>
                        </div>
                        <div>
                          <p class="MsoNormal">So rather than </p><p></p><p></p>
                        </div>
                        <div>
                          <p class="MsoNormal"> </p><p></p><p></p>
                        </div>
                        <div>
                          <div>
                            <p class="MsoNormal">play.php?template_id=1&method=flash</p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">You could have </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">play.php?template_id=1&method=XML</p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">Which just returns the
                              XML</p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">So you cold retire the
                              XML page from the root folder (over time)</p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal"> </p><p></p><p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">Now where this could
                              get interesting is you could make an XML
                              remote method to change the file locations
                              and host a single engine at site x, and
                              dynamically bring in content that way. A
                              sort of xpert shop window<br /><br />
                              Pgogy Webstuff - <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a></p><p></p><p></p>
                            <div>
                              <p class="MsoNormal">Makers of web things
                                of a fair to middling quality</p><p></p><p></p>
                            </div>
                          </div>
                          <div>
                            <p class="MsoNormal" style="margin-bottom:12pt;"><br />
                              On 12 Apr 2013, at 10:08, Julian Tenney
                              <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>


                              wrote:</p><p></p><p></p>
                          </div>
                          <blockquote style="margin-top:5pt;margin-bottom:5pt;">
                            <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;">Is


                                that something end users would need to
                                see, or is this tech stuff for an API
                                call?</span></p><p></p><p></p>
                            <p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri, 'sans-serif';color:#1F497D;"> </span></p><p></p><p></p>
                            <div>
                              <div style="border:none;border-top:solid #B5C4DF 1pt;padding:3pt 0cm 0cm 0cm;">
                              </div>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </blockquote>
        </div>
      </blockquote>
      <blockquote>
        <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>
      <br /><br /><br /><br /><br /><pre>_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
    </blockquote>
    <br /><pre class="moz-signature">-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

</pre>
  
<br /><br /><br /></blockquote></body></html>