<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OK, put it on the to do list.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Pat L (pgogy)<br><b>Sent:</b> 15 July 2014 11:43<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: SCORM 1.2 export<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I could see a case for phasing it out in version 3, or writing a very hungry htaccess rule and modifying the url structure<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Jul 15, 2014 at 11:31 AM, Smith, John <<a href="mailto:J.J.Smith@gcu.ac.uk" target="_blank">J.J.Smith@gcu.ac.uk</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>