[Xerte-dev] Re: Modules and htaccess
Tom Reijnders
reijnders at tor.nl
Mon Apr 15 09:38:18 BST 2013
Op 14-4-2013 23:09, xerte at pgogywebstuff.com schreef:
> Hello,
>
> Just some thoughts on the new stuff
>
> In play_html5.php
>
> header("Location: " . $xerte_toolkits_site->site_url .
> "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] .
> $extraflags);
>
> Wondering in $extraflags is supposed to be $extraparams
Yes, absolutely. Already committed the fix for this.
>
> Also - should be toggle the redirect onto mod_rewrite URLS (play_560)
> as well (might help if cached)
Don't know.
>
> in modules/play.php
>
> does the logic at lines 61-74 stop XML from happening?
No. It will only enforce flash or javascript if $_REQUEST['engine'] ==
'other'. Otherwise it will just use the value of $_REQUEST['engine'].
As you can see xml is already implemented.
>
> Wondering what we need to do logically with
> website_code/php/url_library.php - could we modularise the play links?
How can we modularize further?
>
> Hope this makes sense
>
>
> Pgogy Webstuff http://www.pgogywebstuff.com
> Makers of Web things of a fair to middling quality
>
>
> ----- Original Message -----
> From:
> "Tom Reijnders" <reijnders at tor.nl>
>
> To:
> "For Xerte technical developers" <xerte-dev at lists.nottingham.ac.uk>
> Cc:
>
> Sent:
> Sat, 13 Apr 2013 09:00:25 +0200
> Subject:
> [Xerte-dev] Re: Modules and htaccess
>
>
> Whatever is easiest for you, but perhaps the list is most
> convenient for others...
>
> Tom
>
> Op 13-4-2013 0:49, Pat @ Pgogy schreef:
>
> Hi Tom,
>
> 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?
>
> Would you prefer me to add comments to the files and commit or
> maybe send them to the list?
>
> Pat
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
> Makers of web things of a fair to middling quality
>
> On 12 Apr 2013, at 22:31, Tom Reijnders <reijnders at tor.nl
> <mailto:reijnders at tor.nl>> wrote:
>
> Everything has just been committed. This is a fairly large
> commit (758). Don't forget to execute upgrade.php!!
>
> - Changed play.php (root) and modules/xerte/playphp and
> preview
> - Make play_html5.php (root) and preview_html5.php (root)
> redirect to new play
> - Make use of the same template files as export does for
> the play and preview
> - Get rid of difference between rloObject.js used for play
> and used for export
> - Only one location for MainPreloader.swf and
> xmlEngine.swf (for play and export, export used to copy it
> from a different location)
> - Modified wizard to call preview.php with 'engine=other'
> when Ctr+Play is clicked
> - Make peer.php use the same templates as play and preview
> and implement for javascript engine as well
> - Move site to its own module dir
> - Changed basic.sql
> - updates upgrade.php
>
>
> Op 12-4-2013 17:04, Tom Reijnders schreef:
>
> Some questions, before I commit,
>
> 1. Julian, do you already have a different name for
> 'site' or shall I commit site for the moment?
> 2. Do we have consensus over the engine name? html5?
> javascript? xenith?
>
> Now I have 'html5' in the GUI, but 'javascript' in
> the code, because I think that is better w.r.t. flash
>
> 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)
>
> Still even if we leave it at the engine=.... what will
> we call the engines?
>
> I prefer flash/javascript
>
> Tom
>
>
>
> Op 12-4-2013 16:48, Julian Tenney schreef:
>
> 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,
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat @ Pgogy
> *Sent:* 12 April 2013 14:19
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> Well the tab is there for everyone, the only
> difference is the URL changes from
>
> Xml_560 to
>
> Play_xml_560
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
>
> Makers of web things of a fair to middling quality
>
>
> On 12 Apr 2013, at 13:49, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
>
> 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,
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat @ Pgogy
> *Sent:* 12 April 2013 12:58
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> The first or second bit
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
> <http://www.pgogywebstuffcom>
>
> Makers of web things of a fair to middling quality
>
>
> On 12 Apr 2013, at 11:37, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
>
> This sounds like a rabbit hole for now,
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> *On Behalf Of *Pat @ Pgogy
> *Sent:* 12 April 2013 11:03
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and
> htaccess
>
> The play URL is now a sort of API
>
> So rather than
>
> play.php?template_id=1&method=flash
>
> You could have
>
> play.php?template_id=1&method=XML
>
> Which just returns the XML
>
> So you cold retire the XML page from the
> root folder (over time)
>
> 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
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
>
> Makers of web things of a fair to middling
> quality
>
>
> On 12 Apr 2013, at 10:08, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>>
> wrote:
>
> Is that something end users would need
> to see, or is this tech stuff for an
> API call?
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> <mailto:Xerte-dev at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130415/efecbfa4/attachment-0001.html>
More information about the Xerte-dev
mailing list