[Xerte-dev] Re: SCORM 1.2 export

Ron Mitchell ronm at mitchellmedia.co.uk
Fri Jul 11 13:58:20 BST 2014


Try these export lines:

 

rewriteRule ^export_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false

 

rewriteRule ^export_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2

 

rewriteRule ^export_full_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=f
alse

 

rewriteRule ^export_full_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?full=true&scorm=false&template_i
d=$1&$2

 

rewriteRule ^export_local_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=
false

 

rewriteRule ^export_local_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=
false&$2

 

rewriteRule ^scorm2004_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004

 

rewriteRule ^scorm2004_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2

 

rewriteRule ^scorm_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true

 

rewriteRule ^scorm_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2

 

rewriteRule ^scorm_rich_([0-9]+)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=t
rue

 

rewriteRule ^scorm_rich_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?data=rich&scorm=true&template_id
=$1&$2

 

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 July 2014 13:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: SCORM 1.2 export

 

Ahh. Maybe that got lost in the upgrade.

 

This is what I have:

 

Options +FollowSymLinks

 

rewriteEngine on 

#RewriteEngine On

 

 

 

 

rewriteBase / 

 

rewriteRule ^edit_([A-Za-z0-9]+)?(.*)$ /toolkits/edit.php?template_id=$1&$2

 

rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$
/toolkits/preview.php?template_id=$1&$2

 

rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)?(.*)$
/toolkits/preview.php?template_id=$1&linkID=$2&$3

 

rewriteRule ^example_([A-Za-z0-9]+)$ /toolkits/example.php?template_id=$1

 

rewriteRule ^play_([A-Za-z0-9]+)?(.*)$ /toolkits/play.php?template_id=$1&$2

 

rewriteRule ^properties_([A-Za-z0-9]+)$
/toolkits/properties.php?template_id=$1

 

rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$
/toolkits/folderproperties.php?template_id=$1

 

rewriteRule ^publishproperties_([A-Za-z0-9]+)$
/toolkits/publishproperties.php?template_id=$1

 

rewriteRule ^drawing$ /toolkits/drawing.php

 

rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1

 

rewriteRule ^peerreview_([A-Za-z0-9]+)$ /toolkits/peer.php?template_id=$1

 

rewriteRule ^export_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2

 

rewriteRule ^export_full_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=f
alse&$2

 

rewriteRule ^export_local_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=
false&$2

 

rewriteRule ^scorm2004_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2

 

rewriteRule ^scorm_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2

 

rewriteRule ^scorm_rich_([0-9]+)?(.*)$
/toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=t
rue&$2

 

rewriteRule ^RSS/$ /toolkits/rss.php

 

rewriteRule
^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/$
/toolkits/rss.php?username=$1

 

rewriteRule
^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/([A-Z
a-z0-9_]+)/$ /toolkits/rss.php?username=$1&folder_name=$2

 

rewriteRule ^export/$ /toolkits/rss.php?export=true

 

rewriteRule ^syndication/$ /toolkits/syndicate.php

 

rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php

 

rewriteRule ^management$ /toolkits/management.php

 

 

 

 

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 11 July 2014 13:48
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: SCORM 1.2 export

 

Did you ever update your .htaccess? There were changes/additions needed at
one point I seem to recall.

 

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 July 2014 13:38
To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)
Subject: [Xerte-dev] SCORM 1.2 export

 

SCORM 1.2 export isn't working here: nothing happens, nothing exports.

 

Any idea?

 

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.

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.

 

 

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.

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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140711/08beb3bd/attachment-0001.html>


More information about the Xerte-dev mailing list