[Xerte-dev] Re: Modules and htaccess
Tom Reijnders
reijnders at tor.nl
Fri Apr 12 12:22:41 BST 2013
It's very easy to implement with the scheme we have now. But I propse to
do that in the next round. For example, I didn't get rid f the
lay_html5.php in the root just yet, but implemented it using the
'normal' play.
So let's do this for 2.1 and also have some tme to put a mechanism in
place to make url's deprecated.
Tom
Op 12-4-2013 12:47, Julian Tenney schreef:
>
> I used it to get at the XML so I couod display it that mobile Xerte
> app I put together a while ago, but this isn't for end users to see,
> this is a developer thing,
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom
> Reijnders
> *Sent:* 12 April 2013 10:50
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> And so, you would use for example an app, that would interpret that xml?
>
> If your question is, did I consider XML as a play option, the answer
> is NO. If, on the other hand, you ask me, whether I can add an xml
> play option, the answer is yes, easily, no problems whatsoever. And I
> am left with a question.... why?
>
> Op 12-4-2013 11:08, Julian Tenney schreef:
>
> Is that something end users would need to see, or is this tech
> stuff for an API call?
>
> *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 08:22
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> At the moment XML is a link option for XOT files, but all it does
> is return the XML.
>
> As we now have different methods for displaying content for a
> module, XML could be one of those?
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
>
> Makers of web things of a fair to middling quality
>
>
> On 12 Apr 2013, at 07:32, Tom Reijnders <reijnders at tor.nl
> <mailto:reijnders at tor.nl>> wrote:
>
> Ehmmm... could you be a bit more specific? Last time I checked
> I still wasn't a mind reader.... :-)
>
> Op 12-4-2013 0:28, Pat @ Pgogy schreef:
>
> Tom,
>
> Thoughts on making XML into a play option?
>
> Pgogy Webstuff - http://www.pgogywebstuff.com
>
> Makers of web things of a fair to middling quality
>
>
> On 11 Apr 2013, at 21:52, Tom Reijnders <reijnders at tor.nl
> <mailto:reijnders at tor.nl>> wrote:
>
> Yes definitely. Added function upgrade_4()
>
> Tom
>
> Op 11-4-2013 15:42, Ron Mitchell schreef:
>
> Was the correct upgrade definitely in the patch?
>
> 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
>
> *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 *Tom Reijnders
> *Sent:* 11 April 2013 14:33
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> Strange.
>
> Upgrade should give you an extra column on
> templatedetails called extra_flags.
>
>
>
> Ron Mitchell <ronm at mitchellmedia.co.uk
> <mailto:ronm at mitchellmedia.co.uk>> schreef:
>
> Cheers got it!
>
> I'm not sure if anyone else has tried this yet but
> not quite working for me...
>
> 1. Applied patch to local copy of svn code
>
> 2. Exported patched version
>
> 3. Dropped over a localhost test install
>
> 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
>
> But I can't untick that or tick the flash option
>
> When following the flash and html5 links I get an
> empty wondow
>
> and when trying to create a new LO I get an empty
> window with failed to create new template
>
> I ran upgrade.php but there doesn't seem to be
> anything new in there?
>
> HTH
>
> Ron
>
> *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 *Julian Tenney
> *Sent:* 11 April 2013 13:10
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> I've just sent it on...
>
> *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 *Tom Reijnders
> *Sent:* 11 April 2013 12:29
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> Didn't want to send It to the list . Julian has it.
>
> Ron Mitchell <ronm at mitchellmedia.co.uk
> <mailto:ronm at mitchellmedia.co.uk>> schreef:
>
> Happy to test and feedback but where do I get the
> patch? 752 looks like Fay's update.
>
> Ron
>
> *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 *Tom Reijnders
> *Sent:* 11 April 2013 11:08
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Modules and htaccess
>
> I am off-line the rest of the day. I'll send the
> patch to Julian.
>
> Op 11-4-2013 11:51, Tom Reijnders schreef:
>
> As an addition:
>
> Now you can just use play.php&template_id=4
> (or play_4). It will show :
> 1. if the template_frame=xerte in the engine
> set by the user
> 2. if the template_frame is site using
> modules/site/play.php
>
> Also, you can use
> play.php&template_id=4&engine=flash or
> play.php&template_id=4&engine=javascript to
> force a specific engine.
>
> Some is true for preview.
>
> You can also use engine=other (this is used by
> the wizard when Ctlr+Play is pressed)
>
> I have to do the same for peer.php, but first
> would like some feedback ;-)
>
> Tom
>
> Op 11-4-2013 11:38, Tom Reijnders schreef:
>
> Almost finished.
>
> I didn't change anything yet to modularize
> the properties page
>
> - Changed play.php (root) and
> modules/xerte/play.php and preview
> - Made play_html5.php (root) redirect to
> new play
> - Make use of the same template files as
> export does for the play and preview
> - Make wizard toggle the engine on Ctrl-click
> - Move site to its own module dir
>
> _______________________________________________
> 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 <mailto: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/20130412/f26779ff/attachment-0001.html>
More information about the Xerte-dev
mailing list