[Xerte-dev] Re: Export Code (commit of fixes)

Ron Mitchell ronm at mitchellmedia.co.uk
Sat May 5 19:13:57 BST 2012


Hi
Only just catching up on discussions that I couldn't follow on Thurs &
Friday...

Personally I think export/download whatever it's called should include all
the media in the media folder not just used media. The reason being
sometimes files are uploaded via media and quota to simply link to via text
hyperlink (and that hyperlink might even be in a linked document rather than
a xerte page) or when trying different content as part of a particular page
or project, so just because these show as not used doesn't mean they might
not be required or used in future. I know that links like this might not
work in the exported project but I think an author naturally assumes that
export includes all their media and if it's a matter of reducing size they
can delete unwanted media via media & quota before exporting. e.g. owner
should control what's exported and the reason for exporting might simply be
as a backup of the whole project.

HTH
Ron



-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 03 May 2012 16:25
To: For Xerte technical developers
Subject: [Xerte-dev] Export Code (commit of fixes)

I just committed an update to the export code:

Fixes and additions for export
  - Should copy all the language .xml files from the top of the /language
folder
  - Should enable scorm2004 compliant export
  - Should copy JMolViewer and/or mapstraction folders if and only if those
models are used
  - Should ONLY export the used media, the rest is not copied
  - small fixes in htaccess.conf
  - small fixes in library/Xerte/Authentication/Db.php
  - get rid of superfuous scorm files
  - move MainPreloader.swf, rloObject.js and resources.swf out of scorm in
in their own folder (modules/xerte/export)


I wonder whether we should prevent exporting the thumbs folder as well...

David (Goodwin), I used the Db method and had to fix two typos. Comitted
thos as well. BTW, with the current code it is NOT that easy to set a
password in the database... ;-)

Tom

Op 3-5-2012 14:25, Pat Lockley schreef:
> i couldn't see them failing, was just wondering if the scorm one might
conflict.
>
> On Thu, May 3, 2012 at 1:20 PM, Tom Reijnders<reijnders at tor.nl>  wrote:
>> I will, but they are really simple.
>>
>> Op 3-5-2012 14:01, Pat Lockley schreef:
>>> Tom, could you check the rewrite rules work - worried the scorm ones 
>>> might have hungry regexs?
>>>
>>> On Thu, May 3, 2012 at 12:57 PM, David Goodwin<david at palepurple.co.uk>
>>>   wrote:
>>>> On 3 May 2012, at 12:48, Pat Lockley wrote:
>>>>
>>>>> i like to leave the odd bug in to encourage other developers
>>>>
>>>>
>>>> Nice.... thanks for making me laugh :)
>>>>
>>>> David.
>>>>
>>>> Pale Purple Ltd.  (Company No: 5580814) 'Business Web Application 
>>>> Development and Training in PHP'
>>>>
>>>> http://www.palepurple.co.uk
>>>> Office: 0845 0046746     Mobile: 07792380669
>>>>
>>>> Follow us on Twitter: @PalePurpleLtd
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xerte-dev mailing list
>>>> Xerte-dev at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>>
>>>> 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 legislatio
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>> 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.
>>>
>> --
>> --
>>
>> 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
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 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.
>

--
--

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




More information about the Xerte-dev mailing list