[Xerte-dev] Re: Modules and htaccess

Pat @ Pgogy xerte at pgogywebstuff.com
Fri Apr 12 12:57:46 BST 2013


The first or second bit

Pgogy Webstuff - http://www.pgogywebstuff.com
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> 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] 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> wrote:
> 
> 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] 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> 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> 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] 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> 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] 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] 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> 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] 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
> 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
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130412/f951c202/attachment.html>


More information about the Xerte-dev mailing list