[Xerte] Re: Moodle filter

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Apr 17 16:14:27 BST 2012


>The filter seems to apply to all text - not sure how you tell it which bits to change. Moodle's documentation really sucks.<
Agreed ;-)

>How can a link contain parameters for size?<
The multimedia filter looks for something like ?d=400x300 and resizes the video player
http://docs.moodle.org/22/en/Media_FAQ#My_embedded_video_is_too_big.2Fsmall._How_can_I_change_its_display_size.3F

>I can have XOT[] work as well<
sounds good.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 17 April 2012 15:56
To: Xerte discussion list
Subject: [Xerte] Re: Moodle filter

>The filter seems to apply to all text - not sure how you tell it which bits to change. Moodle's documentation really sucks.<
Agreed ;-)

>How can a link contain parameters for size?<
The multimedia filter looks for something like ?d=400x300 and resizes the video player
http://docs.moodle.org/22/en/Media_FAQ#My_embedded_video_is_too_big.2Fsmall._How_can_I_change_its_display_size.3F

>I can have XOT[] work as well<
sounds good

On 17 Apr 2012, at 14:30, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

> Hi Pat
> just tried this and it does indeed replace the xerte LO link with iframe code but a few issues/comments...
> 
> 1. I added an LO link as part of a moodle label so that it appears within the course home page and at the moment there's a bit of an issue! - it breaks the rest of the course page so that nothing else is shown including the links and icons to be able to edit the label and remove the link.
> 
> 2. For this to be useful in a production environment it really needs to be able to take parameters for width and height as part of the link or as part of the filter configuration. I know it's possible to edit filter.php and change the dimensions there but that's less flexible than having parameters or dimensions configurable via the admin interface. Ideally both so that admin sets optimum dimensions for the moodle site wide install/theme but if a link contains dimension parameters these override the defaults. At the very least I'd suggest the dimensions set in filter.php should be no more than 800 x 600 and probably less - in my experience most topic areas in Moodle installations are narrower than 800px. I know this mostly only applies to Lables but that's what a lot of people will use.
> 
> 3. Having the base url is good but as use of XOT expands wouldn't that limit potential sharing e.g. what about being able to embed http://www.nottingham.ac.uk/toolkits/play_560 in the same way? Perhaps the filter could look for XOT[url] as well as the base url?
> 
> HTH
> Ron
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 17 April 2012 13:00
> To: Xerte discussion list
> Subject: [Xerte] Re: Moodle filter
> 
> What does the iframe show as the src?
> 
> On 17 Apr 2012, at 12:08, "Franck Petit" <franck-petit at live.fr> wrote:
> 
>> Thank you Pat. It doesn't seem to work yet, unless I misunderstood 
>> something. I updated the filter, modified the base url in the 
>> settings as requested on the settings page by replacing the text with 
>> the following
>> line: http://www.mydomain.eu/authoringtool/play.php?template_id=
>> (authoringtool is the name of the directory for my xot install) Did I 
>> do something wrong?
>> Franck
>> 
>> -----Message d'origine-----
>> De : xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] De la part de Pat 
>> Lockley Envoyé : mardi 17 avril 2012 12:13 À : Xerte discussion list 
>> Objet : [Xerte] Moodle filter
>> 
>> Updated it, try again please
>> 
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> 
>> 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.
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> 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.
> 
> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

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.





More information about the Xerte mailing list