<div dir="ltr">I could see a case for phasing it out in version 3, or writing a very hungry htaccess rule and modifying the url structure</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 11:31 AM, Smith, John <span dir="ltr"><<a href="mailto:J.J.Smith@gcu.ac.uk" target="_blank">J.J.Smith@gcu.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm just wondering if they over complicate things with little added benefit. I'm definitely not talking about the external ones which do have added value...<br>

<br>
Regards,<br>
<br>
John Smith | Learning Technologist<br>
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University<br>
Cowcaddens Road | Glasgow | G4 0BA<br>
<br>
Please address ALL support requests to <a href="mailto:hlsblt@gcu.ac.uk">hlsblt@gcu.ac.uk</a> where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.<br>

________________________________________<br>
From: <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">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney [<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>]<br>

Sent: 15 July 2014 10:06<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
I suppose so. You think it's worth removing the internal ones? I see their use for public urls<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Smith, John<br>

Sent: 14 July 2014 22:37<br>
To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
Like Ron i'm not sure how many people use them as i've only seen a couple and from history i've found these rewrite rules to be most useful for public urls. Seems that we are making heavy use of them for internal urls though which seems unnecessary and gives more possibility that the rules will break...<br>

<br>
Regards<br>
<br>
John Smith<br>
Learning Technologist<br>
School of Health and Life Sciences<br>
<br>
Sent from Samsung Galaxy SII<br>
<br>
<br>
Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>> wrote:<br>
<br>
<br>
Cheers. The rules pretty much have worked, so no need to review their usefulness, but when they do go wrong, it takes a bit of a lightbulb to get from problem to culprit (at least for me).<br>
<br>
<br>
________________________________________<br>
From: <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">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>]<br>

Sent: 14 July 2014 19:54<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
Sorry haven't had much time but just quickly tested Niko's suggested change of order on my install and that does fix the 1.2 export so now all 4 export options work and the order of my .htaccess export lines are similar to this order:<br>

<br>
rewriteRule ^export_local_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false<br>
<br>
rewriteRule ^export_local_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false&$2<br>
<br>
rewriteRule ^export_full_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false<br>
<br>
rewriteRule ^export_full_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2<br>
<br>
rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false<br>
<br>
rewriteRule ^export_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2<br>
<br>
rewriteRule ^scorm2004_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004<br>
<br>
rewriteRule ^scorm2004_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2<br>
<br>
rewriteRule ^scorm_rich_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true<br>
<br>
rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2<br>
<br>
rewriteRule ^scorm_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true<br>
<br>
rewriteRule ^scorm_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2<br>
<br>
I can't comment on the htaccess.conf but if it's now the same order as above then seems correct. To be honest I'm not sure how many installs out there even make use of the apache mode setting. You only have to look at the full url's of the examples that get shared.<br>

<br>
HTH<br>
Ron<br>
<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>

Sent: 14 July 2014 15:47<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
I've committed a change, but please could someone make sure this is correct / sensible etc,<br>
<br>
Thanks,<br>
<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>

Sent: 14 July 2014 15:45<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
Thanks Niko. We're not sure where this needs to go in setup, so it's probably a good idea if someone who does can put it straight,<br>
<br>
Thanks,<br>
<br>
Julian<br>
<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Nikodem Miranowicz<br>

Sent: 14 July 2014 15:33<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: SCORM 1.2 export<br>
<br>
It seems that the order of rewriteRules in htaccess is responsible for this (One can export scorm 2004 but not scorm 1.2).<br>
<br>
The order of rules is now:<br>
rewriteRule ^scorm2004_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2<br>
rewriteRule ^scorm_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&scorm=true&$2<br>
rewriteRule ^scorm_rich_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2<br>
Where greedy "scorm_([0-9]" apparently spoils "scorm_rich_([0-9]".<br>
<br>
My suggestion -<br>
<br>
1.      (tested): change this order (in \setup\htaccess.conf ) to:<br>
rewriteRule ^scorm2004_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2<br>
rewriteRule ^scorm_rich_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2<br>
rewriteRule ^scorm_([0-9]+)?(.*)$ */website_code/php/scorm/export.php?template_id=$1&scorm=true&$2<br>
<br>
2.      or (untested): use [L] flag.<br>
<br>
The same should be with lines:<br>
rewriteRule ^export_...<br>
rewriteRule ^export_full_...<br>
rewriteRule ^export_local_...<br>
<br>
Niko<br>
<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>

Sent: 11 July 2014 13:38<br>
To: For Xerte technical developers (<a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>>)<br>

Subject: [Xerte-dev] SCORM 1.2 export<br>
<br>
SCORM 1.2 export isn't working here: nothing happens, nothing exports.<br>
<br>
Any idea?<br>
<br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
<br>
<br>
<br>
Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
<br>
<br>
<br>
Glasgow Caledonian University is a registered Scottish charity, number SC021474<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br>

<br>
<br>
<br>
<br>
</blockquote></div><br></div>