From Julian.Tenney at nottingham.ac.uk Fri Feb 1 08:56:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 1 Feb 2013 08:56:28 +0000 Subject: [Xerte-dev] (no subject) Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFC9CB@EXCHANGE1.ad.nottingham.ac.uk> Tom, Where does the wizard load its language files from, because something is missing from the file it is loading? This is the 'Do you want to delete the item' prompt when you delete a page. I'm confused, because in the files I'm looking at, I see the text. [cid:image001.png at 01CE005A.05E0D380] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 69849 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 1 09:29:27 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 1 Feb 2013 09:29:27 +0000 Subject: [Xerte-dev] Wizard Language FIles Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> To add, in the wizard code I see this: Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); } else { Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); The wizard is loading language from /languages/wizard_en-GB.xml That file does not contain anything the code above can use. Do I have the right file? I've added language data to it and it works now, so I think I've done it right, but unsure why it was missing in the first place. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri Feb 1 10:42:52 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 01 Feb 2013 11:42:52 +0100 Subject: [Xerte-dev] Re: Wizard Language FIles In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <510B9C2C.2030200@tor.nl> Oops, sorry Julian, my mistake. They should have been in the wizard_en-GB.xml file. I apparently forgot to commit those. Committed. (and included) Op 1-2-2013 10:29, Julian Tenney schreef: > > To add, in the wizard code I see this: > > Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; > > Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; > > Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], > wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], > Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); > > } else { > > Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; > > Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], > wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); > > The wizard is loading language from /languages/wizard_en-GB.xml > > That file does not contain anything the code above can use. > > Do I have the right file? > > I've added language data to it and it works now, so I think I've done > it right, but unsure why it was missing in the first place. > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wizard_en-GB.xml Type: text/xml Size: 4308 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: wizard_nl-NL.xml Type: text/xml Size: 4658 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 1 10:45:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 1 Feb 2013 10:45:16 +0000 Subject: [Xerte-dev] Re: Wizard Language FIles In-Reply-To: <510B9C2C.2030200@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> <510B9C2C.2030200@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCAD3@EXCHANGE1.ad.nottingham.ac.uk> NO worries. The files are also missing the 'Cancel' prompt for the button that shows during media upload. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 February 2013 10:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: Wizard Language FIles Oops, sorry Julian, my mistake. They should have been in the wizard_en-GB.xml file. I apparently forgot to commit those. Committed. (and included) Op 1-2-2013 10:29, Julian Tenney schreef: To add, in the wizard code I see this: Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); } else { Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); The wizard is loading language from /languages/wizard_en-GB.xml That file does not contain anything the code above can use. Do I have the right file? I've added language data to it and it works now, so I think I've done it right, but unsure why it was missing in the first place. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 1 10:54:00 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 1 Feb 2013 10:54:00 +0000 Subject: [Xerte-dev] Re: Wizard Language FIles References: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> <510B9C2C.2030200@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCAF4@EXCHANGE1.ad.nottingham.ac.uk> I just fixed that, From: Tenney Julian Sent: 01 February 2013 10:45 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: Wizard Language FIles NO worries. The files are also missing the 'Cancel' prompt for the button that shows during media upload. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 February 2013 10:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: Wizard Language FIles Oops, sorry Julian, my mistake. They should have been in the wizard_en-GB.xml file. I apparently forgot to commit those. Committed. (and included) Op 1-2-2013 10:29, Julian Tenney schreef: To add, in the wizard code I see this: Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); } else { Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); The wizard is loading language from /languages/wizard_en-GB.xml That file does not contain anything the code above can use. Do I have the right file? I've added language data to it and it works now, so I think I've done it right, but unsure why it was missing in the first place. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri Feb 1 10:59:38 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 01 Feb 2013 11:59:38 +0100 Subject: [Xerte-dev] Re: Wizard Language FIles In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCAD3@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> <510B9C2C.2030200@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCAD3@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <510BA01A.9040504@tor.nl> This is in there, correct? All Files (*.*) Images (*.jpg, *.jpeg, *.png) Flash Files (*.swf) Sound Files (*.mp3) Select file to import... All Files|*.*|JPG|*.jpg|PNG|*.png|SWF Files|*.swf|Sounds|*.mp3|Video|*.flv Import Cancel The file {f} already exists.\r\rOverwrite this file? Confirm I'll check the flash code to see whether I made a mistake there. Tom Op 1-2-2013 11:45, Julian Tenney schreef: > > NO worries. The files are also missing the 'Cancel' prompt for the > button that shows during media upload. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 01 February 2013 10:43 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Wizard Language FIles > > Oops, sorry Julian, my mistake. They should have been in the > wizard_en-GB.xml file. I apparently forgot to commit those. > > Committed. > (and included) > > Op 1-2-2013 10:29, Julian Tenney schreef: > > To add, in the wizard code I see this: > > Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; > > Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; > > Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], > wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], > Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); > > } else { > > Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; > > Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], > wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); > > The wizard is loading language from /languages/wizard_en-GB.xml > > That file does not contain anything the code above can use. > > Do I have the right file? > > I've added language data to it and it works now, so I think I've > done it right, but unsure why it was missing in the first place. > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 1 11:02:29 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 1 Feb 2013 11:02:29 +0000 Subject: [Xerte-dev] Re: Wizard Language FIles In-Reply-To: <510BA01A.9040504@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCA0F@EXCHANGE1.ad.nottingham.ac.uk> <510B9C2C.2030200@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCAD3@EXCHANGE1.ad.nottingham.ac.uk> <510BA01A.9040504@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BDFCB06@EXCHANGE1.ad.nottingham.ac.uk> S'ok I did it, you had a stray [0] on the end of a refernce From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 February 2013 11:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Wizard Language FIles This is in there, correct? All Files (*.*) Images (*.jpg, *.jpeg, *.png) Flash Files (*.swf) Sound Files (*.mp3) Select file to import... All Files|*.*|JPG|*.jpg|PNG|*.png|SWF Files|*.swf|Sounds|*.mp3|Video|*.flv Import Cancel The file {f} already exists.\r\rOverwrite this file? Confirm I'll check the flash code to see whether I made a mistake there. Tom Op 1-2-2013 11:45, Julian Tenney schreef: NO worries. The files are also missing the 'Cancel' prompt for the button that shows during media upload. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 February 2013 10:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: Wizard Language FIles Oops, sorry Julian, my mistake. They should have been in the wizard_en-GB.xml file. I apparently forgot to commit those. Committed. (and included) Op 1-2-2013 10:29, Julian Tenney schreef: To add, in the wizard code I see this: Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0]; Alert.noLabel = wizard.languageData.Alert[0].nolabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES); } else { Alert.okLabel = wizard.languageData.Alert[0].oklabel[0]; Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].error[0].title[0]); The wizard is loading language from /languages/wizard_en-GB.xml That file does not contain anything the code above can use. Do I have the right file? I've added language data to it and it works now, so I think I've done it right, but unsure why it was missing in the first place. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Sat Feb 2 10:34:51 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 02 Feb 2013 11:34:51 +0100 Subject: [Xerte-dev] Ctrl+Play doesn't show html version anymore Message-ID: <510CEBCB.5000206@tor.nl> Julian, I don't think this is what you meant... if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ //url = "preview_html5_" + _root.template_id //}else{ url = "preview_html5.php?template_id=" + _root.template_id; } } But this... if (Key.isDown(Key.CONTROL)){ //play the html5 version *//*if(_root.apache!="false"){ //url = "preview_html5_" + _root.template_id //}else{ url = "preview_html5.php?template_id=" + _root.template_id; *//* } } i.e. always use the full link, not the Apache rewrite version. Correct? If so, I will commit that change. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Feb 4 07:32:22 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 08:32:22 +0100 Subject: [Xerte-dev] Regarding sendAndLoadVars (or is it sendAndLoad) Message-ID: <510F6406.1020806@tor.nl> L.S., I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. 2. What is the object to use when you call sendAndLoadVars . 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. Regards, Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Mon Feb 4 08:41:44 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 4 Feb 2013 08:41:44 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F6406.1020806@tor.nl> References: <510F6406.1020806@tor.nl> Message-ID: <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> Hello, Savefile() does a send and load and that's in the wizard. Not sure if cross domain kicks in re security Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 4 Feb 2013, at 07:32, Tom Reijnders wrote: > L.S., > > I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. > > 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. > 2. What is the object to use when you call sendAndLoadVars . > 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. > > Regards, > > Tom > > -- > -- > > 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 > 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. From Julian.Tenney at nottingham.ac.uk Mon Feb 4 09:29:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 4 Feb 2013 09:29:42 +0000 Subject: [Xerte-dev] Re: Ctrl+Play doesn't show html version anymore In-Reply-To: <510CEBCB.5000206@tor.nl> References: <510CEBCB.5000206@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BF58038@EXCHANGE1.ad.nottingham.ac.uk> That's right, sorry, for the time being at least. Eventually it should work the same way as the existing arrangement From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 February 2013 10:35 To: For Xerte technical developers Subject: [Xerte-dev] Ctrl+Play doesn't show html version anymore Julian, I don't think this is what you meant... if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ //url = "preview_html5_" + _root.template_id //}else{ url = "preview_html5.php?template_id=" + _root.template_id; } } But this... if (Key.isDown(Key.CONTROL)){ //play the html5 version //if(_root.apache!="false"){ //url = "preview_html5_" + _root.template_id //}else{ url = "preview_html5.php?template_id=" + _root.template_id; // } } i.e. always use the full link, not the Apache rewrite version. Correct? If so, I will commit that change. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Feb 4 09:29:25 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 10:29:25 +0100 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> Message-ID: <510F7F75.1080707@tor.nl> Thanks Pat, Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad. Still not sure if it should work in preview though. Tom Op 4-2-2013 9:41, Pat @ Pgogy schreef: > Hello, > > Savefile() does a send and load and that's in the wizard. > > Not sure if cross domain kicks in re security > > Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 4 Feb 2013, at 07:32, Tom Reijnders wrote: > >> L.S., >> >> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. >> >> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. >> 2. What is the object to use when you call sendAndLoadVars . >> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. >> >> Regards, >> >> Tom >> >> -- >> -- >> >> 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 >> 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-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 From Julian.Tenney at nottingham.ac.uk Mon Feb 4 09:33:05 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 4 Feb 2013 09:33:05 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BF58042@EXCHANGE1.ad.nottingham.ac.uk> Are you writing the code in the xerte file and trying to send from there? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 04 February 2013 08:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) Hello, Savefile() does a send and load and that's in the wizard. Not sure if cross domain kicks in re security Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 4 Feb 2013, at 07:32, Tom Reijnders wrote: > L.S., > > I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. > > 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. > 2. What is the object to use when you call sendAndLoadVars . > 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. > > Regards, > > Tom > > -- > -- > > 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 > 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-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon Feb 4 09:34:55 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 4 Feb 2013 09:34:55 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F7F75.1080707@tor.nl> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BF5804F@EXCHANGE1.ad.nottingham.ac.uk> Ahh - mails overlapped. I think I wrapped it in the engine because for some reason you can't write code in xerte that works, hence the wrapper function. There are a few classes that for some reason can't be used by the interpreted script, I think that might be one of them, -----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: 04 February 2013 09:29 To: For Xerte technical developers Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) Thanks Pat, Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad. Still not sure if it should work in preview though. Tom Op 4-2-2013 9:41, Pat @ Pgogy schreef: > Hello, > > Savefile() does a send and load and that's in the wizard. > > Not sure if cross domain kicks in re security > > Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 4 Feb 2013, at 07:32, Tom Reijnders wrote: > >> L.S., >> >> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. >> >> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. >> 2. What is the object to use when you call sendAndLoadVars . >> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. >> >> Regards, >> >> Tom >> >> -- >> -- >> >> 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 >> 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-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 From reijnders at tor.nl Mon Feb 4 09:36:11 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 10:36:11 +0100 Subject: [Xerte-dev] Re: Ctrl+Play doesn't show html version anymore In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4BF58038@EXCHANGE1.ad.nottingham.ac.uk> References: <510CEBCB.5000206@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C4BF58038@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <510F810B.1070709@tor.nl> Ok. Committed... (by accident in another commit yesterday ;-) ) Op 4-2-2013 10:29, Julian Tenney schreef: > > That's right, sorry, for the time being at least. Eventually it should > work the same way as the existing arrangement > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 02 February 2013 10:35 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Ctrl+Play doesn't show html version anymore > > Julian, > > I don't think this is what you meant... > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > if(_root.apache!="false"){ > //url = "preview_html5_" + _root.template_id > //}else{ > url = "preview_html5.php?template_id=" + > _root.template_id; > } > } > > But this... > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > *//*if(_root.apache!="false"){ > //url = "preview_html5_" + _root.template_id > //}else{ > url = "preview_html5.php?template_id=" + > _root.template_id; > *//*} > } > > i.e. always use the full link, not the Apache rewrite version. > Correct? If so, I will commit that change. > > > > > > -- > -- > > 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Mon Feb 4 09:42:52 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 4 Feb 2013 09:42:52 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F7F75.1080707@tor.nl> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> Message-ID: <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> Preview on XOT? No reason the preview swf is different to the play swf? Desktop xerte not so sure Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 4 Feb 2013, at 09:29, Tom Reijnders wrote: > Thanks Pat, > > Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad. > > Still not sure if it should work in preview though. > > Tom > > Op 4-2-2013 9:41, Pat @ Pgogy schreef: >> Hello, >> >> Savefile() does a send and load and that's in the wizard. >> >> Not sure if cross domain kicks in re security >> >> Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 4 Feb 2013, at 07:32, Tom Reijnders wrote: >> >>> L.S., >>> >>> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. >>> >>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. >>> 2. What is the object to use when you call sendAndLoadVars . >>> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. >>> >>> Regards, >>> >>> Tom >>> >>> -- >>> -- >>> >>> 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 >>> 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-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 > 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. From reijnders at tor.nl Mon Feb 4 10:10:11 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 11:10:11 +0100 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> Message-ID: <510F8903.3000404@tor.nl> Preview in Xerte standalone. Op 4-2-2013 10:42, Pat @ Pgogy schreef: > Preview on XOT? No reason the preview swf is different to the play swf? > > Desktop xerte not so sure > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 4 Feb 2013, at 09:29, Tom Reijnders wrote: > >> Thanks Pat, >> >> Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad. >> >> Still not sure if it should work in preview though. >> >> Tom >> >> Op 4-2-2013 9:41, Pat @ Pgogy schreef: >>> Hello, >>> >>> Savefile() does a send and load and that's in the wizard. >>> >>> Not sure if cross domain kicks in re security >>> >>> Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com >>> Makers of web things of a fair to middling quality >>> >>> On 4 Feb 2013, at 07:32, Tom Reijnders wrote: >>> >>>> L.S., >>>> >>>> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. >>>> >>>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. >>>> 2. What is the object to use when you call sendAndLoadVars . >>>> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. >>>> >>>> Regards, >>>> >>>> Tom >>>> >>>> -- >>>> -- >>>> >>>> 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 >>>> 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-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 >> 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-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 From Julian.Tenney at nottingham.ac.uk Mon Feb 4 10:21:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 4 Feb 2013 10:21:49 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F8903.3000404@tor.nl> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> <510F8903.3000404@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BF580C4@EXCHANGE1.ad.nottingham.ac.uk> Preview in standalone shouldn't cause any security problems, you should be able to post data to as script somewhere and have it return data. -----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: 04 February 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) Preview in Xerte standalone. Op 4-2-2013 10:42, Pat @ Pgogy schreef: > Preview on XOT? No reason the preview swf is different to the play swf? > > Desktop xerte not so sure > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 4 Feb 2013, at 09:29, Tom Reijnders wrote: > >> Thanks Pat, >> >> Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad. >> >> Still not sure if it should work in preview though. >> >> Tom >> >> Op 4-2-2013 9:41, Pat @ Pgogy schreef: >>> Hello, >>> >>> Savefile() does a send and load and that's in the wizard. >>> >>> Not sure if cross domain kicks in re security >>> >>> Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work? >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 4 Feb 2013, at 07:32, Tom Reijnders wrote: >>> >>>> L.S., >>>> >>>> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work. >>>> >>>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused. >>>> 2. What is the object to use when you call sendAndLoadVars . >>>> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser. >>>> >>>> Regards, >>>> >>>> Tom >>>> >>>> -- >>>> -- >>>> >>>> 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 >>>> 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-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 >> 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-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 From reijnders at tor.nl Mon Feb 4 10:25:04 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 11:25:04 +0100 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F8903.3000404@tor.nl> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> <510F8903.3000404@tor.nl> Message-ID: <510F8C80.2010909@tor.nl> Julian, I always forget these things. sendAndLoadVars is a function of ICON, i.e. ICON.prototype.sendAndLoadVars = function(url, loadVarsObj)... But I can't get it to trigger (I temporarily added an Alert in the code, but that doesn't show). What kind of icon should I use (if there is a special requirement), and how do you identify an icon in a (xerte) script: name, rs or id? Thx Op 4-2-2013 11:10, Tom Reijnders schreef: > Preview in Xerte standalone. > Op 4-2-2013 10:42, Pat @ Pgogy schreef: >> Preview on XOT? No reason the preview swf is different to the play swf? >> >> Desktop xerte not so sure >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 4 Feb 2013, at 09:29, Tom Reijnders wrote: >> >>> Thanks Pat, >>> >>> Should have thought of that myself. The function sendAndLoadVars is >>> in the Engine. That also explains my confusion about sendAndLoadVars >>> and sendAndLoad. >>> >>> Still not sure if it should work in preview though. >>> >>> Tom >>> >>> Op 4-2-2013 9:41, Pat @ Pgogy schreef: >>>> Hello, >>>> >>>> Savefile() does a send and load and that's in the wizard. >>>> >>>> Not sure if cross domain kicks in re security >>>> >>>> Why not code a generic post URL function into the wizard? In fact >>>> there might be one? How does the RSS page work? >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com >>>> Makers of web things of a fair to middling quality >>>> >>>> On 4 Feb 2013, at 07:32, Tom Reijnders wrote: >>>> >>>>> L.S., >>>>> >>>>> I am trying to save some data from a Xerte LO into MySQL through >>>>> php. And I know you are supposed to do that with sendAndLoadVars >>>>> (or is sendAndLoad). But whatever I do, I can't get it to work. >>>>> >>>>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am >>>>> confused. >>>>> 2. What is the object to use when you call sendAndLoadVars . >>>>> 3. Should it work in Xerte standalone from preview, or will this >>>>> only work after publishing and viewing the LO through a browser. >>>>> >>>>> Regards, >>>>> >>>>> Tom >>>>> >>>>> -- >>>>> -- >>>>> >>>>> 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 >>>>> 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-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 >>> 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-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 From Julian.Tenney at nottingham.ac.uk Mon Feb 4 11:06:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 4 Feb 2013 11:06:16 +0000 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <510F8C80.2010909@tor.nl> References: <510F6406.1020806@tor.nl> <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com> <510F7F75.1080707@tor.nl> <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com> <510F8903.3000404@tor.nl> <510F8C80.2010909@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4BF58129@EXCHANGE1.ad.nottingham.ac.uk> One way is to let an interaction icon do the work: INT //perpetual = 1, id=myInt RES //the event response to trip when the data comes back: icon=myInt, eventName=onSendAndLoadVars SCR //myInt.sendAndLoadVars(..etc..) I usually set that sort of thing up that way, but it's just a convention so I can easily find out what's doing what. You might want to debug it in the engine to see the function getting called etc, just write some debug('stuff') directly in the engine to trace it through. I don't think I've ever used sendAndLoadVars myself. -----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: 04 February 2013 10:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) Julian, I always forget these things. sendAndLoadVars is a function of ICON, i.e. ICON.prototype.sendAndLoadVars = function(url, loadVarsObj)... But I can't get it to trigger (I temporarily added an Alert in the code, but that doesn't show). What kind of icon should I use (if there is a special requirement), and how do you identify an icon in a (xerte) script: name, rs or id? Thx Op 4-2-2013 11:10, Tom Reijnders schreef: > Preview in Xerte standalone. > Op 4-2-2013 10:42, Pat @ Pgogy schreef: >> Preview on XOT? No reason the preview swf is different to the play swf? >> >> Desktop xerte not so sure >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 4 Feb 2013, at 09:29, Tom Reijnders wrote: >> >>> Thanks Pat, >>> >>> Should have thought of that myself. The function sendAndLoadVars is >>> in the Engine. That also explains my confusion about sendAndLoadVars >>> and sendAndLoad. >>> >>> Still not sure if it should work in preview though. >>> >>> Tom >>> >>> Op 4-2-2013 9:41, Pat @ Pgogy schreef: >>>> Hello, >>>> >>>> Savefile() does a send and load and that's in the wizard. >>>> >>>> Not sure if cross domain kicks in re security >>>> >>>> Why not code a generic post URL function into the wizard? In fact >>>> there might be one? How does the RSS page work? >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 4 Feb 2013, at 07:32, Tom Reijnders wrote: >>>> >>>>> L.S., >>>>> >>>>> I am trying to save some data from a Xerte LO into MySQL through >>>>> php. And I know you are supposed to do that with sendAndLoadVars >>>>> (or is sendAndLoad). But whatever I do, I can't get it to work. >>>>> >>>>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am >>>>> confused. >>>>> 2. What is the object to use when you call sendAndLoadVars . >>>>> 3. Should it work in Xerte standalone from preview, or will this >>>>> only work after publishing and viewing the LO through a browser. >>>>> >>>>> Regards, >>>>> >>>>> Tom >>>>> >>>>> -- >>>>> -- >>>>> >>>>> 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 >>>>> 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-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 >>> 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-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 From d_b_burnett at hotmail.com Mon Feb 4 11:58:11 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 4 Feb 2013 06:58:11 -0500 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4BF58129@EXCHANGE1.ad.nottingham.ac.uk> References: <510F6406.1020806@tor.nl>, <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com>, <510F7F75.1080707@tor.nl>, <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com>, <510F8903.3000404@tor.nl> <510F8C80.2010909@tor.nl>, <12C67A1EEC419342AF5E59DA31562C3F0C4BF58129@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Feb 4 22:26:46 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 04 Feb 2013 23:26:46 +0100 Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad) In-Reply-To: References: <510F6406.1020806@tor.nl>, <0C2429BC-3B24-4852-88A7-3EB1AFB1DC18@pgogywebstuff.com>, <510F7F75.1080707@tor.nl>, <6033DCC8-8516-4638-AFD7-2BDBA0893988@pgogywebstuff.com>, <510F8903.3000404@tor.nl> <510F8C80.2010909@tor.nl>, <12C67A1EEC419342AF5E59DA31562C3F0C4BF58129@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <511035A6.302@tor.nl> Thank you Dave! Op 4-2-2013 12:58, Dave Burnett schreef: > > > > > type="button" x="interfaceData.navigation[0].dict[0].x" > y="interfaceData.navigation[0].dict[0].y" label="Dictionary" erase="1" > exit="0"> > > branch="calculate" pause="0" erase="1" eraseOnExit="0"> > > glosscompid._y = 100; > closeglossbuttonrs._x = 913; > closeglossbuttonrs._y = 102;]]> > > > 'glossary.xml?nt='+ (new Date()).getTime());]]> > > icon="dictid" erase="0" exit="1"> > dictid.templateData.WORKBOOK[0];]]> > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 6 17:04:50 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 6 Feb 2013 17:04:50 +0000 Subject: [Xerte-dev] Wizard Problems Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06AF1C@EXCHANGE1.ad.nottingham.ac.uk> Couple of monir problems surfacing: In the screenshot, see the menus reproducing along the menu bar? They get added again after every time you drop back to Xerte and then re-open the wizard; Also, the text on the task list has a trailing 'w...' which I don't understand... (it relates to lines around 1200 in the wizard) - I don't get why it can't just be the labels? [cid:image001.png at 01CE048C.12E5DDB0] [cid:image002.png at 01CE048C.12E5DDB0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 30962 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 116836 bytes Desc: image002.png URL: From reijnders at tor.nl Wed Feb 6 19:48:48 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 06 Feb 2013 20:48:48 +0100 Subject: [Xerte-dev] Re: Wizard Problems In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06AF1C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06AF1C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5112B3A0.6070502@tor.nl> Fixed both issues. Didn't touch the menu code, so we should check whether that is a problem in 1.91 as well. The other one has to do with translating the items and the fact that I want to be able to switch the order of the wording. So the 'New link' item in wizard_en-GB.xml should have "New {i}" and wizard_nl-NL.xml has "{i} toevoegen". Now at runtime the {i} is replaced by the lbl. If you have a new wizard.swf with an old wizard_en-GB.xml file, like you have, it can't find '{i}' but replaces it anyway. The 'w' you see is from 'New'. I changed the code to be more robust in those cases. Tom Op 6-2-2013 18:04, Julian Tenney schreef: > > Couple of monir problems surfacing: > > In the screenshot, see the menus reproducing along the menu bar? They > get added again after every time you drop back to Xerte and then > re-open the wizard; > > Also, the text on the task list has a trailing 'w...' which I don't > understand... (it relates to lines around 1200 in the wizard) -- I > don't get why it can't just be the labels? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 30962 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 116836 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 08:41:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 08:41:16 +0000 Subject: [Xerte-dev] Re: Wizard Problems In-Reply-To: <5112B3A0.6070502@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06AF1C@EXCHANGE1.ad.nottingham.ac.uk> <5112B3A0.6070502@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06AF87@EXCHANGE1.ad.nottingham.ac.uk> Thanks Tom, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 06 February 2013 19:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Wizard Problems Fixed both issues. Didn't touch the menu code, so we should check whether that is a problem in 1.91 as well. The other one has to do with translating the items and the fact that I want to be able to switch the order of the wording. So the 'New link' item in wizard_en-GB.xml should have "New {i}" and wizard_nl-NL.xml has "{i} toevoegen". Now at runtime the {i} is replaced by the lbl. If you have a new wizard.swf with an old wizard_en-GB.xml file, like you have, it can't find '{i}' but replaces it anyway. The 'w' you see is from 'New'. I changed the code to be more robust in those cases. Tom Op 6-2-2013 18:04, Julian Tenney schreef: Couple of monir problems surfacing: In the screenshot, see the menus reproducing along the menu bar? They get added again after every time you drop back to Xerte and then re-open the wizard; Also, the text on the task list has a trailing 'w...' which I don't understand... (it relates to lines around 1200 in the wizard) - I don't get why it can't just be the labels? [cid:image001.png at 01CE050E.E40F6BE0] [cid:image002.png at 01CE050E.E40F6BE0] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 30962 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 116836 bytes Desc: image002.png URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 09:46:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 09:46:38 +0000 Subject: [Xerte-dev] Modular Play and New Templates Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 09:48:55 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 09:48:55 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> Apologies, fat fingers: http://www.nottingham.ac.uk/~cczjrt/bootstrapLO From: Tenney Julian Sent: 07 February 2013 09:47 To: 'For Xerte technical developers' Subject: Modular Play and New Templates Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Thu Feb 7 11:13:38 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 7 Feb 2013 06:13:38 -0500 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Way cool. From: Julian.Tenney at nottingham.ac.uk To: Julian.Tenney at nottingham.ac.uk; xerte-dev at lists.nottingham.ac.uk Date: Thu, 7 Feb 2013 09:48:55 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates Apologies, fat fingers:http://www.nottingham.ac.uk/~cczjrt/bootstrapLO From: Tenney Julian Sent: 07 February 2013 09:47 To: 'For Xerte technical developers' Subject: Modular Play and New Templates Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 11:31:33 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 11:31:33 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B113@EXCHANGE1.ad.nottingham.ac.uk> Having added the tempalte and put it basic.sql, there isn't a media folder being created in the project's user-files...? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 07 February 2013 11:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Modular Play and New Templates Way cool. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: Julian.Tenney at nottingham.ac.uk; xerte-dev at lists.nottingham.ac.uk Date: Thu, 7 Feb 2013 09:48:55 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates Apologies, fat fingers: http://www.nottingham.ac.uk/~cczjrt/bootstrapLO From: Tenney Julian Sent: 07 February 2013 09:47 To: 'For Xerte technical developers' Subject: Modular Play and New Templates Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 11:44:31 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 11:44:31 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B146@EXCHANGE1.ad.nottingham.ac.uk> S'ok, there wasn't a media folder in templates... From: Tenney Julian Sent: 07 February 2013 11:32 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: Modular Play and New Templates Having added the tempalte and put it basic.sql, there isn't a media folder being created in the project's user-files...? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 07 February 2013 11:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Modular Play and New Templates Way cool. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: Julian.Tenney at nottingham.ac.uk; xerte-dev at lists.nottingham.ac.uk Date: Thu, 7 Feb 2013 09:48:55 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates Apologies, fat fingers: http://www.nottingham.ac.uk/~cczjrt/bootstrapLO From: Tenney Julian Sent: 07 February 2013 09:47 To: 'For Xerte technical developers' Subject: Modular Play and New Templates Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 7 15:46:43 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 7 Feb 2013 15:46:43 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: > Question for Pat I think: > > With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: > http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. > > So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? > > There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. > > What do you think is the best thing to do? > > Julian > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 7 16:11:01 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 7 Feb 2013 16:11:01 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B146@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B00E@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B146@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <74C421E8-F74F-4FE5-BE7D-C36294524ED7@pgogywebstuff.com> Yeah it also uses the same new template code so if you need a media folder making that will have to be in that as well Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 11:44, Julian Tenney wrote: > S?ok, there wasn?t a media folder in templates? > > From: Tenney Julian > Sent: 07 February 2013 11:32 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: Modular Play and New Templates > > Having added the tempalte and put it basic.sql, there isn?t a media folder being created in the project?s user-files?? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > Sent: 07 February 2013 11:14 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Modular Play and New Templates > > Way cool. > > > > From: Julian.Tenney at nottingham.ac.uk > To: Julian.Tenney at nottingham.ac.uk; xerte-dev at lists.nottingham.ac.uk > Date: Thu, 7 Feb 2013 09:48:55 +0000 > Subject: [Xerte-dev] Re: Modular Play and New Templates > > Apologies, fat fingers: > http://www.nottingham.ac.uk/~cczjrt/bootstrapLO > > From: Tenney Julian > Sent: 07 February 2013 09:47 > To: 'For Xerte technical developers' > Subject: Modular Play and New Templates > > Question for Pat I think: > > With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: > http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. > > So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? > > There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. > > What do you think is the best thing to do? > > Julian > > > > > _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 7 16:12:07 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 7 Feb 2013 16:12:07 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 7 17:51:07 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 7 Feb 2013 17:51:07 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: > Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 07 February 2013 15:47 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Modular Play and New Templates > > Duplicate the modules xerte folder into modules new template name > > Keep the edit php file as it is still xerte > > Mangle play and preview to present the HTML > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 7 Feb 2013, at 09:46, Julian Tenney wrote: > > Question for Pat I think: > > With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: > http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. > > So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? > > There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. > > What do you think is the best thing to do? > > Julian > > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.D.Furr at southampton.ac.uk Fri Feb 8 08:57:03 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Fri, 8 Feb 2013 08:57:03 +0000 Subject: [Xerte-dev] noob xerte questions Message-ID: Hello All, I'm new to the list, and also new to xerte so please forgive my ignorance. I'm an experienced PHP developer (and flash) but don't know my way round xerte...yet. I was after some pointers for the following, and searching the archives didn't yield much. If they've been answered elsewhere (as I'm sure they are common queries) then please point me in that direction! So on to the questions: 1. Enabling HTMl5 output Is the only way to switch on HTML output to rename play_html5.php > play.php and preview_html5.php > preview.php ? Or am I missing an obvious interface. 2. Exporting as HTML5 Currently the export process is still as flash - I'm assuming this is coming, or if it's already there how do I switch it on? 3. Modifying the look and feel (HTML version) Like most institutions we'd like to customise the styles somewhat. Are there any guidelines how to do this via the templates folder? I'm proficient in CSS but would simply like to know which key DIVs I need to override to add logos / new colours for the header and footer etc of the output file 4. Custom nav menu? Possibly a more advanced query - is there a function to spit out nav menu of the object onto a template? For some projects we'd like to menu to stay up on all pages, and I assume this would require a custom template. I'm hoping there is a php function we can call to spit this out (
    list?) onto a page where required. 5. Bookmarking individual pages I can't see an obvious way of bookmarking an individual page within a learning object as its rendered dynamically (Ajax? JS innderDiv?) - I'm assuming individual page bookmarking isn't possible, can anyone confirm? Thanks in advance - I'm trying to get the University of Southampton on board (mostly there) but allowing customisation would seal the deal. Kind regards, Alex Dr Alex Furr eLearning Developer and Consultant Centre for Innovation in Technologies and Education www.cite.soton.ac.uk e: alexfurr at soton.ac.uk m: 07779 606934 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 8 09:04:32 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 8 Feb 2013 09:04:32 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 8 09:11:05 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Fri, 8 Feb 2013 09:11:05 +0000 Subject: [Xerte-dev] Re: noob xerte questions In-Reply-To: References: Message-ID: <6E9B4756-5F68-450B-8F20-46AFF2CCAEF4@pgogywebstuff.com> Hello, In a past life I wrote a fair bit of the php for XOT. 1) it is two links at the moment - though that might change in future 2) no html5 export - but couldn't see this as being hard to do 3) styles are in website_code/styles - you can set some options via the management page 4) not sure I get the question 5) don't know Basically the code was written for Nottingham and then open sourced, but it isn't perhaps open source like Drupal or Wordpress in that it has hooks or actions or switches and stuff. Basically it works, but perhaps not in the way you would like it too. Think of it is as Henry Ford Black. However, slowly in free time and stuff people have added a few more things (internationalisation, bit more modularisation) but it is kinda when people need it themselves. Happy to help people looking to improve the code base though. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 08:57, "Furr A.D." wrote: > Hello All, > > I?m new to the list, and also new to xerte so please forgive my ignorance. I?m an experienced PHP developer (and flash) but don?t know my way round xerte?yet. > > I was after some pointers for the following, and searching the archives didn?t yield much. If they?ve been answered elsewhere (as I?m sure they are common queries) then please point me in that direction! > So on to the questions: > > 1. Enabling HTMl5 output > Is the only way to switch on HTML output to rename play_html5.php > play.php and preview_html5.php > preview.php ? Or am I missing an obvious interface. > > 2. Exporting as HTML5 > Currently the export process is still as flash ? I?m assuming this is coming, or if it?s already there how do I switch it on? > > 3. Modifying the look and feel (HTML version) > Like most institutions we?d like to customise the styles somewhat. Are there any guidelines how to do this via the templates folder? I?m proficient in CSS but would simply like to know which key DIVs I need to override to add logos / new colours for the header and footer etc of the output file > > 4. Custom nav menu? > Possibly a more advanced query ? is there a function to spit out nav menu of the object onto a template? For some projects we?d like to menu to stay up on all pages, and I assume this would require a custom template. I?m hoping there is a php function we can call to spit this out (
      list?) onto a page where required. > > 5. Bookmarking individual pages > I can?t see an obvious way of bookmarking an individual page within a learning object as its rendered dynamically (Ajax? JS innderDiv?) - I?m assuming individual page bookmarking isn?t possible, can anyone confirm? > > Thanks in advance ? I?m trying to get the University of Southampton on board (mostly there) but allowing customisation would seal the deal. > > Kind regards, > > Alex > > Dr Alex Furr > > eLearning Developer and Consultant > Centre for Innovation in Technologies and Education > www.cite.soton.ac.uk > e: alexfurr at soton.ac.uk > m: 07779 606934 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 8 09:15:16 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Fri, 8 Feb 2013 09:15:16 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: > Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. > > A related question: is there anything different between preview and play, or could I just use the same file for both? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 07 February 2013 17:51 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Modular Play and New Templates > > I would assume we accordion the templates list? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 7 Feb 2013, at 16:12, Julian Tenney wrote: > > Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 07 February 2013 15:47 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Modular Play and New Templates > > Duplicate the modules xerte folder into modules new template name > > Keep the edit php file as it is still xerte > > Mangle play and preview to present the HTML > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 7 Feb 2013, at 09:46, Julian Tenney wrote: > > Question for Pat I think: > > With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: > http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. > > So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? > > There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. > > What do you think is the best thing to do? > > Julian > > > > > _______________________________________________ > 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 > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri Feb 8 09:29:43 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 08 Feb 2013 10:29:43 +0100 Subject: [Xerte-dev] Re: noob xerte questions In-Reply-To: References: Message-ID: <5114C587.1010303@tor.nl> Welcome Alex, Let me give it a shot, others will certainly fill in the gaps or correct my mistakes... ;-) Before reading these answers, please be aware that the HTML5 is still very much a work in progress. It is not finished yet. 1. Enabling HTML5. Depending on what you want: - In the wizard, press Ctrl+Play to preview in HTML5 - When embedding the code, do the opposite, replace the play.html.php in the url with play_html5.php In the near future, (target date is around Easter for now) the default output will be HTML5. Also see http://xerte.org.uk/index.php/component/content/article/125-english/features-en/137-conversion-progress 2. Exporting in HTML5 is (as far as I know) not implemented yet. 3. After the conversions of all the template pages that currently are available in Flash to HTML5 is finished, Fay promised to write a document on how the CSS is structured and what the best way for customization is. 4. Don't know. Not to my knowledge. It shouldn't be to difficult to write though, as all the information you need is in an .xml file/structure. 5. You can in HTML5. You can also in flash, buty not automatically. For flash you would need to construct the url yourself. To quote a recent message in the dev list: In the flash version I set it to work with the following: http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&linkID=PG1352114465620 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&page=3 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&pageID=advanced Sounds like pageID might not be needed anymore but can't see there being any hurt in including it. Regards, Tom Op 8-2-2013 9:57, Furr A.D. schreef: > > Hello All, > > I'm new to the list, and also new to xerte so please forgive my > ignorance. I'm an experienced PHP developer (and flash) but don't know > my way round xerte...yet. > > I was after some pointers for the following, and searching the > archives didn't yield much. If they've been answered elsewhere (as I'm > sure they are common queries) then please point me in that direction! > So on to the questions: > > *1.**Enabling HTMl5 output > *Is the only way to switch on HTML output to rename play_html5.php > > play.php and preview_html5.php > preview.php ? Or am I missing an > obvious interface.** > > *2.**Exporting as HTML5 > *Currently the export process is still as flash -- I'm assuming this > is coming, or if it's already there how do I switch it on?** > > *3.**Modifying the look and feel (HTML version) > *Like most institutions we'd like to customise the styles somewhat. > Are there any guidelines how to do this via the templates folder? I'm > proficient in CSS but would simply like to know which key DIVs I need > to override to add logos / new colours for the header and footer etc > of the output file** > > *4.**Custom nav menu? > *Possibly a more advanced query -- is there a function to spit out nav > menu of the object onto a template? For some projects we'd like to > menu to stay up on all pages, and I assume this would require a custom > template. I'm hoping there is a php function we can call to spit this > out (
        list?) onto a page where required.** > > *5.**Bookmarking individual pages > *I can't see an obvious way of bookmarking an individual page within a > learning object as its rendered dynamically (Ajax? JS innderDiv?) - > I'm assuming individual page bookmarking isn't possible, can anyone > confirm?** > > ** > > Thanks in advance -- I'm trying to get the University of Southampton > on board (mostly there) but allowing customisation would seal the deal. > > Kind regards, > > Alex > > Dr Alex Furr > > eLearning Developer and Consultant > Centre for Innovation in Technologies and Education > > www.cite.soton.ac.uk > > e: alexfurr at soton.ac.uk > > m: 07779 606934 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Fri Feb 8 09:48:22 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 8 Feb 2013 09:48:22 +0000 Subject: [Xerte-dev] Re: noob xerte questions In-Reply-To: <5114C587.1010303@tor.nl> References: <5114C587.1010303@tor.nl> Message-ID: To add to what Tom and Pat have said... 1. Ctrl-Play in the wizard to preview in HTML5 and then if you make a project public you will see the two links in the properties panel for the Flash and HTML versions. When all the page types are finished in HTML5 it will become the default, possibly with some browser detection that will send you to the Flash version if needed. 3. The css files for the html version are in modules\xerte\parent_templates\Nottingham\common_html5\css. It's the mainStyles.css file that contains the bits you'd want to change. I would like to separate out the purely aesthetic css in this file from the css that controls the structure/layout of the interface to make it easier to customise but I haven't had a chance yet. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 08 February 2013 09:30 To: For Xerte technical developers Subject: [Xerte-dev] Re: noob xerte questions Welcome Alex, Let me give it a shot, others will certainly fill in the gaps or correct my mistakes... ;-) Before reading these answers, please be aware that the HTML5 is still very much a work in progress. It is not finished yet. 1. Enabling HTML5. Depending on what you want: - In the wizard, press Ctrl+Play to preview in HTML5 - When embedding the code, do the opposite, replace the play.html.php in the url with play_html5.php In the near future, (target date is around Easter for now) the default output will be HTML5. Also see http://xerte.org.uk/index.php/component/content/article/125-english/features-en/137-conversion-progress 2. Exporting in HTML5 is (as far as I know) not implemented yet. 3. After the conversions of all the template pages that currently are available in Flash to HTML5 is finished, Fay promised to write a document on how the CSS is structured and what the best way for customization is. 4. Don't know. Not to my knowledge. It shouldn't be to difficult to write though, as all the information you need is in an .xml file/structure. 5. You can in HTML5. You can also in flash, buty not automatically. For flash you would need to construct the url yourself. To quote a recent message in the dev list: In the flash version I set it to work with the following: http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&linkID=PG1352114465620 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&page=3 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&pageID=advanced Sounds like pageID might not be needed anymore but can't see there being any hurt in including it. Regards, Tom Op 8-2-2013 9:57, Furr A.D. schreef: Hello All, I'm new to the list, and also new to xerte so please forgive my ignorance. I'm an experienced PHP developer (and flash) but don't know my way round xerte...yet. I was after some pointers for the following, and searching the archives didn't yield much. If they've been answered elsewhere (as I'm sure they are common queries) then please point me in that direction! So on to the questions: 1. Enabling HTMl5 output Is the only way to switch on HTML output to rename play_html5.php > play.php and preview_html5.php > preview.php ? Or am I missing an obvious interface. 2. Exporting as HTML5 Currently the export process is still as flash - I'm assuming this is coming, or if it's already there how do I switch it on? 3. Modifying the look and feel (HTML version) Like most institutions we'd like to customise the styles somewhat. Are there any guidelines how to do this via the templates folder? I'm proficient in CSS but would simply like to know which key DIVs I need to override to add logos / new colours for the header and footer etc of the output file 4. Custom nav menu? Possibly a more advanced query - is there a function to spit out nav menu of the object onto a template? For some projects we'd like to menu to stay up on all pages, and I assume this would require a custom template. I'm hoping there is a php function we can call to spit this out (
          list?) onto a page where required. 5. Bookmarking individual pages I can't see an obvious way of bookmarking an individual page within a learning object as its rendered dynamically (Ajax? JS innderDiv?) - I'm assuming individual page bookmarking isn't possible, can anyone confirm? Thanks in advance - I'm trying to get the University of Southampton on board (mostly there) but allowing customisation would seal the deal. Kind regards, Alex Dr Alex Furr eLearning Developer and Consultant Centre for Innovation in Technologies and Education www.cite.soton.ac.uk e: alexfurr at soton.ac.uk m: 07779 606934 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.D.Furr at southampton.ac.uk Fri Feb 8 11:28:16 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Fri, 8 Feb 2013 11:28:16 +0000 Subject: [Xerte-dev] Re: noob xerte questions In-Reply-To: References: <5114C587.1010303@tor.nl> Message-ID: Thank you to all! This will give me a start on things - I'll have a look at separating out the CSS files next week and if it looks elegant enough will share with the group. Kind regards, many thanks again and have a great weekend! Alex From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 08 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: noob xerte questions To add to what Tom and Pat have said... 1. Ctrl-Play in the wizard to preview in HTML5 and then if you make a project public you will see the two links in the properties panel for the Flash and HTML versions. When all the page types are finished in HTML5 it will become the default, possibly with some browser detection that will send you to the Flash version if needed. 3. The css files for the html version are in modules\xerte\parent_templates\Nottingham\common_html5\css. It's the mainStyles.css file that contains the bits you'd want to change. I would like to separate out the purely aesthetic css in this file from the css that controls the structure/layout of the interface to make it easier to customise but I haven't had a chance yet. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 08 February 2013 09:30 To: For Xerte technical developers Subject: [Xerte-dev] Re: noob xerte questions Welcome Alex, Let me give it a shot, others will certainly fill in the gaps or correct my mistakes... ;-) Before reading these answers, please be aware that the HTML5 is still very much a work in progress. It is not finished yet. 1. Enabling HTML5. Depending on what you want: - In the wizard, press Ctrl+Play to preview in HTML5 - When embedding the code, do the opposite, replace the play.html.php in the url with play_html5.php In the near future, (target date is around Easter for now) the default output will be HTML5. Also see http://xerte.org.uk/index.php/component/content/article/125-english/features-en/137-conversion-progress 2. Exporting in HTML5 is (as far as I know) not implemented yet. 3. After the conversions of all the template pages that currently are available in Flash to HTML5 is finished, Fay promised to write a document on how the CSS is structured and what the best way for customization is. 4. Don't know. Not to my knowledge. It shouldn't be to difficult to write though, as all the information you need is in an .xml file/structure. 5. You can in HTML5. You can also in flash, buty not automatically. For flash you would need to construct the url yourself. To quote a recent message in the dev list: In the flash version I set it to work with the following: http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&linkID=PG1352114465620 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&page=3 http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&pageID=advanced Sounds like pageID might not be needed anymore but can't see there being any hurt in including it. Regards, Tom Op 8-2-2013 9:57, Furr A.D. schreef: Hello All, I'm new to the list, and also new to xerte so please forgive my ignorance. I'm an experienced PHP developer (and flash) but don't know my way round xerte...yet. I was after some pointers for the following, and searching the archives didn't yield much. If they've been answered elsewhere (as I'm sure they are common queries) then please point me in that direction! So on to the questions: 1. Enabling HTMl5 output Is the only way to switch on HTML output to rename play_html5.php > play.php and preview_html5.php > preview.php ? Or am I missing an obvious interface. 2. Exporting as HTML5 Currently the export process is still as flash - I'm assuming this is coming, or if it's already there how do I switch it on? 3. Modifying the look and feel (HTML version) Like most institutions we'd like to customise the styles somewhat. Are there any guidelines how to do this via the templates folder? I'm proficient in CSS but would simply like to know which key DIVs I need to override to add logos / new colours for the header and footer etc of the output file 4. Custom nav menu? Possibly a more advanced query - is there a function to spit out nav menu of the object onto a template? For some projects we'd like to menu to stay up on all pages, and I assume this would require a custom template. I'm hoping there is a php function we can call to spit this out (
            list?) onto a page where required. 5. Bookmarking individual pages I can't see an obvious way of bookmarking an individual page within a learning object as its rendered dynamically (Ajax? JS innderDiv?) - I'm assuming individual page bookmarking isn't possible, can anyone confirm? Thanks in advance - I'm trying to get the University of Southampton on board (mostly there) but allowing customisation would seal the deal. Kind regards, Alex Dr Alex Furr eLearning Developer and Consultant Centre for Innovation in Technologies and Education www.cite.soton.ac.uk e: alexfurr at soton.ac.uk m: 07779 606934 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 8 11:47:46 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 8 Feb 2013 11:47:46 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From lcw102 at soton.ac.uk Fri Feb 8 12:57:03 2013 From: lcw102 at soton.ac.uk (Chen-Wilson L.) Date: Fri, 8 Feb 2013 12:57:03 +0000 Subject: [Xerte-dev] Xerte browser issues when inserting image Message-ID: Hi everyone, I am new to Xerte, and have just signed up for the mailing list. I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). If this has been answered somewhere, please let me know and point me to it. Thanks Lisha From Julian.Tenney at nottingham.ac.uk Fri Feb 8 13:20:55 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 8 Feb 2013 13:20:55 +0000 Subject: [Xerte-dev] Re: Xerte browser issues when inserting image In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B6E2@EXCHANGE1.ad.nottingham.ac.uk> It should work: when did you install it? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Chen-Wilson L. Sent: 08 February 2013 12:57 To: Xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Xerte browser issues when inserting image Hi everyone, I am new to Xerte, and have just signed up for the mailing list. I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). If this has been answered somewhere, please let me know and point me to it. Thanks Lisha _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From d_b_burnett at hotmail.com Fri Feb 8 13:26:30 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 8 Feb 2013 08:26:30 -0500 Subject: [Xerte-dev] Re: Xerte browser issues when inserting image In-Reply-To: References: Message-ID: Hi there! What happens exactly?Maybe a pop up blocker id blocking the upload window? Dave > From: lcw102 at soton.ac.uk > To: Xerte-dev at lists.nottingham.ac.uk > Date: Fri, 8 Feb 2013 12:57:03 +0000 > Subject: [Xerte-dev] Xerte browser issues when inserting image > > Hi everyone, > > I am new to Xerte, and have just signed up for the mailing list. > > I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). > > If this has been answered somewhere, please let me know and point me to it. > > Thanks > Lisha > > _______________________________________________ > 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 8 13:34:11 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 8 Feb 2013 13:34:11 +0000 Subject: [Xerte-dev] Re: Xerte browser issues when inserting image In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B6F9@EXCHANGE1.ad.nottingham.ac.uk> It soundslike the issue that surfaced because of the security changes to upload.php, but I didn't think that was in the zip: did the files come directly from the svn? I'm just checking the zip now From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 08 February 2013 13:27 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Xerte browser issues when inserting image Hi there! What happens exactly? Maybe a pop up blocker id blocking the upload window? Dave > From: lcw102 at soton.ac.uk > To: Xerte-dev at lists.nottingham.ac.uk > Date: Fri, 8 Feb 2013 12:57:03 +0000 > Subject: [Xerte-dev] Xerte browser issues when inserting image > > Hi everyone, > > I am new to Xerte, and have just signed up for the mailing list. > > I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). > > If this has been answered somewhere, please let me know and point me to it. > > Thanks > Lisha > > _______________________________________________ > 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.D.Furr at southampton.ac.uk Fri Feb 8 14:02:42 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Fri, 8 Feb 2013 14:02:42 +0000 Subject: [Xerte-dev] Re: Xerte browser issues when inserting image In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B6F9@EXCHANGE1.ad.nottingham.ac.uk> References: , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B6F9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <311E6428-81E4-42D2-B727-0B5FF59A0227@soton.ac.uk> I can confirm the problem. Works on my chrome and ie v8 but not Firefox. Bizarre Alex Sent from my iPad On 8 Feb 2013, at 14:00, "Julian Tenney" > wrote: It soundslike the issue that surfaced because of the security changes to upload.php, but I didn?t think that was in the zip: did the files come directly from the svn? I?m just checking the zip now From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 08 February 2013 13:27 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Xerte browser issues when inserting image Hi there! What happens exactly? Maybe a pop up blocker id blocking the upload window? Dave > From: lcw102 at soton.ac.uk > To: Xerte-dev at lists.nottingham.ac.uk > Date: Fri, 8 Feb 2013 12:57:03 +0000 > Subject: [Xerte-dev] Xerte browser issues when inserting image > > Hi everyone, > > I am new to Xerte, and have just signed up for the mailing list. > > I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). > > If this has been answered somewhere, please let me know and point me to it. > > Thanks > Lisha > > _______________________________________________ > 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. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Fri Feb 8 14:11:39 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 8 Feb 2013 14:11:39 +0000 Subject: [Xerte-dev] Re: Xerte browser issues when inserting image In-Reply-To: <311E6428-81E4-42D2-B727-0B5FF59A0227@soton.ac.uk> References: , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B6F9@EXCHANGE1.ad.nottingham.ac.uk> <311E6428-81E4-42D2-B727-0B5FF59A0227@soton.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B745@EXCHANGE1.ad.nottingham.ac.uk> I've updated the zip to the latest files in the svn. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Furr A.D. Sent: 08 February 2013 14:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: Xerte browser issues when inserting image I can confirm the problem. Works on my chrome and ie v8 but not Firefox. Bizarre Alex Sent from my iPad On 8 Feb 2013, at 14:00, "Julian Tenney" > wrote: It soundslike the issue that surfaced because of the security changes to upload.php, but I didn't think that was in the zip: did the files come directly from the svn? I'm just checking the zip now From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 08 February 2013 13:27 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Xerte browser issues when inserting image Hi there! What happens exactly? Maybe a pop up blocker id blocking the upload window? Dave > From: lcw102 at soton.ac.uk > To: > Xerte-dev at lists.nottingham.ac.uk uk> > Date: Fri, 8 Feb 2013 12:57:03 +0000 > Subject: [Xerte-dev] Xerte browser issues when inserting image > > Hi everyone, > > I am new to Xerte, and have just signed up for the mailing list. > > I have been trying to up load images to Xerte, and have just worked out that it doesn't support by Firefox (tested with version 18.0.2 on windows and MAC) and Safari (tested with version 6.0.2) while it works beautifully in Chrome (tested with version 24.0.1312.57 on windows). > > If this has been answered somewhere, please let me know and point me to it. > > Thanks > Lisha > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk 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. _______________________________________________ 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 From xerte at pgogywebstuff.com Fri Feb 8 16:10:57 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 08 Feb 2013 16:10:57 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <8dcb29e75ed736503971afb5c58d397547ff603b@webmail.hosting.heartinternet.co.uk> the play_, preview_ and other shared code can be moved into module_functions.php which is a sort of library of similar things. Common code should logically go in library/JS or some such? The export link doesn't matter for templates - the link is the same the properties panel is driven by options in the .info file now ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 8 Feb 2013 11:47:46 +0000 Subject:[Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. ? Few observations on hooking it up: ? - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. ? - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. ? - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. ? - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. ? - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd /? wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? ? Cheers, ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Pat @ Pgogy SENT: 08 February 2013 09:15 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. ? Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? ? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com [1] Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. ? A related question: is there anything different between preview and play, or could I just use the same file for both? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [3] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4]] ON BEHALF OF Pat @ Pgogy SENT: 07 February 2013 17:51 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuffcom [5] Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [7] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8]] ON BEHALF OF Pat @ Pgogy SENT: 07 February 2013 15:47 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? Duplicate the modules xerte folder into modules new template name ? Keep the edit php file as it is still xerte ? Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuffcom [9] Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: Question for Pat I think: ? With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO [11]. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. ? So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? ? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. ? What do you think is the best thing to do? ? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [12] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [13] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [14] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [15] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [16] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [17] Links: ------ [1] http://www.pgogywebstuff.com [2] mailto:Julian.Tenney at nottingham.ac.uk [3] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [5] http://www.pgogywebstuff.com [6] mailto:Julian.Tenney at nottingham.ac.uk [7] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9] http://www.pgogywebstuff.com [10] mailto:Julian.Tenney at nottingham.ac.uk [11] http://www.nottingham.ac.uk/~cczjrt/boostrapLO [12] mailto:Xerte-dev at lists.nottingham.ac.uk [13] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [14] mailto:Xerte-dev at lists.nottingham.ac.uk [15] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [16] mailto:Xerte-dev at lists.nottingham.ac.uk [17] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Feb 8 16:14:19 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 8 Feb 2013 16:14:19 -0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <033d01ce0617$5c458f00$14d0ad00$@co.uk> Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 8 16:20:19 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 08 Feb 2013 16:20:19 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <033d01ce0617$5c458f00$14d0ad00$@co.uk> Message-ID: <9d1a89aa7c6b696702cb4cd47c10184370a06180@webmail.hosting.heartinternet.co.uk> Are we officially bundling this into the release then? Can other modules go in by default? ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 8 Feb 2013 16:14:19 -0000 Subject:[Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. ? On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. ? play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. ? HTH Ron ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Julian Tenney SENT: 08 February 2013 11:48 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. ? Few observations on hooking it up: ? - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. ? - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. ? - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. ? - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. ? - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd /? wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? ? Cheers, ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Pat @ Pgogy SENT: 08 February 2013 09:15 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. ? Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? ? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com [3] Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. ? A related question: is there anything different between preview and play, or could I just use the same file for both? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [5] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [6]] ON BEHALF OF Pat @ Pgogy SENT: 07 February 2013 17:51 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com [7] Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [9] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [10]] ON BEHALF OF Pat @ Pgogy SENT: 07 February 2013 15:47 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Modular Play and New Templates ? Duplicate the modules xerte folder into modules new template name ? Keep the edit php file as it is still xerte ? Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com [11] Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: Question for Pat I think: ? With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottinghamac.uk/~cczjrt/boostrapLO [13]. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. ? So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? ? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. ? What do you think is the best thing to do? ? Julian _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [14] http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev [15] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [16] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [17] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [18] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [19] Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] http://www.pgogywebstuff.com [4] mailto:Julian.Tenney at nottingham.ac.uk [5] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [6] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7] http://www.pgogywebstuff.com [8] mailto:Julian.Tenney at nottingham.ac.uk [9] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [10] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [11] http://www.pgogywebstuff.com [12] mailto:Julian.Tenney at nottingham.ac.uk [13] http://www.nottingham.ac.uk/~cczjrt/boostrapLO [14] mailto:Xerte-dev at lists.nottingham.ac.uk [15] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [16] mailto:Xerte-dev at lists.nottingham.ac.uk [17] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [18] mailto:Xerte-dev at lists.nottingham.ac.uk [19] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 09:30:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 09:30:28 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <9d1a89aa7c6b696702cb4cd47c10184370a06180@webmail.hosting.heartinternet.co.uk> References: <033d01ce0617$5c458f00$14d0ad00$@co.uk> <9d1a89aa7c6b696702cb4cd47c10184370a06180@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B98E@EXCHANGE1.ad.nottingham.ac.uk> I think there is a demand for a pure html template that works well on any device / screen size, and is simpler than the main template: we have loads of people want to get stuff to iPads / phones and it?s often simple stuff. It?s not finished yet. I suppose it depends what it does? Didn?t you have some sort of timeline template going? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 08 February 2013 16:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Are we officially bundling this into the release then? Can other modules go in by default? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 8 Feb 2013 16:14:19 -0000 Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 09:34:36 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 09:34:36 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <033d01ce0617$5c458f00$14d0ad00$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 10:22:49 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 10:22:49 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 10:26:27 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 10:26:27 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk> if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 10:40:59 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 10:40:59 +0000 Subject: [Xerte-dev] Re: Modular Play and New Templates In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 11:09:17 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 11:09:17 +0000 Subject: [Xerte-dev] Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk> Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png?? var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Feb 11 11:19:48 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 11:19:48 -0000 Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Message-ID: <053601ce0849$b4f80130$1ee80390$@co.uk> Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 23437 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 7427 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Mon Feb 11 11:33:51 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 11:33:51 -0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <053601ce0849$b4f80130$1ee80390$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> Message-ID: <054901ce084b$abc88e20$0359aa60$@co.uk> Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: not available URL: From d_b_burnett at hotmail.com Mon Feb 11 11:34:20 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 06:34:20 -0500 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <053601ce0849$b4f80130$1ee80390$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> Message-ID: Wonder if it's just that querystring or any at all? From: ronm at mitchellmedia.co.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:19:48 +0000 Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi allI noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? CheersRon _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 23437 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 7427 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 11:41:59 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 11:41:59 +0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: References: <053601ce0849$b4f80130$1ee80390$@co.uk> Message-ID: Hi, Looking at it now... it seems on page 2 of Ron's LO the iframe URL is http://www.youtube.com/embed/http://www.youtube.com/embed/?wmode=opaque so the function that build the URL is not doing it properly... my bad I'll get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 11:34 AM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Wonder if it's just that querystring or any at all? From: ronm at mitchellmedia.co.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:19:48 +0000 Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: [cid:image001.jpg at 01CE084C.CD3607D0] Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame [cid:image002.jpg at 01CE084C.CD3607D0] It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: image002.jpg URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 11:49:07 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk> <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk> <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk> <033d01ce0617$5c458f00$14d0ad00$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png?? var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 11:53:20 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 11:53:20 +0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <054901ce084b$abc88e20$0359aa60$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> Message-ID: Hi Ron, Can you send me the exact URL that you are using (copied from XOT) as I think it's the parsing rather than the building that's causing the www.youtube.com part to be taken as the code... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: [cid:image001.jpg at 01CE084E.6358FA50] Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame [cid:image002.jpg at 01CE084E.6358FA50] It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: image002.jpg URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 11:53:58 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 11:53:58 +0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <054901ce084b$abc88e20$0359aa60$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> Message-ID: In fact scrub that... don't know what I'm thinking... I'll take it straight from your xml file... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: [cid:image001.jpg at 01CE084E.79D5D050] Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame [cid:image002.jpg at 01CE084E.79D5D050] It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: image002.jpg URL: From ronm at mitchellmedia.co.uk Mon Feb 11 12:03:32 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 12:03:32 -0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> Message-ID: <059501ce084f$d13b8320$73b28960$@co.uk> Hi John just in case there's a difference here's what's pasted into the editor window on the 2nd page: iframe width="560" height="315" src="http://www.youtube.com/embed/yVD_nSLINms?rel=0" frameborder="0" allowfullscreen> just in case html email format tried to embed the clip. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In fact scrub that. don't know what I'm thinking. I'll take it straight from your xml file. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: not available URL: From d_b_burnett at hotmail.com Mon Feb 11 12:11:51 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 07:11:51 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png?? var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 12:23:53 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 12:23:53 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: In a lot of use cases it is EVIL().... I've seen lots of really bad examples... Sometimes though it saves hundreds of lines of code and if you are not eval-ing some unknown then why not... it's just another tool in the box, only dangerous if you don't know the risks... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 12:12 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 13:04:55 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 13:04:55 +0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <059501ce084f$d13b8320$73b28960$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> <059501ce084f$d13b8320$73b28960$@co.uk> Message-ID: Hi Ron, Give that a try now... don't have access to an install at present so haven't tested it other than in jsFiddle but seems to pick up the ?rel=0 now... Will make it more robust when I get time... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 12:04 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi John just in case there's a difference here's what's pasted into the editor window on the 2nd page: iframe width="560" height="315" src="http://www.youtube.com/embed/yVD_nSLINms?rel=0" frameborder="0" allowfullscreen> just in case html email format tried to embed the clip. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In fact scrub that... don't know what I'm thinking... I'll take it straight from your xml file... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: [cid:image001.jpg at 01CE0858.6379BD30] Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame [cid:image002.jpg at 01CE0858.6379BD30] It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: image002.jpg URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:14:33 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:14:33 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB7D@EXCHANGE1.ad.nottingham.ac.uk> Yeah, I'm not zealous about it, just in the past I've had expression() which avoids it - though presumably introduces the hundreds of lines of code so it can all be evaluated this[varName] style. In this case though, and the risk is slight, you could write JavaScript into a file URL and have it evaluated on the other side From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 12:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() In a lot of use cases it is EVIL().... I've seen lots of really bad examples... Sometimes though it saves hundreds of lines of code and if you are not eval-ing some unknown then why not... it's just another tool in the box, only dangerous if you don't know the risks... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 12:12 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:16:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 13:22:44 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 13:22:44 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB7D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB7D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Very true... I think you just have to treat each case on it's own... there's always a string parsing way to do it... If it's not considerably longer than eval then you should probably use alternative code... http://jsfiddle.net/aGD44/ Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 1:15 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() Yeah, I'm not zealous about it, just in the past I've had expression() which avoids it - though presumably introduces the hundreds of lines of code so it can all be evaluated this[varName] style. In this case though, and the risk is slight, you could write JavaScript into a file URL and have it evaluated on the other side From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 12:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() In a lot of use cases it is EVIL().... I've seen lots of really bad examples... Sometimes though it saves hundreds of lines of code and if you are not eval-ing some unknown then why not... it's just another tool in the box, only dangerous if you don't know the risks... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 12:12 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon Feb 11 13:29:14 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 08:29:14 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important.;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have saidthings like: "Eval is evil" and "The first thing I do when I work onsomeone else's code is go through it and remove ALL the Evals." Thefriendly challenge was for someone to come up with a better GENERIC,REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLELIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval()We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png??var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi JulianI updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTHRon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote:Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote:Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote:Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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_______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 13:34:41 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 13:34:41 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:38:45 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:38:45 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBA9@EXCHANGE1.ad.nottingham.ac.uk> Yep, there were some holy wars fought over a few things: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R6671 And the ensuing firestorm: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?S2=aware&q=Top+Ten+Type+Rules&s=&f=&a=&b=. It's a good job I knew who ee cummings was http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7163 and some people are just too easy to wind up http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7070. deeds cannot dream what dreams can do From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 13:29 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:39:06 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:39:06 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, <033d01ce0617$5c458f00$14d0ad00$@co.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB7D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBAA@EXCHANGE1.ad.nottingham.ac.uk> var tmpFunc = new Function(codeToRun); tmpFunc(); I never knew that. You still execute whatever code you get in though. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() Very true... I think you just have to treat each case on it's own... there's always a string parsing way to do it... If it's not considerably longer than eval then you should probably use alternative code... http://jsfiddle.net/aGD44/ Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 1:15 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() Yeah, I'm not zealous about it, just in the past I've had expression() which avoids it - though presumably introduces the hundreds of lines of code so it can all be evaluated this[varName] style. In this case though, and the risk is slight, you could write JavaScript into a file URL and have it evaluated on the other side From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 12:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() In a lot of use cases it is EVIL().... I've seen lots of really bad examples... Sometimes though it saves hundreds of lines of code and if you are not eval-ing some unknown then why not... it's just another tool in the box, only dangerous if you don't know the risks... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 12:12 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:41:02 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:41:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk> There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon Feb 11 13:38:33 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 08:38:33 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , Message-ID: I saw eval() and the hairs on the back of my neck went up. The AW archives still exist, so I just did a quick search and ran across that diatribe. From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:34:41 +0000 Subject: [Xerte-dev] Re: Avoiding eval() And you?re still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png?? var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote: Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote: Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:44:02 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> And my dignity remains intact: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon Feb 11 13:47:40 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 08:47:40 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBA9@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBA9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: 3. Do not use Comic Sans. Your loathe of CS is long standing.I'm currently working on a bit originally done in AW3.5 that uses mainly.... Comic Sans.I thought of you. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:38:45 +0000 Subject: [Xerte-dev] Re: Avoiding eval() Yep, there were some holy wars fought over a few things: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R6671 And the ensuing firestorm: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?S2=aware&q=Top+Ten+Type+Rules&s=&f=&a=&b=. It?s a good job I knew who ee cummings was http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7163 and some people are just too easy to wind up http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7070. deeds cannot dream what dreams can do From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 13:29 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important.;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval()There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have saidthings like: "Eval is evil" and "The first thing I do when I work onsomeone else's code is go through it and remove ALL the Evals." Thefriendly challenge was for someone to come up with a better GENERIC,REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLELIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval()We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png??var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi JulianI updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTHRon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote:Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote:Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote:Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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_______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 13:54:41 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 13:54:41 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBA9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Brilliant! Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:48 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() 3. Do not use Comic Sans. Your loathe of CS is long standing. I'm currently working on a bit originally done in AW3.5 that uses mainly.... Comic Sans. I thought of you. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:38:45 +0000 Subject: [Xerte-dev] Re: Avoiding eval() Yep, there were some holy wars fought over a few things: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R6671 And the ensuing firestorm: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?S2=aware&q=Top+Ten+Type+Rules&s=&f=&a=&b=. It's a good job I knew who ee cummings was http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7163 and some people are just too easy to wind up http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7070. deeds cannot dream what dreams can do From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 13:29 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 13:58:26 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 13:58:26 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBA9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBD8@EXCHANGE1.ad.nottingham.ac.uk> I always thought it was the typographical equivalent of daffy duck socks. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 13:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() 3. Do not use Comic Sans. Your loathe of CS is long standing. I'm currently working on a bit originally done in AW3.5 that uses mainly.... Comic Sans. I thought of you. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:38:45 +0000 Subject: [Xerte-dev] Re: Avoiding eval() Yep, there were some holy wars fought over a few things: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R6671 And the ensuing firestorm: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?S2=aware&q=Top+Ten+Type+Rules&s=&f=&a=&b=. It's a good job I knew who ee cummings was http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7163 and some people are just too easy to wind up http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R7070. deeds cannot dream what dreams can do From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 13:29 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 13:56:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 13:56:54 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Does this promise still hold fast? I'll be doing a lot of searching between now and the next Xerte conference!! ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 1:44 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And my dignity remains intact: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 14:03:11 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 14:03:11 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBE9@EXCHANGE1.ad.nottingham.ac.uk> Search away. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() Does this promise still hold fast? I'll be doing a lot of searching between now and the next Xerte conference!! ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 1:44 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And my dignity remains intact: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon Feb 11 14:08:32 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 09:08:32 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Julian ended up in much better shape than the rest of us. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval() And my dignity remains intact:http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you?re still talking about it 11 years later!! Must have made a real impression ;-) Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important.;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval()There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have saidthings like: "Eval is evil" and "The first thing I do when I work onsomeone else's code is go through it and remove ALL the Evals." Thefriendly challenge was for someone to come up with a better GENERIC,REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLELIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval()We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png??var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi JulianI updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTHRon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote:Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote:Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote:Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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_______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 14:09:21 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 14:09:21 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBF9@EXCHANGE1.ad.nottingham.ac.uk> ...on that particular occasion... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:09 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Julian ended up in much better shape than the rest of us. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval() And my dignity remains intact: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Feb 11 14:10:47 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 14:10:47 -0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> <059501ce084f$d13b8320$73b28960$@co.uk> Message-ID: <066001ce0861$97a69610$c6f3c230$@co.uk> Hi John yes that seems to have cracked it... http://mitchellmedia.co.uk/xot/play_html5_47 Cheers! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:05 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi Ron, Give that a try now. don't have access to an install at present so haven't tested it other than in jsFiddle but seems to pick up the ?rel=0 now. Will make it more robust when I get time. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 12:04 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi John just in case there's a difference here's what's pasted into the editor window on the 2nd page: iframe width="560" height="315" src="http://www.youtube.com/embed/yVD_nSLINms?rel=0" frameborder="0" allowfullscreen> just in case html email format tried to embed the clip. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In fact scrub that. don't know what I'm thinking. I'll take it straight from your xml file. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: not available URL: From d_b_burnett at hotmail.com Mon Feb 11 14:13:18 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 09:13:18 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBF9@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBF9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Such modesty.You still are. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 14:09:21 +0000 Subject: [Xerte-dev] Re: Avoiding eval() ?on that particular occasion? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:09 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Julian ended up in much better shape than the rest of us. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval()And my dignity remains intact:http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you?re still talking about it 11 years later!! Must have made a real impression ;-) Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important.;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval()There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have saidthings like: "Eval is evil" and "The first thing I do when I work onsomeone else's code is go through it and remove ALL the Evals." Thefriendly challenge was for someone to come up with a better GENERIC,REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLELIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval()We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png??var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi JulianI updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTHRon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote:Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote:Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote:Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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_______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 14:17:57 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 14:17:57 +0000 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBF9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BC07@EXCHANGE1.ad.nottingham.ac.uk> Ah, that's not what I meant, I didn't always come out of the debates on top... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:13 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Such modesty. You still are. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 14:09:21 +0000 Subject: [Xerte-dev] Re: Avoiding eval() ...on that particular occasion... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:09 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Julian ended up in much better shape than the rest of us. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval() And my dignity remains intact: http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you're still talking about it 11 years later!! Must have made a real impression ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important. ;-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval() There was fair bit of pulpit thumping going on back then IIRC... happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged. Eval = Evil Julian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have said things like: "Eval is evil" and "The first thing I do when I work on someone else's code is go through it and remove ALL the Evals." The friendly challenge was for someone to come up with a better GENERIC, REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLE LIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002 It was a long rant ending with the lister's resignation from the list. ;-) ________________________________ From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval() We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don't think it's 'BAD'... Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split("'")[1] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that's not the 'right' thing to do? //get the file path from the string "FileLocation + 'media/header.png'" var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn't get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on.... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though... var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There's some funky stuff with IE and ajax in jQuery when you set the dataType to 'xml'. I did have it set to 'text', it's a known thing and I'll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian I updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what's there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page - there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can't remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I've put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn't Nottingham. - Otherwise it's pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I'm not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney > wrote: Well, it's more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard 'runtime' to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney > wrote: Yeah, that's pretty much what I'm doing. It will work and that's fine, just wondering about the situation where there loads of these things... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney > wrote: Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that's all fine. I've got a new template I'd like to build in that produces this stuff: http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There's another difference here: Fay's html5 code plays existing content - so you have two alternative urls for the same piece, ultimately we'll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn't work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that's what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon Feb 11 14:22:11 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 11 Feb 2013 09:22:11 -0500 Subject: [Xerte-dev] Re: Avoiding eval() In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BC07@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06B003@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B37A@EXCHANGE1.ad.nottingham.ac.uk>, , , , , <2A7147F6-0BCF-4D80-8F7D-647B3359746A@pgogywebstuff.com>, , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B46F@EXCHANGE1.ad.nottingham.ac.uk>, , , , , <0DF30BF9-FF4A-4358-BB5E-E9DBC4834271@pgogywebstuff.com>, , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B641@EXCHANGE1.ad.nottingham.ac.uk>, , , , , <033d01ce0617$5c458f00$14d0ad00$@co.uk>, , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06B99D@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA27@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BA84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BB84@EXCHANGE1.ad.nottingham.ac.uk>, , , , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBB0@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBBC@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BBF9@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C06BC07@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I meant you did a lot of running....:-> From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 14:17:57 +0000 Subject: [Xerte-dev] Re: Avoiding eval() Ah, that?s not what I meant, I didn?t always come out of the debates on top? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:13 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Such modesty.You still are.From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 14:09:21 +0000 Subject: [Xerte-dev] Re: Avoiding eval()?on that particular occasion? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 14:09 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() Julian ended up in much better shape than the rest of us. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Avoiding eval()And my dignity remains intact:http://listserv.cc.kuleuven.ac.be/cgi-bin/wa?A2=ind0406B&L=aware&P=R8285 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 February 2013 13:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() There were a few characters on there that were just too much fun not to poke from time to time. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Avoiding eval() And you?re still talking about it 11 years later!! Must have made a real impression ;-) Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: Monday, February 11, 2013 1:29 PM To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() It goes on for about 12 paragraphs. and then "GOOD-BYE!!!!!!!" It seemed so important.;-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 13:16:38 +0000 Subject: [Xerte-dev] Re: Avoiding eval()There was fair bit of pulpit thumping going on back then IIRC? happy days! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 11 February 2013 12:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Avoiding eval() John, we're damaged.Eval = EvilJulian and I cut our teeth on this type of discussion: The friendly challenge was directed to those who, in the past, have saidthings like: "Eval is evil" and "The first thing I do when I work onsomeone else's code is go through it and remove ALL the Evals." Thefriendly challenge was for someone to come up with a better GENERIC,REUSABLE, DYNAMIC, CUSTOM LIST FUNCTION THAT WOULD WORK FOR ANY COMPATIBLELIST STRUCTURE, AND THAT DID NOT USE EVAL!!!!!!!!!!!!! Authorware listserv circa 2002It was a long rant ending with the lister's resignation from the list.;-) From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 11 Feb 2013 11:49:07 +0000 Subject: [Xerte-dev] Re: Avoiding eval()We use eval several times in the xenith code. If you know the source of what you are eval()ing then I don?t think it?s ?BAD?? Since FileLocation needs to be set in order for eval to work then you can do something with string parsing like var path = FileLocation + $(data).find('learningObject').attr('header').split(???)[1] Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Avoiding eval() Can you avoid eval? In the case of file paths, the only thing I can think to do is to use eval(), and I know that?s not the ?right? thing to do? //get the file path from the string ?FileLocation + ?media/header.png??var path = eval( $(data).find('learningObject').attr('header') ); From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Yeah I couldn?t get any of the methods of jQuery parsing to work with that model in IE with that shape data. Not sure if it breaks some rule or something by having a reserved word etc but I know one of the JSON objects received from an external for one of the models (flickr or delicious or something) uses a reserved word that IE bokes on?. Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 10:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates if (typeof data == 'string'){ //have to mangel the data for IE, not sure if this works?? data = $.parseXML(data); } Seems to have done the trick. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Hi Julian Check lines 560-568 of the textDrawing.html model as I had to do similar to play nicely in IE. jQuery will quite happily turn text to XML for other browsers though? var xml; if (jQuery.browser.msie) { // Had to add this in to get IE to parse correctly var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.loadXML($(x_currentPageXML).text()); xml = xmlDoc; } else { xml = $($(x_currentPageXML).text()); } Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, February 11, 2013 9:35 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates There?s some funky stuff with IE and ajax in jQuery when you set the dataType to ?xml?. I did have it set to ?text?, it?s a known thing and I?ll figure it out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 February 2013 16:14 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Modular Play and New Templates Hi JulianI updated a test install but then re-installed over the top so that your template installed in the database so at some point the relevant sql will need to be added to upgrade.php but I'm sure you're aware of that. On this test install when viewing properties of either a bootstrap project or an xot project only the flash play.php shows now in the properties window. play_bootstrap.php doesn't seem to play very nicely in IE whereas I'm sure http://www.nottingham.ac.uk/~cczjrt/boostrapLO did but that's now showing as forbidden. play_bootstrap.php plays ok in Chrome. HTHRon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 February 2013 11:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I got it working, you can check it out and do an xampp install for a quick preview of what?s there so far. Few observations on hooking it up: - Ages ago, Pat, we talked about firing the data at an ad-hoc page ? there is code in the wizard that posts it to wizard.runtime if set, so we did do it. Before I realised this, I set a property called runtime and used it to point the preview to preview_bootstrap.php. I can?t remember if anyone is actually using .runtime to use a different playout or not (I have vague memories of GEM doing this for their PBL stuff?). I could have just posted the data to a page, but then you lose all the security stuff. - There is much the same code in the various play_, play_html5, play_bootstrap files that we ought to tidy up at some point. - I?ve put my own set of .js libraries etc in the /common folder, so that duplicates some things like jQuery, so it would be better to load common libraries from a central place. - I have no idea how hard it is to get appropriate urls showing in the properties tab for the play_, export, etc and have all that working when the template isn?t Nottingham. - Otherwise it?s pretty straightforward to add new tools, especially if you can work with the xwd / wizard for an editor, and jQuery makes it really easy to pick up the xml and drive the content. Once this penny drops I can see other people wanting to build their own templates and add them in, so it would be worth smoothing out some time. I can do that probably, but I?m not so sure what needs to be in place to make the properties panel more flexible? Cheers, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Preview and play differ in terms of logged in access and password protection - but the display code should be in a library function. Agree your code base should be shared - wondering if modules could share that. In theory you could add a play parameter to the info file and then probably share the rest of the code? That might work better? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 8 Feb 2013, at 09:04, Julian Tenney wrote:Well, it?s more that we have the same code in several places, and things like being able to get the runtime url in the wizard. I added a property to the wizard ?runtime? to point to my booststrap.php page. A related question: is there anything different between preview and play, or could I just use the same file for both? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 17:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates I would assume we accordion the templates list? Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 16:12, Julian Tenney wrote:Yeah, that?s pretty much what I?m doing. It will work and that?s fine, just wondering about the situation where there loads of these things? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 February 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Modular Play and New Templates Duplicate the modules xerte folder into modules new template name Keep the edit php file as it is still xerte Mangle play and preview to present the HTML Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 7 Feb 2013, at 09:46, Julian Tenney wrote:Question for Pat I think: With the html5 playout, Fay has added play_html5.php that does the work, that?s all fine. I?ve got a new template I?d like to build in that produces this stuff:http://www.nottingham.ac.uk/~cczjrt/boostrapLO. The editor is a standard xerte wizard / xwd thing, but it uses its own html page to parse the xml and create the content. So I could add another html page to the folder and repeat what Fay has done for html5, but that seems a bit messy to sustain if, one day, we have loads of runtimes doing different things, I wondered if your modular stuff handled this in a more graceful way? There?s another difference here: Fay?s html5 code plays existing content ? so you have two alternative urls for the same piece, ultimately we?ll switch toolkits to use the html5 one as the default, and the old one will remain as a legacy. In my case, it doesn?t work like that, these projects will always only use their html page: so that needs to be the url to display in properties for the project, and I guess that?s what needs to export as well. What do you think is the best thing to do? Julian _______________________________________________ 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_______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 14:25:18 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 14:25:18 +0000 Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In-Reply-To: <066001ce0861$97a69610$c6f3c230$@co.uk> References: <053601ce0849$b4f80130$1ee80390$@co.uk> <054901ce084b$abc88e20$0359aa60$@co.uk> <059501ce084f$d13b8320$73b28960$@co.uk> <066001ce0861$97a69610$c6f3c230$@co.uk> Message-ID: Glad it worked!! Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 2:11 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi John yes that seems to have cracked it... http://mitchellmedia.co.uk/xot/play_html5_47 Cheers! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 13:05 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi Ron, Give that a try now... don't have access to an install at present so haven't tested it other than in jsFiddle but seems to pick up the ?rel=0 now... Will make it more robust when I get time... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 12:04 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Hi John just in case there's a difference here's what's pasted into the editor window on the 2nd page: iframe width="560" height="315" src="http://www.youtube.com/embed/yVD_nSLINms?rel=0" frameborder="0" allowfullscreen> just in case html email format tried to embed the clip. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off In fact scrub that... don't know what I'm thinking... I'll take it straight from your xml file... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 11:34 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: YouTube video page via HTML 5 - issue with related content turned off Sorry should have added the HTML 5 link too http://mitchellmedia.co.uk/xot/play_html5_47 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 February 2013 11:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] YouTube video page via HTML 5 - issue with related content turned off Hi all I noticed an issue recently but didn't have time to test properly until now and I have checked the HTML 5 code yet but thought I'd mention it in case it's already a known issue... That old joke about on YouTube never being more than a couple of clicks away from a dog on a skateboard or something far more undesirable, especially in a classroom, means that it's often preferable to un-tick the box that shows related content when the video finishes. For instance at the end of the Nottingham Xerte Online Toolkits video the following thumbnails and links show: [cid:image001.jpg at 01CE0863.9E140620] Nothing too bad there but you get the point. Anyway what I've noticed is that with HTML 5 playback with the related videos turned off which adds ?rel=0 to the end of the link in the embed code the video doesn't show and gives a message that the video can't be displayed in a frame [cid:image002.jpg at 01CE0863.9E140620] It plays vine via the Flash player e.g. http://mitchellmedia.co.uk/xot/play_47 So is this just some kind of string manipulation difference in the xerte models or something else? I can have a look but I think you built the html 5 YouTube models John so have you noticed this? Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 23437 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 7427 bytes Desc: image002.jpg URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 16:05:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 16:05:38 +0000 Subject: [Xerte-dev] Name for 'bootstrap' template Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks... Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Feb 11 16:37:01 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 16:37:01 -0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <06d401ce0876$05b193d0$1114bb70$@co.uk> My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 11 16:47:51 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 11 Feb 2013 16:47:51 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <06d401ce0876$05b193d0$1114bb70$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> <06d401ce0876$05b193d0$1114bb70$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BD3C@EXCHANGE1.ad.nottingham.ac.uk> Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks... Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Mon Feb 11 16:44:54 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 11 Feb 2013 16:44:54 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <06d401ce0876$05b193d0$1114bb70$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> <06d401ce0876$05b193d0$1114bb70$@co.uk> Message-ID: Xerte anywhere Xerte site is going to confuse people with toolkits site Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 11 Feb 2013, at 16:37, "Ron Mitchell" wrote: > My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... > > Xerte Site > > Xerte Site Template > A template for creating flexible and adaptable web pages and sites for all mobile devices > > URL's: > /play_site_id > /preview_site_id > > makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. > > 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 February 2013 16:06 > To: For Xerte technical developers > Subject: [Xerte-dev] Name for 'bootstrap' template > > Ideas for what we should call the bootstrap template in toolkits? ?Bootstrap? isn?t the right name for users, methinks? Ron suggested ?Site?, even ?Web Site? or ?Xerte Website? > > Answers on a postcard please. > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.D.Furr at southampton.ac.uk Mon Feb 11 16:55:34 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Mon, 11 Feb 2013 16:55:34 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BD3C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C06BCF2@EXCHANGE1.ad.nottingham.ac.uk> <06d401ce0876$05b193d0$1114bb70$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C06BD3C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I would put 'default' in there somewhere, if that's what it is? 'Xerte Default Template' Or 'Xerte Default Theme' - users identify with 'Themes' (think wordpress) Alex 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 February 2013 16:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: Name for 'bootstrap' template Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks... Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 11 19:56:24 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 11 Feb 2013 19:56:24 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template Message-ID: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It?s also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that?s about it ? except all the text is CDATA so it can be whatever html you want. I don?t see this as doing interactive stuff ? that?s the main template?s job, but presentation stuff, that?s kinda what I?m driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? ?Bootstrap? isn?t the right name for users, methinks? Ron suggested ?Site?, even ?Web Site? or ?Xerte Website? Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Mon Feb 11 20:34:59 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 11 Feb 2013 20:34:59 -0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> Message-ID: <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> Hi John re the other templates media interactions and multiple perspectives were merged into the main Nottingham template. Not sure the others apart from RSS were ever part of a default install even though included in the download. For the Bootstrap template I't part of the basic.sql for a new install but not part of upgrade.php yet. You could use the following for now direct in the db but clearly that will need to change when a different name is chosen: INSERT INTO `originaltemplatesdetails` (`template_type_id`, `template_framework`, `template_name`, `description`, `date_uploaded`, `display_name`, `display_id`, `access_rights`, `active`) VALUES (16, 'xerte', 'bootstrap', 'Create responsive web native pieces.', '2013-02-02', 'Bootstrap', 0, '*', 1); 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 Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. From Julian.Tenney at nottingham.ac.uk Tue Feb 12 09:37:20 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 12 Feb 2013 09:37:20 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA536@EXCHANGE1.ad.nottingham.ac.uk> Pat will tell us how, you can also enable particular templates for particular users (I could do with knowing, as I want to install the new template on our serves, but not make it widely available until it's settled down). -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks... Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Tue Feb 12 09:49:42 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 09:49:42 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA536@EXCHANGE1.ad.nottingham.ac.uk> References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA536@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <8150FAB8-4D1A-4D15-9C8D-2380F8C50643@pgogywebstuff.com> Pat will tell us! *leaves cave, wanders down. Looks at golden cow disappointed* The easiest way to add a template is to make another .info file in the folder then go to management.php | central templates and run the update script This adds the template to the database but doesn't make it active - so use the form on central templates to set access and make it active Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 09:37, Julian Tenney wrote: > Pat will tell us how, you can also enable particular templates for particular users (I could do with knowing, as I want to install the new template on our serves, but not make it widely available until it's settled down). > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 11 February 2013 19:56 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Name for 'bootstrap' template > > How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. > > Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? > > Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Julian Tenney wrote: > > > Xerte Website > Xerte Web Site > Xerte Site > > Any other ideas? > > It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. > > 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 February 2013 16:37 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Name for 'bootstrap' template > > My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... > > Xerte Site > > Xerte Site Template > A template for creating flexible and adaptable web pages and sites for all mobile devices > > URL's: > /play_site_id > /preview_site_id > > makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. > > 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 February 2013 16:06 > To: For Xerte technical developers > Subject: [Xerte-dev] Name for 'bootstrap' template > > Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks... Ron suggested 'Site', even 'Web Site' or 'Xerte Website' > > Answers on a postcard please. > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From J.J.Smith at gcu.ac.uk Tue Feb 12 12:36:34 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 12:36:34 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> Message-ID: Cheers Ron. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 8:35 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John re the other templates media interactions and multiple perspectives were merged into the main Nottingham template. Not sure the others apart from RSS were ever part of a default install even though included in the download. For the Bootstrap template I't part of the basic.sql for a new install but not part of upgrade.php yet. You could use the following for now direct in the db but clearly that will need to change when a different name is chosen: INSERT INTO `originaltemplatesdetails` (`template_type_id`, `template_framework`, `template_name`, `description`, `date_uploaded`, `display_name`, `display_id`, `access_rights`, `active`) VALUES (16, 'xerte', 'bootstrap', 'Create responsive web native pieces.', '2013-02-02', 'Bootstrap', 0, '*', 1); 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 Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Tue Feb 12 12:43:22 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 12:43:22 -0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> Message-ID: <07c401ce091e$8d0c3760$a724a620$@co.uk> Hi John don't use that sql now. Julian has changed the name including directory name from Bootstrap to Site. Also see Pat's response about enabling templates via management.php I'm just testing the new site version as we speak - possibly found an issue but will report back after testing Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 12:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: Name for 'bootstrap' template Cheers Ron. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 8:35 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John re the other templates media interactions and multiple perspectives were merged into the main Nottingham template. Not sure the others apart from RSS were ever part of a default install even though included in the download. For the Bootstrap template I't part of the basic.sql for a new install but not part of upgrade.php yet. You could use the following for now direct in the db but clearly that will need to change when a different name is chosen: INSERT INTO `originaltemplatesdetails` (`template_type_id`, `template_framework`, `template_name`, `description`, `date_uploaded`, `display_name`, `display_id`, `access_rights`, `active`) VALUES (16, 'xerte', 'bootstrap', 'Create responsive web native pieces.', '2013-02-02', 'Bootstrap', 0, '*', 1); 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 Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Tue Feb 12 13:27:06 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 13:27:06 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: <07c401ce091e$8d0c3760$a724a620$@co.uk> References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> <07c401ce091e$8d0c3760$a724a620$@co.uk> Message-ID: Okie dokie. Will hold off... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 12:43 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John don't use that sql now. Julian has changed the name including directory name from Bootstrap to Site. Also see Pat's response about enabling templates via management.php I'm just testing the new site version as we speak - possibly found an issue but will report back after testing Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 12:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: Name for 'bootstrap' template Cheers Ron. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 8:35 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John re the other templates media interactions and multiple perspectives were merged into the main Nottingham template. Not sure the others apart from RSS were ever part of a default install even though included in the download. For the Bootstrap template I't part of the basic.sql for a new install but not part of upgrade.php yet. You could use the following for now direct in the db but clearly that will need to change when a different name is chosen: INSERT INTO `originaltemplatesdetails` (`template_type_id`, `template_framework`, `template_name`, `description`, `date_uploaded`, `display_name`, `display_id`, `access_rights`, `active`) VALUES (16, 'xerte', 'bootstrap', 'Create responsive web native pieces.', '2013-02-02', 'Bootstrap', 0, '*', 1); 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 Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Tue Feb 12 13:28:05 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 12 Feb 2013 13:28:05 +0000 Subject: [Xerte-dev] Re: Name for 'bootstrap' template In-Reply-To: References: <0nxg1ojd77d8tonu2cg7oao2.1360612581671@email.android.com> <071a01ce0897$43ac6ae0$cb0540a0$@co.uk> <07c401ce091e$8d0c3760$a724a620$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA765@EXCHANGE1.ad.nottingham.ac.uk> It all currently works if you run setup on xampp: that's what I've been doing, jut deleting the files, dropping the data, and setting it up again. It works like that as it is (remember to enable the templae in basic.sql before running setup) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 13:27 To: For Xerte technical developers Subject: [Xerte-dev] Re: Name for 'bootstrap' template Okie dokie. Will hold off... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 12:43 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John don't use that sql now. Julian has changed the name including directory name from Bootstrap to Site. Also see Pat's response about enabling templates via management.php I'm just testing the new site version as we speak - possibly found an issue but will report back after testing Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 12:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: Name for 'bootstrap' template Cheers Ron. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Monday, February 11, 2013 8:35 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template Hi John re the other templates media interactions and multiple perspectives were merged into the main Nottingham template. Not sure the others apart from RSS were ever part of a default install even though included in the download. For the Bootstrap template I't part of the basic.sql for a new install but not part of upgrade.php yet. You could use the following for now direct in the db but clearly that will need to change when a different name is chosen: INSERT INTO `originaltemplatesdetails` (`template_type_id`, `template_framework`, `template_name`, `description`, `date_uploaded`, `display_name`, `display_id`, `access_rights`, `active`) VALUES (16, 'xerte', 'bootstrap', 'Create responsive web native pieces.', '2013-02-02', 'Bootstrap', 0, '*', 1); 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 Smith, John Sent: 11 February 2013 19:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Name for 'bootstrap' template How about calling it something that describes the layout like Xerte Vertical Flow... I know that's a rubbish name but something descriptive. Anyway, it begs the question that I've wanted to ask for a long time. We're using the 'Nottingham' template mostly but i see lots of other templates in the folder, including this bootstrap one but how do i enable them to make them show up in the editor? Also, you describe the content types that will be available. I can see a need for the multiple choice (think end of section quiz) and the one which reveals stuff on button click. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Xerte Website Xerte Web Site Xerte Site Any other ideas? It's also worth some discussion about how far we want to take this: at the moment it does plain text, video, audio, graphics, all with text and that's about it - except all the text is CDATA so it can be whatever html you want. I don't see this as doing interactive stuff - that's the main template's job, but presentation stuff, that's kinda what I'm driving at. 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 February 2013 16:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Name for 'bootstrap' template My suggestion was also about the resulting link and thinking about Google doc, sites, etc then... Xerte Site Xerte Site Template A template for creating flexible and adaptable web pages and sites for all mobile devices URL's: /play_site_id /preview_site_id makes sense to me especially as a Xerte Site can also contain multiple Xerte LO's. 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 February 2013 16:06 To: For Xerte technical developers Subject: [Xerte-dev] Name for 'bootstrap' template Ideas for what we should call the bootstrap template in toolkits? 'Bootstrap' isn't the right name for users, methinks. Ron suggested 'Site', even 'Web Site' or 'Xerte Website' Answers on a postcard please. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Tue Feb 12 16:23:08 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 16:23:08 -0000 Subject: [Xerte-dev] FW: selected template access Message-ID: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap. rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 16:36:14 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 16:36:14 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <085401ce093d$3f6b3a50$be41aef0$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Message-ID: Looks great Ron, just what I'm looking for... Just one thing - there seems to be an error in the iframe code in the textarea. It's showing before the iframe closing tag... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image001.jpg at 01CE093F.12C40930][cid:image002.jpg at 01CE093F.12C40930] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: image002.jpg URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 16:37:46 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 16:37:46 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <085401ce093d$3f6b3a50$be41aef0$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Message-ID: Oh and is it possible to show "...was created on 2013-02-11 by XXXXX" and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image001.jpg at 01CE093F.49D6B300][cid:image002.jpg at 01CE093F.49D6B300] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: image002.jpg URL: From ronm at mitchellmedia.co.uk Tue Feb 12 16:52:45 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 16:52:45 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Message-ID: <087b01ce0941$62cd50b0$2867f210$@co.uk> Hi John that bit was just moved inside the case from where it was previously so I guess that extra has been there for a while. I've attached the relevant files to this message but I'm just not sure if this is the best way of achieving this so sharing for further comment. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks great Ron, just what I'm looking for. Just one thing - there seems to be an error in the iframe code in the textarea. It's showing before the iframe closing tag. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap. rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: properties_library.php Type: application/octet-stream Size: 23868 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: url_library.php Type: application/octet-stream Size: 5680 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Feb 12 16:56:53 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 12 Feb 2013 16:56:53 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <085401ce093d$3f6b3a50$be41aef0$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> Do we support IE8? I can't get this to work: in FF, the header image works [cid:image003.jpg at 01CE0941.F57828E0] But in IE8 it doesn't [cid:image004.jpg at 01CE0941.F57828E0] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image005.jpg at 01CE0941.F57828E0][cid:image006.jpg at 01CE0941.F57828E0] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 17840 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 16674 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 19112 bytes Desc: image005.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 27493 bytes Desc: image006.jpg URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 16:57:19 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 16:57:19 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <087b01ce0941$62cd50b0$2867f210$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <087b01ce0941$62cd50b0$2867f210$@co.uk> Message-ID: Looks absolutely fine to me... seems wise to use a switch() instead of if-else to cope with more templates... Only question that I have is would it be better to group all the files (including this information) that is relevant to a "template" inside a relevant folder and then it would only be a matter of dropping in a perfectly formed package to add a template to a system, including the sql files etc... similar to how something like wordpress or drupal would do it? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:53 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access Hi John that bit was just moved inside the case from where it was previously so I guess that extra has been there for a while. I've attached the relevant files to this message but I'm just not sure if this is the best way of achieving this so sharing for further comment. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks great Ron, just what I'm looking for... Just one thing - there seems to be an error in the iframe code in the textarea. It's showing before the iframe closing tag... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image001.jpg at 01CE0942.04944340][cid:image002.jpg at 01CE0942.04944340] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: image002.jpg URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 17:02:00 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 17:02:00 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE0942.AC590610] But in IE8 it doesn't [cid:image002.jpg at 01CE0942.AC590610] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE0942.AC590610][cid:image004.jpg at 01CE0942.AC590610] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From ronm at mitchellmedia.co.uk Tue Feb 12 17:05:38 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 17:05:38 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> Message-ID: <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ".was created on 2013-02-11 by XXXXX" and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap. rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: not available URL: From A.D.Furr at southampton.ac.uk Tue Feb 12 17:07:55 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Tue, 12 Feb 2013 17:07:55 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <087b01ce0941$62cd50b0$2867f210$@co.uk> Message-ID: Agreed - thats exactly how it should work :) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks absolutely fine to me... seems wise to use a switch() instead of if-else to cope with more templates... Only question that I have is would it be better to group all the files (including this information) that is relevant to a "template" inside a relevant folder and then it would only be a matter of dropping in a perfectly formed package to add a template to a system, including the sql files etc... similar to how something like wordpress or drupal would do it? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:53 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access Hi John that bit was just moved inside the case from where it was previously so I guess that extra has been there for a while. I've attached the relevant files to this message but I'm just not sure if this is the best way of achieving this so sharing for further comment. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks great Ron, just what I'm looking for... Just one thing - there seems to be an error in the iframe code in the textarea. It's showing before the iframe closing tag... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image001.jpg at 01CE0943.7DCF75D0][cid:image002.jpg at 01CE0943.7DCF75D0] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: image002.jpg URL: From ronm at mitchellmedia.co.uk Tue Feb 12 17:10:55 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 17:10:55 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <087b01ce0941$62cd50b0$2867f210$@co.uk> Message-ID: <08b601ce0943$ec3d4420$c4b7cc60$@co.uk> Re grouping all files like wordpress... I think that's more or less what Pat has developed for new stuff but not so easy for all the existing stuff. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks absolutely fine to me. seems wise to use a switch() instead of if-else to cope with more templates. Only question that I have is would it be better to group all the files (including this information) that is relevant to a "template" inside a relevant folder and then it would only be a matter of dropping in a perfectly formed package to add a template to a system, including the sql files etc. similar to how something like wordpress or drupal would do it? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:53 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access Hi John that bit was just moved inside the case from where it was previously so I guess that extra has been there for a while. I've attached the relevant files to this message but I'm just not sure if this is the best way of achieving this so sharing for further comment. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Looks great Ron, just what I'm looking for. Just one thing - there seems to be an error in the iframe code in the textarea. It's showing before the iframe closing tag. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap. rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 17:10:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 17:10:54 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it... A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway... you could even add templates etc from management.php automatically from a list of available ones like a store... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show "...was created on 2013-02-11 by XXXXX" and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image001.jpg at 01CE0943.EA40FEF0][cid:image002.jpg at 01CE0943.EA40FEF0] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19112 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 27493 bytes Desc: image002.jpg URL: From xerte at pgogywebstuff.com Tue Feb 12 17:11:01 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:11:01 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> Hello, Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates. Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options. Should I do that? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:05, "Ron Mitchell" wrote: > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue Feb 12 17:13:12 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:13:12 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: There is no store, but have a look in the modules folder for dot info files - I think what your describing exists Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:10, "Smith, John" wrote: > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 17:16:53 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 17:16:53 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Tuesday, February 12, 2013 5:13 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access There is no store, but have a look in the modules folder for dot info files - I think what your describing exists Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:10, "Smith, John" > wrote: No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it? A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Feb 12 17:28:06 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 17:28:06 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: <08da01ce0946$530d14d0$f9273e70$@co.uk> John as Pat says this is partly there. I've been testing Julian's site template (formerly Bootstrap) when adding to an existing install. Short process is update from svn Export and copy over the top of existing install after first removing any customised/changed files Visit managment.php and click Central Templates > update template list I never knew that was a link that did something until Pat's post this morning! Although partly because for me at least it shows as a text cursor rather than mouse cursor! But never the less clicking it installs the template adding the details to originaltemplatedetails. Then add either * or usrename,username to enable access to all or specific users. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it. A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway. you could even add templates etc from management.php automatically from a list of available ones like a store. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ".was created on 2013-02-11 by XXXXX" and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap. rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 23332 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 19112 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 27493 bytes Desc: not available URL: From xerte at pgogywebstuff.com Tue Feb 12 17:30:08 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:30:08 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> Message-ID: <60F71C31-9D14-4D4B-9D07-770FFDAEC1DD@pgogywebstuff.com> I am confused as to how I am having the same conversation on two threads? Are we not talking about this yesterday? Or am I lost Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:16, "Smith, John" wrote: > I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? > > Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Tuesday, February 12, 2013 5:13 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > There is no store, but have a look in the modules folder for dot info files - I think what your describing exists > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:10, "Smith, John" wrote: > > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue Feb 12 17:31:46 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:31:46 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <08da01ce0946$530d14d0$f9273e70$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <08da01ce0946$530d14d0$f9273e70$@co.uk> Message-ID: Pah - I can't be arsed to add the CSS to make the cursor change :) Not like we have standards. Tonight I will add a GitHub for default template examples. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:28, "Ron Mitchell" wrote: > > > John as Pat says this is partly there. I've been testing Julian's site template (formerly Bootstrap) when adding to an existing install. > > Short process is update from svn > Export and copy over the top of existing install after first removing any customised/changed files > Visit managment.php and click Central Templates > update template list > > > > I never knew that was a link that did something until Pat's post this morning! Although partly because for me at least it shows as a text cursor rather than mouse cursor! But never the less clicking it installs the template adding the details to originaltemplatedetails. Then add either * or usrename,username to enable access to all or specific users. > > HTH > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 17:11 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Feb 12 17:37:12 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 17:37:12 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <08da01ce0946$530d14d0$f9273e70$@co.uk> Message-ID: <08f201ce0947$9862c1a0$c92844e0$@co.uk> :-) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 12 February 2013 17:32 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Pah - I can't be arsed to add the CSS to make the cursor change :) Not like we have standards. Tonight I will add a GitHub for default template examples. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:28, "Ron Mitchell" wrote: John as Pat says this is partly there. I've been testing Julian's site template (formerly Bootstrap) when adding to an existing install. Short process is update from svn Export and copy over the top of existing install after first removing any customised/changed files Visit managment.php and click Central Templates > update template list I never knew that was a link that did something until Pat's post this morning! Although partly because for me at least it shows as a text cursor rather than mouse cursor! But never the less clicking it installs the template adding the details to originaltemplatedetails. Then add either * or usrename,username to enable access to all or specific users. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it? A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Feb 12 17:40:54 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 12 Feb 2013 17:40:54 -0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> Message-ID: <08f701ce0948$1c72bd60$55583820$@co.uk> Hi Pat I agree it didn't seem the best way to do this but I wouldn't know how to achieve what you are describing. Sounds good though especially if it still allows existing stuff to work? I know you expressed concerns when we added the play_html5 links to the properties panel but I think as others said that was a necessity because of the hunger by people to test the HTML 5 stuff after the AGM. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 12 February 2013 17:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Hello, Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates. Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options. Should I do that? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:05, "Ron Mitchell" wrote: I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue Feb 12 17:45:18 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:45:18 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <08f701ce0948$1c72bd60$55583820$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> <08f701ce0948$1c72bd60$55583820$@co.uk> Message-ID: <6EA32747-EBEF-496E-B456-FB70498A713C@pgogywebstuff.com> Yeah, but tis an easy enough fix. Everyone update the svn so I can wreck it with impunity Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:40, "Ron Mitchell" wrote: > Hi Pat > I agree it didn't seem the best way to do this but I wouldn't know how to achieve what you are describing. Sounds good though especially if it still allows existing stuff to work? > > I know you expressed concerns when we added the play_html5 links to the properties panel but I think as others said that was a necessity because of the hunger by people to test the HTML 5 stuff after the AGM. > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 12 February 2013 17:11 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Hello, > > Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates. > > Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options. > > Should I do that? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:05, "Ron Mitchell" wrote: > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue Feb 12 17:46:04 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 17:46:04 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <08f701ce0948$1c72bd60$55583820$@co.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> <08f701ce0948$1c72bd60$55583820$@co.uk> Message-ID: <8C6533AC-698B-4C14-9362-2DB164CC5556@pgogywebstuff.com> I can think of a fix for it, so don't worry it's some php jiggery Pokery Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:40, "Ron Mitchell" wrote: > Hi Pat > I agree it didn't seem the best way to do this but I wouldn't know how to achieve what you are describing. Sounds good though especially if it still allows existing stuff to work? > > I know you expressed concerns when we added the play_html5 links to the properties panel but I think as others said that was a necessity because of the hunger by people to test the HTML 5 stuff after the AGM. > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 12 February 2013 17:11 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Hello, > > Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates. > > Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options. > > Should I do that? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:05, "Ron Mitchell" wrote: > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 17:46:08 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 17:46:08 +0000 Subject: [Xerte-dev] Re: FW: selected template access Message-ID: Me too... All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... Just my thoughts coming in recently... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: I am confused as to how I am having the same conversation on two threads? Are we not talking about this yesterday? Or am I lost Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:16, "Smith, John" > wrote: I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Tuesday, February 12, 2013 5:13 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access There is no store, but have a look in the modules folder for dot info files - I think what your describing exists Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:10, "Smith, John" > wrote: No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it? A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Tue Feb 12 18:06:00 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 18:06:00 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: Message-ID: <1EFE6B8D-D3E5-4A03-98FE-3A1D721877B5@pgogywebstuff.com> Yeah it's ok - not sounding grumpy I guess our email subjects don't really apply that well. At present you can drop a folder into modules, log into management and click update. That'll install it. So it is wordpress and Drupal like - no svn required. Will make some videos later on I think. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:46, "Smith, John" wrote: > Me too... > > All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... > > Just my thoughts coming in recently... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > I am confused as to how I am having the same conversation on two threads? > > Are we not talking about this yesterday? Or am I lost > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:16, "Smith, John" > wrote: > > I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? > > Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Tuesday, February 12, 2013 5:13 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > There is no store, but have a look in the modules folder for dot info files - I think what your describing exists > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:10, "Smith, John" > wrote: > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Tue Feb 12 18:11:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 18:11:56 +0000 Subject: [Xerte-dev] Re: FW: selected template access Message-ID: Ah ok... Then my question should be... Would the admin/properties stuff fit in there also and be pulled in based on whatever template is being applied... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Yeah it's ok - not sounding grumpy I guess our email subjects don't really apply that well. At present you can drop a folder into modules, log into management and click update. That'll install it. So it is wordpress and Drupal like - no svn required. Will make some videos later on I think. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:46, "Smith, John" wrote: > Me too... > > All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... > > Just my thoughts coming in recently... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > I am confused as to how I am having the same conversation on two threads? > > Are we not talking about this yesterday? Or am I lost > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:16, "Smith, John" > wrote: > > I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? > > Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Tuesday, February 12, 2013 5:13 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > There is no store, but have a look in the modules folder for dot info files - I think what your describing exists > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:10, "Smith, John" > wrote: > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) > Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * > Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Tue Feb 12 18:18:08 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 18:18:08 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: Message-ID: <141B7CB1-121C-44A0-B659-3677B45C66AC@pgogywebstuff.com> That's already done too, just about :) Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 18:11, "Smith, John" wrote: > Ah ok... Then my question should be... Would the admin/properties stuff fit in there also and be pulled in based on whatever template is being applied... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Yeah it's ok - not sounding grumpy I guess our email subjects don't really apply that well. > > At present you can drop a folder into modules, log into management and click update. That'll install it. So it is wordpress and Drupal like - no svn required. > > Will make some videos later on I think. > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:46, "Smith, John" wrote: > >> Me too... >> >> All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... >> >> Just my thoughts coming in recently... >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> "Pat @ Pgogy" wrote: >> >> >> I am confused as to how I am having the same conversation on two threads? >> >> Are we not talking about this yesterday? Or am I lost >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 12 Feb 2013, at 17:16, "Smith, John" > wrote: >> >> I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? >> >> Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> Sent: Tuesday, February 12, 2013 5:13 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: selected template access >> >> There is no store, but have a look in the modules folder for dot info files - I think what your describing exists >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 12 Feb 2013, at 17:10, "Smith, John" > wrote: >> No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. >> >> Then they simply go to management.php and enable it? >> >> A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >> Sent: Tuesday, February 12, 2013 5:06 PM >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: FW: selected template access >> >> I'm not sure John. >> I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> Sent: 12 February 2013 16:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: selected template access >> >> Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >> Sent: Tuesday, February 12, 2013 4:23 PM >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] FW: selected template access >> >> >> Hi all >> I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php >> >> However I don't want to risk the wrath of the cave! ;-) >> Is there a better/elegant/more future proof way to do this? >> >> In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: >> >> $query_name_response = mysql_query($query_for_template_name); >> >> $row_name = mysql_fetch_array($query_name_response); >> >> switch($row_name['template_name']){ >> >> case "site": >> echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; >> break; >> >> default: >> >> echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; >> >> echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; >> >> echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; >> >> echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; >> >> $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); >> >> $temp_array = explode("~",$temp_string); >> >> echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; >> >> break; >> }}} >> >> and here's what a site template and other/Notts template shows: >> >> >> >> I think I can hear rumblings from the cave already :-( >> >> Ron >> >> From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] >> Sent: 12 February 2013 14:16 >> To: Ron Mitchell >> Subject: RE: selected template access >> >>> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? >> >> BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:19 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> That worked... >> >> changed name to site >> parent_templates/site/site.rlt >> >> created a new project >> >> preview_site and play_site both work. >> >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:13 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> Tried that but no joy. >> Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. >> >> Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:04 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 12:58 >> To: 'Julian Tenney' >> Subject: RE: selected template access >> >> Turned on debugging... something in the code still looking for the bootstrap folder? >> >> Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) >> >> Don't think it's cache. >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 12:50 >> To: 'Julian Tenney' >> Subject: RE: selected template access >> >> I wouldn't do it in basic.sql although if you don't want it available to all remove the * >> Just set who it's available to via management.php >> >> There's a slight issue possibly caused by the renaming... >> >> Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) >> >> From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] >> Sent: 12 February 2013 11:11 >> To: Ron Mitchell >> Subject: RE: selected template access >> >> In basic.sql, instead of ?*? for the access field? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 11:11 >> To: 'Julian Tenney' >> Subject: selected template access >> >> it's username comma username >> e.g. ronm,rmitchell >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 10:52 >> To: 'Julian Tenney' >> Subject: RE: Bootstrap >> >> BTW Pat didn't answer your question about enabling for specific users - looks like it's username. >> Not sure what the delimiter is but I guess either , ; or space - testing that now... >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From A.D.Furr at southampton.ac.uk Tue Feb 12 18:20:21 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Tue, 12 Feb 2013 18:20:21 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: Message-ID: Also, would be nice (like WP) to be able to zip up a template file folder, then upload via the admin interface i.e. no direct access to files on the server required. Apologies if this can already be done and I've missed it... I'd be happy to work on this, but would need some guidance as to your working practices/version control etc. Alex Dr Alex Furr The Centre for Innovation in Technologies and Education (CITE) www.cite.soton.ac.uk The University of Southampton e: alexfurr at soton.ac.uk m: 07779 606934 -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 18:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: selected template access Ah ok... Then my question should be... Would the admin/properties stuff fit in there also and be pulled in based on whatever template is being applied... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Yeah it's ok - not sounding grumpy I guess our email subjects don't really apply that well. At present you can drop a folder into modules, log into management and click update. That'll install it. So it is wordpress and Drupal like - no svn required. Will make some videos later on I think. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:46, "Smith, John" wrote: > Me too... > > All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... > > Just my thoughts coming in recently... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > I am confused as to how I am having the same conversation on two threads? > > Are we not talking about this yesterday? Or am I lost > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 12 Feb 2013, at 17:16, "Smith, John" > wrote: > > I know there?s no store and perhaps I don?t mean store, more just a > repository of shared templates ? as others make different ones etc? > > Just a suggestion that might make these things easier to manage going > forward ? but it?s you cave ;-) > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Pat @ Pgogy > Sent: Tuesday, February 12, 2013 5:13 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > There is no store, but have a look in the modules folder for dot info > files - I think what your describing exists > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 12 Feb 2013, at 17:10, "Smith, John" > wrote: > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very > modular like we seem to be heading towards anyway? you could even add > templates etc from management.php automatically from a list of > available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of > changing the links displayed in properties when viewing properties > with a site LO selected. I have this working locally after adding the > additional links to url_library.php and then using a case statement to > check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) Is there a > better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > > break; > > default: > > echo "

            " . > PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . > url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . > PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . > url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = > get_template_screen_size($row_name['template_name'], > $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . > "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: > file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/boot > strap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available > to all remove the * Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project > based on the template but clicking insert doesn't do anything? It > worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Tue Feb 12 18:31:45 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Tue, 12 Feb 2013 18:31:45 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: Message-ID: There is a template upload feature for xerte templates. Versioning is butt ugly - don't look at it directly it'll burn your eyes Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 18:20, "Furr A.D." wrote: > Also, would be nice (like WP) to be able to zip up a template file folder, then upload via the admin interface i.e. no direct access to files on the server required. > > Apologies if this can already be done and I've missed it... > I'd be happy to work on this, but would need some guidance as to your working practices/version control etc. > Alex > > > Dr Alex Furr > The Centre for Innovation in Technologies and Education (CITE) > www.cite.soton.ac.uk > The University of Southampton > e: alexfurr at soton.ac.uk > m: 07779 606934 > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 18:12 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: selected template access > > Ah ok... Then my question should be... Would the admin/properties stuff fit in there also and be pulled in based on whatever template is being applied... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Yeah it's ok - not sounding grumpy I guess our email subjects don't really apply that well. > > At present you can drop a folder into modules, log into management and click update. That'll install it. So it is wordpress and Drupal like - no svn required. > > Will make some videos later on I think. > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:46, "Smith, John" wrote: > >> Me too... >> >> All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... >> >> Just my thoughts coming in recently... >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> "Pat @ Pgogy" wrote: >> >> >> I am confused as to how I am having the same conversation on two threads? >> >> Are we not talking about this yesterday? Or am I lost >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 12 Feb 2013, at 17:16, "Smith, John" > wrote: >> >> I know there?s no store and perhaps I don?t mean store, more just a >> repository of shared templates ? as others make different ones etc? >> >> Just a suggestion that might make these things easier to manage going >> forward ? but it?s you cave ;-) >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> On Behalf Of Pat @ Pgogy >> Sent: Tuesday, February 12, 2013 5:13 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: selected template access >> >> There is no store, but have a look in the modules folder for dot info >> files - I think what your describing exists >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 12 Feb 2013, at 17:10, "Smith, John" > wrote: >> No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. >> >> Then they simply go to management.php and enable it? >> >> A bit of work but it could then make that part of the system very >> modular like we seem to be heading towards anyway? you could even add >> templates etc from management.php automatically from a list of >> available ones like a store? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> On Behalf Of Ron Mitchell >> Sent: Tuesday, February 12, 2013 5:06 PM >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: FW: selected template access >> >> I'm not sure John. >> I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> On Behalf Of Smith, John >> Sent: 12 February 2013 16:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: selected template access >> >> Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> On Behalf Of Ron Mitchell >> Sent: Tuesday, February 12, 2013 4:23 PM >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] FW: selected template access >> >> >> Hi all >> I've been testing Julian's new site stuff and wanted to test a way of >> changing the links displayed in properties when viewing properties >> with a site LO selected. I have this working locally after adding the >> additional links to url_library.php and then using a case statement to >> check for project name in properties_library.php >> >> However I don't want to risk the wrath of the cave! ;-) Is there a >> better/elegant/more future proof way to do this? >> >> In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: >> >> $query_name_response = mysql_query($query_for_template_name); >> >> $row_name = mysql_fetch_array($query_name_response); >> >> switch($row_name['template_name']){ >> >> case "site": >> echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; >> >> break; >> >> default: >> >> echo "

            " . >> PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; >> >> echo "

            " . $xerte_toolkits_site->site_url . >> url_return("play", $_POST['template_id']) . "

            "; >> >> echo "

            " . >> PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; >> >> echo "

            " . $xerte_toolkits_site->site_url . >> url_return("play_html5", $_POST['template_id']) . "

            "; >> >> $temp_string = >> get_template_screen_size($row_name['template_name'], >> $row_name['template_framework']); >> >> $temp_array = explode("~",$temp_string); >> >> echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . >> "

            "; >> >> break; >> }}} >> >> and here's what a site template and other/Notts template shows: >> >> >> >> I think I can hear rumblings from the cave already :-( >> >> Ron >> >> From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] >> Sent: 12 February 2013 14:16 >> To: Ron Mitchell >> Subject: RE: selected template access >> >>> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? >> >> BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:19 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> That worked... >> >> changed name to site >> parent_templates/site/site.rlt >> >> created a new project >> >> preview_site and play_site both work. >> >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:13 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> Tried that but no joy. >> Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. >> >> Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 13:04 >> To: 'Ron Mitchell'; 'Julian Tenney' >> Subject: RE: selected template access >> >> Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 12:58 >> To: 'Julian Tenney' >> Subject: RE: selected template access >> >> Turned on debugging... something in the code still looking for the bootstrap folder? >> >> Warning: >> file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/boot >> strap.rlt) >> >> Don't think it's cache. >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 12:50 >> To: 'Julian Tenney' >> Subject: RE: selected template access >> >> I wouldn't do it in basic.sql although if you don't want it available >> to all remove the * Just set who it's available to via management.php >> >> There's a slight issue possibly caused by the renaming... >> >> Have tested on two different installs - I can create a new project >> based on the template but clicking insert doesn't do anything? It >> worked when it was called Bootstrap! ;-) >> >> From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] >> Sent: 12 February 2013 11:11 >> To: Ron Mitchell >> Subject: RE: selected template access >> >> In basic.sql, instead of ?*? for the access field? >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 11:11 >> To: 'Julian Tenney' >> Subject: selected template access >> >> it's username comma username >> e.g. ronm,rmitchell >> >> From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] >> Sent: 12 February 2013 10:52 >> To: 'Julian Tenney' >> Subject: RE: Bootstrap >> >> BTW Pat didn't answer your question about enabling for specific users - looks like it's username. >> Not sure what the delimiter is but I guess either , ; or space - testing that now... >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk> uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 From xerte at pgogywebstuff.com Tue Feb 12 20:51:32 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Tue, 12 Feb 2013 20:51:32 +0000 Subject: [Xerte-dev] Default template Message-ID: Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://wwwpgogywebstuff.comMakers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue Feb 12 20:58:00 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Tue, 12 Feb 2013 20:58:00 +0000 Subject: [Xerte-dev] Additional links for a template Message-ID: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Tue Feb 12 21:05:40 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: References: Message-ID: Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Tue Feb 12 23:52:57 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Tue, 12 Feb 2013 23:52:57 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: Message-ID: I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docs.google.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Tue, 12 Feb 2013 21:05:40 +0000 Subject:[Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 13 00:11:57 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 00:11:57 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: References: , Message-ID: Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 23:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Wed Feb 13 09:26:26 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 09:26:26 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> Why are you eval()ing $(data).find('learningObject').attr('header') ?? Because it contains the string 'FileLocation + "media/filename.jpg"' and I don't know what FileLocation is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE09CC.322E8150] But in IE8 it doesn't [cid:image002.jpg at 01CE09CC.322E8150] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE09CC.322E8150][cid:image004.jpg at 01CE09CC.322E8150] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 09:27:57 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 09:27:57 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <089e01ce0943$2fbf5450$8f3dfcf0$@co.uk> <72E081AF-B2A2-4219-B0DD-79FFB3C80B7F@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9FA@EXCHANGE1.ad.nottingham.ac.uk> You mean send the xml to many places? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 12 February 2013 17:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Hello, Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates. Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options. Should I do that? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:05, "Ron Mitchell" > wrote: I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 09:32:11 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 09:32:11 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA02@EXCHANGE1.ad.nottingham.ac.uk> It is too techy right now. It's not too hard, but it's taken me a bit of figuring out, and there are some things that need generalising rather than having code going if (thisTemplate) else if (theOtherTemplate) etc. There shouldn't really be separate play_ and preview_ files for each template, but it's not too bad, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: selected template access Me too... All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... Just my thoughts coming in recently... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: I am confused as to how I am having the same conversation on two threads? Are we not talking about this yesterday? Or am I lost Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:16, "Smith, John" > wrote: I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Tuesday, February 12, 2013 5:13 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access There is no store, but have a look in the modules folder for dot info files - I think what your describing exists Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 12 Feb 2013, at 17:10, "Smith, John" > wrote: No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. Then they simply go to management.php and enable it? A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 5:06 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: selected template access I'm not sure John. I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Tuesday, February 12, 2013 4:23 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of ?*? for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Wed Feb 13 09:36:21 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 09:36:21 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: References: , Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> Is the message timings thing still a real problem? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 00:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 23:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Wed Feb 13 09:39:47 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 09:39:47 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <3A6FB265-D3CC-46ED-97FD-7E68B4B0C182@pgogywebstuff.com> Not timings - but we are talking modules in one thread (just us) and then the other thread was module chat as well Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 09:36, Julian Tenney wrote: > Is the message timings thing still a real problem? > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 13 February 2013 00:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Default template > > Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... > > Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] > Sent: 12 February 2013 23:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Default template > > I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. > > I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. > > https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though > > https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well > > > Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > To: > "For Xerte technical developers" > Cc: > > Sent: > Tue, 12 Feb 2013 21:05:40 +0000 > Subject: > [Xerte-dev] Re: Default template > > > Meant to say earlier... > > All the work you guys have done with XOT is fantastic!! Will give it a try... > > Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] > Sent: 12 February 2013 20:51 > To: For technical developers > Subject: [Xerte-dev] Default template > > Hello, > > https://github.com/patlockley/XOT-templatecanvas > > This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL > > So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions > > Feel free to try > > Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Wed Feb 13 09:41:19 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 09:41:19 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA02@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA02@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <23027F2F-381B-48D4-B6BD-59C0EA759285@pgogywebstuff.com> Logically there is one play file, which then looks for the required play context and acts accordingly This is what we discussed before Xmas - but it means a few changes elsewhere Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 09:32, Julian Tenney wrote: > It is too techy right now. It's not too hard, but it's taken me a bit of figuring out, and there are some things that need generalising rather than having code going if (thisTemplate) else if (theOtherTemplate) etc. There shouldn't really be separate play_ and preview_ files for each template, but it's not too bad, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 17:46 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: selected template access > > Me too... > > All i was meaning was would it not be great to have the wizard stuff, presentation stuff (bootstrap), .info, admin stuff (Rons code from today and more to come i expect, plus any sql or other required files all in the same folder and automatically "found" and "installable" like a drupal or wordpress module. Process still seems too techy for average user especially when svn etc is required and overwriting each time you update seems likely to increase chance of data loss... > > Just my thoughts coming in recently... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > I am confused as to how I am having the same conversation on two threads? > > Are we not talking about this yesterday? Or am I lost > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:16, "Smith, John" > wrote: > > I know there?s no store and perhaps I don?t mean store, more just a repository of shared templates ? as others make different ones etc? > > Just a suggestion that might make these things easier to manage going forward ? but it?s you cave ;-) > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Tuesday, February 12, 2013 5:13 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > There is no store, but have a look in the modules folder for dot info files - I think what your describing exists > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 12 Feb 2013, at 17:10, "Smith, John" > wrote: > No I just mean that if someone wanted to make this available in their system they download a package and unpack it to a particular location. The package holds everything that the content type needs including all the addmin pages, the sql statements, etc and the .info that management.php needs. > > Then they simply go to management.php and enable it? > > A bit of work but it could then make that part of the system very modular like we seem to be heading towards anyway? you could even add templates etc from management.php automatically from a list of available ones like a store? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 5:06 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: FW: selected template access > > I'm not sure John. > I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 12 February 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: selected template access > > Oh and is it possible to show ??was created on 2013-02-11 by XXXXX? and similar for the modified line? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Tuesday, February 12, 2013 4:23 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] FW: selected template access > > > Hi all > I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php > > However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? > > In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: > > $query_name_response = mysql_query($query_for_template_name); > > $row_name = mysql_fetch_array($query_name_response); > > switch($row_name['template_name']){ > > case "site": > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; > break; > > default: > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; > > echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; > > $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); > > $temp_array = explode("~",$temp_string); > > echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; > > break; > }}} > > and here's what a site template and other/Notts template shows: > > > > I think I can hear rumblings from the cave already :-( > > Ron > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 14:16 > To: Ron Mitchell > Subject: RE: selected template access > >> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:19 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > That worked... > > changed name to site > parent_templates/site/site.rlt > > created a new project > > preview_site and play_site both work. > > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:13 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Tried that but no joy. > Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. > > Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 13:04 > To: 'Ron Mitchell'; 'Julian Tenney' > Subject: RE: selected template access > > Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:58 > To: 'Julian Tenney' > Subject: RE: selected template access > > Turned on debugging... something in the code still looking for the bootstrap folder? > > Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) > > Don't think it's cache. > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 12:50 > To: 'Julian Tenney' > Subject: RE: selected template access > > I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php > > There's a slight issue possibly caused by the renaming... > > Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) > > From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] > Sent: 12 February 2013 11:11 > To: Ron Mitchell > Subject: RE: selected template access > > In basic.sql, instead of ?*? for the access field? > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 11:11 > To: 'Julian Tenney' > Subject: selected template access > > it's username comma username > e.g. ronm,rmitchell > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 12 February 2013 10:52 > To: 'Julian Tenney' > Subject: RE: Bootstrap > > BTW Pat didn't answer your question about enabling for specific users - looks like it's username. > Not sure what the delimiter is but I guess either , ; or space - testing that now... > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 From J.J.Smith at gcu.ac.uk Wed Feb 13 09:43:18 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 09:43:18 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> References: , <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Timings still a bit weird for me... not such big delays as before (not sure if you've done anything) but still arriving out of order mostly... I know email isn't a guaranteed delivery platform and that emails can take 72hours but realistically they are more or less instantaneous these days... it could be our over-zealous spam filter though, unless it's still doing similar things for others... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 9:36 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Is the message timings thing still a real problem? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 00:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 23:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Wed Feb 13 09:45:17 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 09:45:17 +0000 Subject: [Xerte-dev] CETIS13 Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed Feb 13 09:47:45 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 13 Feb 2013 09:47:45 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Is it adding the background-image css to the div correctly but it's not appearing or is the code to add the css style failing? Press F12 in IE to launch the Developer Tool window and see what the current css for that div is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? Because it contains the string 'FileLocation + "media/filename.jpg"' and I don't know what FileLocation is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE09CE.EF2D4F00] But in IE8 it doesn't [cid:image002.jpg at 01CE09CE.EF2D4F00] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE09CE.EF2D4F00][cid:image004.jpg at 01CE09CE.EF2D4F00] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From J.J.Smith at gcu.ac.uk Wed Feb 13 09:52:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 09:52:56 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Ah ok... but when you say you don't know what FileLocation is do you mean the variable FileLocation in the string? Is the variable FileLocation set to the correct path before the eval? Surely you need to know FileLocation otherwise when eval()ed that part will default to "" Try alerting the eval()ed value to see if it makes sense... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 9:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? Because it contains the string 'FileLocation + "media/filename.jpg"' and I don't know what FileLocation is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE09CF.077D1040] But in IE8 it doesn't [cid:image002.jpg at 01CE09CF.077D1040] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE09CF.077D1040][cid:image004.jpg at 01CE09CF.077D1040] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 10:00:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 10:00:49 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA4E@EXCHANGE1.ad.nottingham.ac.uk> No, what I mean is it's different for each instance. I don't know it at design time. It get set at runtime. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 09:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Ah ok... but when you say you don't know what FileLocation is do you mean the variable FileLocation in the string? Is the variable FileLocation set to the correct path before the eval? Surely you need to know FileLocation otherwise when eval()ed that part will default to "" Try alerting the eval()ed value to see if it makes sense... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 9:26 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? Because it contains the string 'FileLocation + "media/filename.jpg"' and I don't know what FileLocation is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE09D1.003792E0] But in IE8 it doesn't [cid:image002.jpg at 01CE09D1.003792E0] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE09D1.003792E0][cid:image004.jpg at 01CE09D1.003792E0] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From ronm at mitchellmedia.co.uk Wed Feb 13 10:02:31 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 10:02:31 -0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: References: , <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <098201ce09d1$3e2303a0$ba690ae0$@co.uk> I still often see replies to a message before receiving the originators question including the discussions yesterday and today -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 09:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Timings still a bit weird for me... not such big delays as before (not sure if you've done anything) but still arriving out of order mostly... I know email isn't a guaranteed delivery platform and that emails can take 72hours but realistically they are more or less instantaneous these days... it could be our over-zealous spam filter though, unless it's still doing similar things for others... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 9:36 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Is the message timings thing still a real problem? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 00:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 23:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Wed Feb 13 10:03:04 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 10:03:04 +0000 Subject: [Xerte-dev] Re: Default template In-Reply-To: <098201ce09d1$3e2303a0$ba690ae0$@co.uk> References: , <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA0D@EXCHANGE1.ad.nottingham.ac.uk> <098201ce09d1$3e2303a0$ba690ae0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA54@EXCHANGE1.ad.nottingham.ac.uk> I'll raise it again, but I'm not sure it's our problem. Is there anyway to tell what time the mssages pass through various bits of the network? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:03 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Default template I still often see replies to a message before receiving the originators question including the discussions yesterday and today -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 09:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Timings still a bit weird for me... not such big delays as before (not sure if you've done anything) but still arriving out of order mostly... I know email isn't a guaranteed delivery platform and that emails can take 72hours but realistically they are more or less instantaneous these days... it could be our over-zealous spam filter though, unless it's still doing similar things for others... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 9:36 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Is the message timings thing still a real problem? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 00:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template Makes no difference to me... if you feel like a moan and a rant then go for it... we've all been there... but I know what you mean about the email threads... and then the other problem too... they were great when I joined at first but around December they screwed up for me... now they just come in randomly and I see the answers before even seeing the question that was asked... its a little bizarre and disconcerting actually... i think it needs looking into... Will take a look at the docs and see what I can come up with... need to get my finger out and help Fay finish the html models that I've started and bug fix some of them too. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 23:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: Default template I wasn't moaning earlier, it's just sometimes one email thread becomes the other one and we end up discussing stuff twice. I am doing bits of PHP, I guess I am the most active developer / bug fixer on that side but I am more than happy to help show people around bits of the code - I don't get paid for working on XOT stuff so it's more best endeavours on my part. The last big block of work I did was to internationalise it - but this was about 2 years ago now. Modules didn't take long at all (as it was sort of already there). I could make a list of the things I'd change if I was trying to achieve X, but I don't have much in the code I'd change at the mo personally. It has some code that needs improving, lots of it, but I dunno what priorities and goals are. https://docsgoogle.com/document/d/1xvIPXtLBLhegwI0mo-KH63LxAHvXUAKOcXZusfKNK38/edit is the roadmap, it needs loads of ideas though https://docs.google.com/document/d/19CGU4KE7x-6f3_Gc7SVgvOhnHS2ryAI-PytcNzdnBG0/edit here is the API ideas as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Tue, 12 Feb 2013 21:05:40 +0000 Subject: [Xerte-dev] Re: Default template Meant to say earlier... All the work you guys have done with XOT is fantastic!! Will give it a try... Also, I'm happy doing the html stuff just now but would like to contribute to some of the other bits too... since you seem to be doing all the PHP stuff yourself (and a great job you are doing) I was just wondering where it goes next? Is there a wishlist of where we'd like to be for say 2.5 and what we need to get there? I'm assuming TinCan needs to go in at some point, anything else? Did the Google Doc ever get anything else added to it - sorry can't find it just now... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 12 February 2013 20:51 To: For technical developers Subject: [Xerte-dev] Default template Hello, https://github.com/patlockley/XOT-templatecanvas This is a default blank canvas for a XOT template - IT CONTAINS NO XERTE AT ALL So it is XOT in the sense it will work on XOT, but at present the code is all dummy functions Feel free to try Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://wwwgcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 From ronm at mitchellmedia.co.uk Wed Feb 13 10:08:39 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 10:08:39 -0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> Message-ID: <099201ce09d2$198a76d0$4c9f6470$@co.uk> Replying to Pat's post but it's obviously relevant to later posts too... Hi Pat thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... 1. new file \modules\xerte\play_links.php This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties 2. \website_code\php\properties\properties_library.php This checks for play_links.php and if found displays any links based on the case statement So at the moment with your changes in place: 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? 4. For an RSS project no link shows 5. For a site project no additional link shows If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? Ideally at the moment at least the default /play.php link should be hidden for this template There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 12 February 2013 20:58 To: For technical developers Subject: [Xerte-dev] Additional links for a template Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 10:19:51 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 10:19:51 +0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <099201ce09d2$198a76d0$4c9f6470$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA81@EXCHANGE1.ad.nottingham.ac.uk> > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Does embed even make sense for the site template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:09 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Additional links for a template Replying to Pat's post but it's obviously relevant to later posts too... Hi Pat thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... 1. new file \modules\xerte\play_links.php This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties 2. \website_code\php\properties\properties_library.php This checks for play_links.php and if found displays any links based on the case statement So at the moment with your changes in place: 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? 4. For an RSS project no link shows 5. For a site project no additional link shows If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? Ideally at the moment at least the default /play.php link should be hidden for this template There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 12 February 2013 20:58 To: For technical developers Subject: [Xerte-dev] Additional links for a template Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Feb 13 10:30:08 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 10:30:08 -0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA81@EXCHANGE1.ad.nottingham.ac.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA81@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <09a801ce09d5$1984a310$4c8de930$@co.uk> That's partly what I meant - the embed code should probably hide for a site template but also I've wondered if there should be a change for the Notts/XOT template for embedding Flash or HTML 5 version. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 10:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Additional links for a template > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Does embed even make sense for the site template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:09 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Additional links for a template Replying to Pat's post but it's obviously relevant to later posts too... Hi Pat thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... 1. new file \modules\xerte\play_links.php This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties 2. \website_code\php\properties\properties_library.php This checks for play_links.php and if found displays any links based on the case statement So at the moment with your changes in place: 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? 4. For an RSS project no link shows 5. For a site project no additional link shows If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? Ideally at the moment at least the default /play.php link should be hidden for this template There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 12 February 2013 20:58 To: For technical developers Subject: [Xerte-dev] Additional links for a template Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Feb 13 10:36:17 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 10:36:17 -0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <099201ce09d2$198a76d0$4c9f6470$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> Message-ID: <09b001ce09d5$f611d190$e23574b0$@co.uk> Sorry to clarify 4. re RSS The default play link shows which is how it's always been but I wonder if this should also show the feed link too perhaps also controlled by play_links.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: 13 February 2013 10:09 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Additional links for a template Replying to Pat's post but it's obviously relevant to later posts too... Hi Pat thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... 1. new file \modules\xerte\play_links.php This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties 2. \website_code\php\properties\properties_library.php This checks for play_links.php and if found displays any links based on the case statement So at the moment with your changes in place: 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? 4. For an RSS project no link shows 5. For a site project no additional link shows If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? Ideally at the moment at least the default /play.php link should be hidden for this template There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 12 February 2013 20:58 To: For technical developers Subject: [Xerte-dev] Additional links for a template Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Feb 13 10:39:34 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 10:39:34 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <09b501ce09d6$6aabac10$40030430$@co.uk> Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 10:45:59 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 10:45:59 +0000 Subject: [Xerte-dev] Re: FW: selected template access In-Reply-To: References: <085401ce093d$3f6b3a50$be41aef0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA943@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CA9F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAAC1@EXCHANGE1.ad.nottingham.ac.uk> Thanks, removing the style 'filter' fixed it. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 13 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Is it adding the background-image css to the div correctly but it's not appearing or is the code to add the css style failing? Press F12 in IE to launch the Developer Tool window and see what the current css for that div is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? Because it contains the string 'FileLocation + "media/filename.jpg"' and I don't know what FileLocation is. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 12 February 2013 17:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Why are you eval()ing $(data).find('learningObject').attr('header') ?? If you start taking out binary blocks from the custom.css file you'll be able to narrow down the bit that's causing IE to throw a wobbly... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Tuesday, February 12, 2013 4:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: selected template access Do we support IE8? I can't get this to work: in FF, the header image works [cid:image001.jpg at 01CE09D7.4F419600] But in IE8 it doesn't [cid:image002.jpg at 01CE09D7.4F419600] The bottom line is this line in application.js fails $('#overview').css('background-image', "url(" + eval( $(data).find('learningObject').attr('header'))+ ")"); unless you don't load custom.css, in which case it does work. Custom.css has this lot in it that is relevant... .jumbotron { margin-top: 20px; position: relative; padding: 20px 0; color: #fff; text-align: center; // text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); background: #020031; /* Old browsers */ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); Maybe one of you with ore CSS experience knows an answer? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 12 February 2013 16:23 To: 'For Xerte technical developers' Subject: [Xerte-dev] FW: selected template access Hi all I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php However I don't want to risk the wrath of the cave! ;-) Is there a better/elegant/more future proof way to do this? In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php: $query_name_response = mysql_query($query_for_template_name); $row_name = mysql_fetch_array($query_name_response); switch($row_name['template_name']){ case "site": echo "

            " . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "

            "; break; default: echo "

            " . PROPERTIES_LIBRARY_PROJECT_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "

            "; echo "

            " . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "

            "; echo "

            " . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "

            "; $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']); $temp_array = explode("~",$temp_string); echo "

            " . PROPERTIES_LIBRARY_PROJECT_IFRAME . "

            "; break; }}} and here's what a site template and other/Notts template shows: [cid:image003.jpg at 01CE09D7.4F419600][cid:image004.jpg at 01CE09D7.4F419600] I think I can hear rumblings from the cave already :-( Ron From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 14:16 To: Ron Mitchell Subject: RE: selected template access > Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:19 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access That worked... changed name to site parent_templates/site/site.rlt created a new project preview_site and play_site both work. Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:13 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Tried that but no joy. Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works. Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change... From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 13:04 To: 'Ron Mitchell'; 'Julian Tenney' Subject: RE: selected template access Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:58 To: 'Julian Tenney' Subject: RE: selected template access Turned on debugging... something in the code still looking for the bootstrap folder? Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt) Don't think it's cache. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 12:50 To: 'Julian Tenney' Subject: RE: selected template access I wouldn't do it in basic.sql although if you don't want it available to all remove the * Just set who it's available to via management.php There's a slight issue possibly caused by the renaming... Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-) From: Julian Tenney [mailto:Julian.Tenney at nottingham.ac.uk] Sent: 12 February 2013 11:11 To: Ron Mitchell Subject: RE: selected template access In basic.sql, instead of '*' for the access field? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 11:11 To: 'Julian Tenney' Subject: selected template access it's username comma username e.g. ronm,rmitchell From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 12 February 2013 10:52 To: 'Julian Tenney' Subject: RE: Bootstrap BTW Pat didn't answer your question about enabling for specific users - looks like it's username. Not sure what the delimiter is but I guess either , ; or space - testing that now... Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 17840 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 16674 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19112 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 27493 bytes Desc: image004.jpg URL: From Julian.Tenney at nottingham.ac.uk Wed Feb 13 13:03:27 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 13 Feb 2013 13:03:27 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <09b501ce09d6$6aabac10$40030430$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> It would be good to go over this whole modularisation debate, yes, and look to put it straight. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.D.Furr at southampton.ac.uk Wed Feb 13 15:44:37 2013 From: A.D.Furr at southampton.ac.uk (Furr A.D.) Date: Wed, 13 Feb 2013 15:44:37 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I'll be there. Can buy a beer in exchange for a quick code overview... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 13:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 It would be good to go over this whole modularisation debate, yes, and look to put it straight. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 13 16:29:08 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 16:29:08 +0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <09a801ce09d5$1984a310$4c8de930$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA81@EXCHANGE1.ad.nottingham.ac.uk> <09a801ce09d5$1984a310$4c8de930$@co.uk> Message-ID: The embed is a bit curve ball as not all play links are embedable. For example the Ebook template when you play it you get the Ebook to download, that makes no sense as an iframe. You could also have script includes and embeds as well at different points? Depends really on user simplicity Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 10:30, "Ron Mitchell" wrote: > That's partly what I meant - the embed code should probably hide for a site template but also I've wondered if there should be a change for the Notts/XOT template for embedding Flash or HTML 5 version. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 10:20 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Additional links for a template > > > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now > > Does embed even make sense for the site template? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:09 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Additional links for a template > > Replying to Pat's post but it's obviously relevant to later posts too... > > Hi Pat > thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... > > 1. new file \modules\xerte\play_links.php > This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties > > 2. \website_code\php\properties\properties_library.php > This checks for play_links.php and if found displays any links based on the case statement > > So at the moment with your changes in place: > > 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? > > 4. For an RSS project no link shows > > 5. For a site project no additional link shows > If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? > > Ideally at the moment at least the default /play.php link should be hidden for this template > > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now > > Ron > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 12 February 2013 20:58 > To: For technical developers > Subject: [Xerte-dev] Additional links for a template > > Hello, > > In the trunk SVN have added extra code to properties_library and the Xerte module. > > Properties_library looks for a file in modules/{module name} called play_links > > In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not > > THIS ASSUMES > > Nottingham and RSS have the same developer - which seems fair enough? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 13 16:14:36 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 16:14:36 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <6EC1E6AD-4057-472A-925F-E51BBCCFB0E3@pgogywebstuff.com> Eleni from Birkbeck will be there Amber from Warwick Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 15:44, "Furr A.D." wrote: > I?ll be there. Can buy a beer in exchange for a quick code overview... > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 13:03 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 13 16:27:07 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 16:27:07 +0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <09b001ce09d5$f611d190$e23574b0$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> <09b001ce09d5$f611d190$e23574b0$@co.uk> Message-ID: It could do, just add an extra case in the switch statement :) Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 10:36, "Ron Mitchell" wrote: > Sorry to clarify 4. re RSS > The default play link shows which is how it's always been but I wonder if this should also show the feed link too perhaps also controlled by play_links.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: 13 February 2013 10:09 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Additional links for a template > > Replying to Pat's post but it's obviously relevant to later posts too... > > Hi Pat > thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... > > 1. new file \modules\xerte\play_links.php > This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties > > 2. \website_code\php\properties\properties_library.php > This checks for play_links.php and if found displays any links based on the case statement > > So at the moment with your changes in place: > > 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? > > 4. For an RSS project no link shows > > 5. For a site project no additional link shows > If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? > > Ideally at the moment at least the default /play.php link should be hidden for this template > > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now > > Ron > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 12 February 2013 20:58 > To: For technical developers > Subject: [Xerte-dev] Additional links for a template > > Hello, > > In the trunk SVN have added extra code to properties_library and the Xerte module. > > Properties_library looks for a file in modules/{module name} called play_links > > In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not > > THIS ASSUMES > > Nottingham and RSS have the same developer - which seems fair enough? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 13 16:48:35 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 16:48:35 +0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <099201ce09d2$198a76d0$4c9f6470$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> Message-ID: I think logically we have one play URL for each module Then the play code is passed a second variable So in non htaccess play.php?template_id=1&type=html5 So this way any module developer can increase play options without URL library changing? This seems clean to me? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 10:08, "Ron Mitchell" wrote: > Replying to Pat's post but it's obviously relevant to later posts too... > Hi Pat > thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... > > 1. new file \modules\xerte\play_links.php > This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties > > 2. \website_code\php\properties\properties_library.php > This checks for play_links.php and if found displays any links based on the case statement > > So at the moment with your changes in place: > > 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? > > 4. For an RSS project no link shows > > 5. For a site project no additional link shows > If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? > > Ideally at the moment at least the default /play.php link should be hidden for this template > > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now > > Ron > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 12 February 2013 20:58 > To: For technical developers > Subject: [Xerte-dev] Additional links for a template > > Hello, > > In the trunk SVN have added extra code to properties_library and the Xerte module. > > Properties_library looks for a file in modules/{module name} called play_links > > In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not > > THIS ASSUMES > > Nottingham and RSS have the same developer - which seems fair enough? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 13 16:48:36 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 16:48:36 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 1:03 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 It would be good to go over this whole modularisation debate, yes, and look to put it straight. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 13 18:28:39 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 18:28:39 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> Tee hee Look at the .info file and the last line. This is a list of properties page tabs that this template supports. When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 16:48, "Smith, John" wrote: > What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? > > However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? > > If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? > > Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Wednesday, February 13, 2013 1:03 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 13 18:49:10 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 18:49:10 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> , <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> Message-ID: You've thought of everything... ;-) Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 18:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Tee hee Look at the .info file and the last line. This is a list of properties page tabs that this template supports. When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 16:48, "Smith, John" > wrote: What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 1:03 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 It would be good to go over this whole modularisation debate, yes, and look to put it straight. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Wed Feb 13 20:21:00 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 13 Feb 2013 21:21:00 +0100 Subject: [Xerte-dev] Answer delimiter in dialog page Message-ID: <511BF5AC.1040208@tor.nl> The answer in the flash version of the dialog is a ',' delimited string of possible answers. I didn't know that at first, and wondering why the string 2,5 ( the Dutch notation of the floating point number 2.5, we use a decimal comma) wasn't working. So it turns out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". I've got two problems at the moment. 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter (and I think it should, or some LO's will break) 2. Do you mind if I introduce an optional delimiter to be able to replace the comma, by say a semi-colon. Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From d_b_burnett at hotmail.com Wed Feb 13 20:28:22 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 13 Feb 2013 15:28:22 -0500 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <511BF5AC.1040208@tor.nl> References: <511BF5AC.1040208@tor.nl> Message-ID: >by say a semi-colon. Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > Date: Wed, 13 Feb 2013 21:21:00 +0100 > From: reijnders at tor.nl > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Answer delimiter in dialog page > > The answer in the flash version of the dialog is a ',' delimited string > of possible answers. I didn't know that at first, and wondering why the > string 2,5 ( the Dutch notation of the floating point number 2.5, we use > a decimal comma) wasn't working. So it turns out that the comma is used > to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". > > I've got two problems at the moment. > > 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter > (and I think it should, or some LO's will break) > > 2. Do you mind if I introduce an optional delimiter to be able to > replace the comma, by say a semi-colon. > > > Tom > > -- > -- > > 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 > 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: From J.J.Smith at gcu.ac.uk Wed Feb 13 20:33:39 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 20:33:39 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <511BF5AC.1040208@tor.nl>, Message-ID: Is this in Xerte or in toolkits? I'm trying to reproduce and not really able to in XOT. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com] Sent: 13 February 2013 20:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page >by say a semi-colon. Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > Date: Wed, 13 Feb 2013 21:21:00 +0100 > From: reijnders at tor.nl > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Answer delimiter in dialog page > > The answer in the flash version of the dialog is a ',' delimited string > of possible answers. I didn't know that at first, and wondering why the > string 2,5 ( the Dutch notation of the floating point number 2.5, we use > a decimal comma) wasn't working. So it turns out that the comma is used > to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". > > I've got two problems at the moment. > > 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter > (and I think it should, or some LO's will break) > > 2. Do you mind if I introduce an optional delimiter to be able to > replace the comma, by say a semi-colon. > > > Tom > > -- > -- > > 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 > 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Wed Feb 13 20:42:00 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 20:42:00 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> Message-ID: <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> At the moment you can turn options off, you can't add new ones in Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 18:49, "Smith, John" wrote: > You've thought of everything... ;-) > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 18:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Tee hee > > Look at the .info file and the last line. This is a list of properties page tabs that this template supports. > > When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 16:48, "Smith, John" > wrote: > > What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? > > However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? > > If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? > > Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Wednesday, February 13, 2013 1:03 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From J.J.Smith at gcu.ac.uk Wed Feb 13 20:44:37 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 20:44:37 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> , <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> Message-ID: Well at least youve left something for the rest of us to do ;-) Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 20:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 At the moment you can turn options off, you can't add new ones in Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 18:49, "Smith, John" wrote: > You've thought of everything... ;-) > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 18:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Tee hee > > Look at the .info file and the last line. This is a list of properties page tabs that this template supports. > > When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 16:48, "Smith, John" > wrote: > > What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? > > However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? > > If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? > > Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Wednesday, February 13, 2013 1:03 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Wed Feb 13 20:59:44 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 13 Feb 2013 21:59:44 +0100 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <511BF5AC.1040208@tor.nl>, Message-ID: <511BFEC0.2060609@tor.nl> Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited string >> of possible answers. I didn't know that at first, and wondering why the >> string 2,5 ( the Dutch notation of the floating point number 2.5, we use >> a decimal comma) wasn't working. So it turns out that the comma is used >> to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter >> (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Wed Feb 13 21:00:46 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 21:00:46 +0000 Subject: [Xerte-dev] Deeplinking and #Hashlinks Message-ID: So, something I have been pondering lately... and it was mentioned in a mail from an end user a few days to a week ago (sorry I forget who)... Does anyone think that adding page #hashlinks into the html version is a good idea? We already have deep linking via pageID, linkID and page number but could we also use #hashlinks? I currently have the hashlinks updating as we change page, e.g. http://localhost/XOT/preview_html5.php?template_id=2#page1 and deeplinking via hashlink but is it any good to anyone? It addresses a need for bookmarking your position in largeish LOs but then we have the issue of deeplinking via one of the initial 3 methods and subsequently generating a hashlink, i.e we bookmark the page http://localhost/XOT/preview_html5.php?template_id=2&page=3#page17 and come back to it... obviously we should go to page 17 but it makes the URL a bit strange... Thoughts? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Wed Feb 13 21:02:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 21:02:21 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> Message-ID: <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com> What might make sense to sketch an architecture of what we want the system to support. Then we could easily add in things like Wordpress / Drupal hooks easily Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 20:44, "Smith, John" wrote: > Well at least youve left something for the rest of us to do ;-) > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 20:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > At the moment you can turn options off, you can't add new ones in > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 18:49, "Smith, John" wrote: > >> You've thought of everything... ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 18:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Tee hee >> >> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >> >> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >> >> What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? >> >> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? >> >> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? >> >> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: Wednesday, February 13, 2013 1:03 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >> Sent: 13 February 2013 10:40 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: CETIS13 >> >> Wasn't planning to. >> If others aren't either what about a scheduled online meeting at some point? >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 13 February 2013 09:45 >> To: For Xerte technical developers >> Subject: [Xerte-dev] CETIS13 >> >> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Wed Feb 13 21:42:47 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 13 Feb 2013 21:42:47 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com> Message-ID: <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the system to support. > > Then we could easily add in things like Wordpress / Drupal hooks easily > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com >>> Makers of web things of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? >>> >>> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? >>> >>> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? >>> >>> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed Feb 13 21:54:42 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 21:54:42 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <511BFEC0.2060609@tor.nl> References: <511BF5AC.1040208@tor.nl>, , <511BFEC0.2060609@tor.nl> Message-ID: Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited string >> of possible answers. I didn't know that at first, and wondering why the >> string 2,5 ( the Dutch notation of the floating point number 2.5, we use >> a decimal comma) wasn't working. So it turns out that the comma is used >> to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a delimiter >> (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed Feb 13 21:57:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 21:57:54 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com>, <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> Message-ID: Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 21:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the system to support. > > Then we could easily add in things like Wordpress / Drupal hooks easily > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com >>> Makers of web things of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What?s still remaining? I thought from Pat?s last updates that the template modularization is pretty much done? >>> >>> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith? not the best example but would make it more flexible? again I?m thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas? >>> >>> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs? >>> >>> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist? >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Wed Feb 13 22:07:52 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 22:07:52 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com>, <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> Message-ID: <005e01ce0a36$929da600$b7d8f200$@co.uk> > I'd also like to do an RSS/JSON feed of available LOs from the system< Don't we already have that John via rss.php and syndicate.php? What do you mean? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 21:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the system to support. > > Then we could easily add in things like Wordpress / Drupal hooks > easily > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the >>> template modularization is pretty much done. >>> >>> However, would it be good to move some of the properties tabs out of >>> where they are and into the actual templates? Things like sharing >>> and permissions might stay (but can perhaps be over-ridden). Just >>> thinking that for a jQuery based template you may want some options >>> that allow for example an easy was (a tab with a checkbox within) to >>> switch from using the CDN jquery link (if for example you are mainly >>> delivering that LO to mobile devices over 3G) to reduce bandwith. >>> not the best example but would make it more flexible. again I'm >>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>> and content areas. >>> >>> If the tabs were built from an array or JSON object then a file in >>> the template could extend the number and content of the tabs. >>> >>> Should we start putting these ideas all into the existing Google >>> Docs or into a new one and should we ask the community for their >>> wishlist. >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. From ronm at mitchellmedia.co.uk Wed Feb 13 22:12:59 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 22:12:59 -0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> Message-ID: <005f01ce0a37$496aad10$dc400730$@co.uk> I can understand the idea of this from a developer point of view but from an end user point of view I think where relevant it's still good to display different links in the properties window ready to click or copy and paste along with the kind of instructions we have now. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 February 2013 16:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Additional links for a template I think logically we have one play URL for each module Then the play code is passed a second variable So in non htaccess play.php?template_id=1&type=html5 So this way any module developer can increase play options without URL library changing? This seems clean to me? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 10:08, "Ron Mitchell" wrote: Replying to Pat's post but it's obviously relevant to later posts too... Hi Pat thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... 1. new file \modules\xerte\play_links.php This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties 2. \website_code\php\properties\properties_library.php This checks for play_links.php and if found displays any links based on the case statement So at the moment with your changes in place: 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? 4. For an RSS project no link shows 5. For a site project no additional link shows If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? Ideally at the moment at least the default /play.php link should be hidden for this template There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 12 February 2013 20:58 To: For technical developers Subject: [Xerte-dev] Additional links for a template Hello, In the trunk SVN have added extra code to properties_library and the Xerte module. Properties_library looks for a file in modules/{module name} called play_links In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not THIS ASSUMES Nottingham and RSS have the same developer - which seems fair enough? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 13 22:12:19 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 13 Feb 2013 22:12:19 +0000 Subject: [Xerte-dev] Re: CETIS13 Message-ID: Yeah sorry meant jsonc, we don't have that do we? Would consolidating rss, jsonc, into a feed.php to replace rss be acceptable or would it break existing setups? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: > I'd also like to do an RSS/JSON feed of available LOs from the system< Don't we already have that John via rss.php and syndicate.php? What do you mean? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 21:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the system to support. > > Then we could easily add in things like Wordpress / Drupal hooks > easily > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the >>> template modularization is pretty much done. >>> >>> However, would it be good to move some of the properties tabs out of >>> where they are and into the actual templates? Things like sharing >>> and permissions might stay (but can perhaps be over-ridden). Just >>> thinking that for a jQuery based template you may want some options >>> that allow for example an easy was (a tab with a checkbox within) to >>> switch from using the CDN jquery link (if for example you are mainly >>> delivering that LO to mobile devices over 3G) to reduce bandwith. >>> not the best example but would make it more flexible. again I'm >>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>> and content areas. >>> >>> If the tabs were built from an array or JSON object then a file in >>> the template could extend the number and content of the tabs. >>> >>> Should we start putting these ideas all into the existing Google >>> Docs or into a new one and should we ask the community for their >>> wishlist. >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Wed Feb 13 22:23:00 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 13 Feb 2013 22:23:00 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: Message-ID: <006a01ce0a38$afba6dc0$0f2f4940$@co.uk> perhaps an addition rather than replacement? We've promoted the existing feed links for quite a while so obviously important to maintain those links etc -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 22:12 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: CETIS13 Yeah sorry meant jsonc, we don't have that do we? Would consolidating rss, jsonc, into a feed.php to replace rss be acceptable or would it break existing setups? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: > I'd also like to do an RSS/JSON feed of available LOs from the system< Don't we already have that John via rss.php and syndicate.php? What do you mean? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 21:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the > system to support. > > Then we could easily add in things like Wordpress / Drupal hooks > easily > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of >>> properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the >>> template modularization is pretty much done. >>> >>> However, would it be good to move some of the properties tabs out of >>> where they are and into the actual templates? Things like sharing >>> and permissions might stay (but can perhaps be over-ridden). Just >>> thinking that for a jQuery based template you may want some options >>> that allow for example an easy was (a tab with a checkbox within) to >>> switch from using the CDN jquery link (if for example you are mainly >>> delivering that LO to mobile devices over 3G) to reduce bandwith. >>> not the best example but would make it more flexible. again I'm >>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>> and content areas. >>> >>> If the tabs were built from an array or JSON object then a file in >>> the template could extend the number and content of the tabs. >>> >>> Should we start putting these ideas all into the existing Google >>> Docs or into a new one and should we ask the community for their >>> wishlist. >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, >>> and look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at >>> some point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, >>> and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative >>> of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative >>> of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of >> the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. From Julian.Tenney at nottingham.ac.uk Thu Feb 14 08:08:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 14 Feb 2013 08:08:42 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> , <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADE3@EXCHANGE1.ad.nottingham.ac.uk> Next thing you know he's he'll be writing it down so others find out about it... ;-) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 18:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 You've thought of everything... ;-) Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 18:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Tee hee Look at the .info file and the last line. This is a list of properties page tabs that this template supports. When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 16:48, "Smith, John" > wrote: What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, February 13, 2013 1:03 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 It would be good to go over this whole modularisation debate, yes, and look to put it straight. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 13 February 2013 10:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 Wasn't planning to. If others aren't either what about a scheduled online meeting at some point? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu Feb 14 08:15:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 14 Feb 2013 08:15:38 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com>, <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADED@EXCHANGE1.ad.nottingham.ac.uk> BY all means. Pat had some google docs we were putting some ideas into, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 13 February 2013 21:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 An architecture / hook plan would appeal to me as something to do Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > What might make sense to sketch an architecture of what we want the system to support. > > Then we could easily add in things like Wordpress / Drupal hooks > easily > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 13 Feb 2013, at 20:44, "Smith, John" wrote: > >> Well at least youve left something for the rest of us to do ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 20:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> At the moment you can turn options off, you can't add new ones in >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the >>> template modularization is pretty much done... >>> >>> However, would it be good to move some of the properties tabs out of >>> where they are and into the actual templates? Things like sharing >>> and permissions might stay (but can perhaps be over-ridden). Just >>> thinking that for a jQuery based template you may want some options >>> that allow for example an easy was (a tab with a checkbox within) to >>> switch from using the CDN jquery link (if for example you are mainly >>> delivering that LO to mobile devices over 3G) to reduce bandwith... >>> not the best example but would make it more flexible... again I'm >>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>> and content areas... >>> >>> If the tabs were built from an array or JSON object then a file in >>> the template could extend the number and content of the tabs... >>> >>> Should we start putting these ideas all into the existing Google >>> Docs or into a new one and should we ask the community for their >>> wishlist... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> sts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Julian Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Fay.Cross at nottingham.ac.uk Thu Feb 14 08:52:05 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 14 Feb 2013 08:52:05 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <511BF5AC.1040208@tor.nl>, , <511BFEC0.2060609@tor.nl> Message-ID: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Thu Feb 14 09:06:12 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 09:06:12 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page Message-ID: No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Fay.Cross at nottingham.ac.uk Thu Feb 14 09:12:06 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 14 Feb 2013 09:12:06 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: Message-ID: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Thu Feb 14 09:21:04 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 09:21:04 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADED@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <3F1F7205-00BD-48C2-81A1-FCBF6059DE31@pgogywebstuff.com> <8A72F342-3FB3-4DC5-9847-DE840A77CF26@pgogywebstuff.com> <5FA63C45-EB1A-4FFE-8A7F-9E06DD8293AF@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADED@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <1EA51B53-C18E-4A3F-BDE0-C335BD757191@pgogywebstuff.com> Searchable repository of XOTs? Errrrr I am sure I wrote that down somewhere Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 08:15, Julian Tenney wrote: > BY all means. Pat had some google docs we were putting some ideas into, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 13 February 2013 21:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... > > Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 21:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > An architecture / hook plan would appeal to me as something to do > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > >> What might make sense to sketch an architecture of what we want the system to support. >> >> Then we could easily add in things like Wordpress / Drupal hooks >> easily >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >> >>> Well at least youve left something for the rest of us to do ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 20:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> At the moment you can turn options off, you can't add new ones in >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>> >>>> You've thought of everything... ;-) >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 18:28 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Tee hee >>>> >>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>> >>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>> >>>> What's still remaining? I thought from Pat's last updates that the >>>> template modularization is pretty much done... >>>> >>>> However, would it be good to move some of the properties tabs out of >>>> where they are and into the actual templates? Things like sharing >>>> and permissions might stay (but can perhaps be over-ridden). Just >>>> thinking that for a jQuery based template you may want some options >>>> that allow for example an easy was (a tab with a checkbox within) to >>>> switch from using the CDN jquery link (if for example you are mainly >>>> delivering that LO to mobile devices over 3G) to reduce bandwith... >>>> not the best example but would make it more flexible... again I'm >>>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>>> and content areas... >>>> >>>> If the tabs were built from an array or JSON object then a file in >>>> the template could extend the number and content of the tabs... >>>> >>>> Should we start putting these ideas all into the existing Google >>>> Docs or into a new one and should we ask the community for their >>>> wishlist... >>>> >>>> Regards, >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health & Life Sciences >>>> Glasgow Caledonian University >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Julian Tenney >>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>> Mitchell >>>> Sent: 13 February 2013 10:40 >>>> To: 'For Xerte technical developers' >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Wasn't planning to. >>>> If others aren't either what about a scheduled online meeting at some point? >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Julian Tenney >>>> Sent: 13 February 2013 09:45 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] CETIS13 >>>> >>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>> >>>> >>>> >>>> >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,15691,en.html >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk>>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> >>>> >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,15691,en.html >>>> >>>> _______________________________________________ >>>> 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. >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 14 09:18:14 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 09:18:14 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADE3@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <09b501ce09d6$6aabac10$40030430$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CABCA@EXCHANGE1.ad.nottingham.ac.uk> <9C1ACEB5-60FD-46A8-B407-859364630B47@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CADE3@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <37C726BF-803D-4A57-9552-B0AEF0120912@pgogywebstuff.com> Pah! I live in a cave! All of this is written on the cave walls! And I tried using your googly ducks but no one else wrote anything so I assumed I had offended your culture *walks back to cave* *shoots mammoth* Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 08:08, Julian Tenney wrote: > Next thing you know he's he'll be writing it down so others find out about it... > > ;-) > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 13 February 2013 18:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > You've thought of everything... ;-) > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 18:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Tee hee > > Look at the .info file and the last line. This is a list of properties page tabs that this template supports. > > When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 16:48, "Smith, John" > wrote: > > What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... > > However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... > > If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... > > Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Wednesday, February 13, 2013 1:03 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From J.J.Smith at gcu.ac.uk Thu Feb 14 09:23:21 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 09:23:21 +0000 Subject: [Xerte-dev] Re: CETIS13 Message-ID: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> Smartboard or chalk? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Pah! I live in a cave! All of this is written on the cave walls! And I tried using your googly ducks but no one else wrote anything so I assumed I had offended your culture *walks back to cave* *shoots mammoth* Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 08:08, Julian Tenney wrote: > Next thing you know he's he'll be writing it down so others find out about it... > > ;-) > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 13 February 2013 18:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > You've thought of everything... ;-) > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 18:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Tee hee > > Look at the .info file and the last line. This is a list of properties page tabs that this template supports. > > When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 16:48, "Smith, John" > wrote: > > What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... > > However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... > > If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... > > Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Wednesday, February 13, 2013 1:03 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > It would be good to go over this whole modularisation debate, yes, and look to put it straight. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 13 February 2013 10:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: CETIS13 > > Wasn't planning to. > If others aren't either what about a scheduled online meeting at some point? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Thu Feb 14 09:22:18 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 09:22:18 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page Message-ID: Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Thu Feb 14 09:26:26 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 09:26:26 +0000 Subject: [Xerte-dev] Re: CETIS13 Message-ID: Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Searchable repository of XOTs? Errrrr I am sure I wrote that down somewhere Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 08:15, Julian Tenney wrote: > BY all means. Pat had some google docs we were putting some ideas into, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 13 February 2013 21:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... > > Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 13 February 2013 21:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > An architecture / hook plan would appeal to me as something to do > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: > >> What might make sense to sketch an architecture of what we want the system to support. >> >> Then we could easily add in things like Wordpress / Drupal hooks >> easily >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >> >>> Well at least youve left something for the rest of us to do ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 20:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> At the moment you can turn options off, you can't add new ones in >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>> >>>> You've thought of everything... ;-) >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 18:28 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Tee hee >>>> >>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>> >>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>> >>>> What's still remaining? I thought from Pat's last updates that the >>>> template modularization is pretty much done... >>>> >>>> However, would it be good to move some of the properties tabs out of >>>> where they are and into the actual templates? Things like sharing >>>> and permissions might stay (but can perhaps be over-ridden). Just >>>> thinking that for a jQuery based template you may want some options >>>> that allow for example an easy was (a tab with a checkbox within) to >>>> switch from using the CDN jquery link (if for example you are mainly >>>> delivering that LO to mobile devices over 3G) to reduce bandwith... >>>> not the best example but would make it more flexible... again I'm >>>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>>> and content areas... >>>> >>>> If the tabs were built from an array or JSON object then a file in >>>> the template could extend the number and content of the tabs... >>>> >>>> Should we start putting these ideas all into the existing Google >>>> Docs or into a new one and should we ask the community for their >>>> wishlist... >>>> >>>> Regards, >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health & Life Sciences >>>> Glasgow Caledonian University >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Julian Tenney >>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>> Mitchell >>>> Sent: 13 February 2013 10:40 >>>> To: 'For Xerte technical developers' >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Wasn't planning to. >>>> If others aren't either what about a scheduled online meeting at some point? >>>> >>>> From: >>>> xerte-dev-bounces at lists.nottingham.ac.uk>>> sts.nottingham.ac.uk> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Julian Tenney >>>> Sent: 13 February 2013 09:45 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] CETIS13 >>>> >>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>> >>>> >>>> >>>> >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,15691,en.html >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk>>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> >>>> >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,15691,en.html >>>> >>>> _______________________________________________ >>>> 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. >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Thu Feb 14 09:28:16 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 09:28:16 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> References: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> Message-ID: <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> Didn't ask the mammoth it's name Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:23, "Smith, John" wrote: > Smartboard or chalk? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Pah! I live in a cave! All of this is written on the cave walls! > > And I tried using your googly ducks but no one else wrote anything so I assumed I had offended your culture > > *walks back to cave* > *shoots mammoth* > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 08:08, Julian Tenney wrote: > >> Next thing you know he's he'll be writing it down so others find out about it... >> >> ;-) >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> Sent: 13 February 2013 18:49 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> You've thought of everything... ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 18:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Tee hee >> >> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >> >> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >> >> What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... >> >> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... >> >> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... >> >> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: Wednesday, February 13, 2013 1:03 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >> Sent: 13 February 2013 10:40 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: CETIS13 >> >> Wasn't planning to. >> If others aren't either what about a scheduled online meeting at some point? >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 13 February 2013 09:45 >> To: For Xerte technical developers >> Subject: [Xerte-dev] CETIS13 >> >> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 14 09:41:00 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 09:41:00 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: Message-ID: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> What are you going to use the API to do? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:26, "Smith, John" wrote: > Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Searchable repository of XOTs? > Errrrr I am sure I wrote that down somewhere > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 08:15, Julian Tenney wrote: > >> BY all means. Pat had some google docs we were putting some ideas into, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> Sent: 13 February 2013 21:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >> >> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 21:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> An architecture / hook plan would appeal to me as something to do >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >> >>> What might make sense to sketch an architecture of what we want the system to support. >>> >>> Then we could easily add in things like Wordpress / Drupal hooks >>> easily >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>> >>>> Well at least youve left something for the rest of us to do ;-) >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 20:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> At the moment you can turn options off, you can't add new ones in >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>>> a fair to middling quality >>>> >>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>> >>>>> You've thought of everything... ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 18:28 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Tee hee >>>>> >>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>> >>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>> >>>>> What's still remaining? I thought from Pat's last updates that the >>>>> template modularization is pretty much done... >>>>> >>>>> However, would it be good to move some of the properties tabs out of >>>>> where they are and into the actual templates? Things like sharing >>>>> and permissions might stay (but can perhaps be over-ridden). Just >>>>> thinking that for a jQuery based template you may want some options >>>>> that allow for example an easy was (a tab with a checkbox within) to >>>>> switch from using the CDN jquery link (if for example you are mainly >>>>> delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>> not the best example but would make it more flexible... again I'm >>>>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>>>> and content areas... >>>>> >>>>> If the tabs were built from an array or JSON object then a file in >>>>> the template could extend the number and content of the tabs... >>>>> >>>>> Should we start putting these ideas all into the existing Google >>>>> Docs or into a new one and should we ask the community for their >>>>> wishlist... >>>>> >>>>> Regards, >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health & Life Sciences >>>>> Glasgow Caledonian University >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>>> Mitchell >>>>> Sent: 13 February 2013 10:40 >>>>> To: 'For Xerte technical developers' >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Wasn't planning to. >>>>> If others aren't either what about a scheduled online meeting at some point? >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 13 February 2013 09:45 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] CETIS13 >>>>> >>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,15691,en.html >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk>>>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> 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. >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>>> 6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>>> 15691,en.html >>>> >>>> _______________________________________________ >>>> 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. >>> >>> _______________________________________________ >>> 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 >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 14 09:40:43 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 09:40:43 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: Message-ID: <40911785-87FB-4433-A488-88BB298FE8B3@pgogywebstuff.com> The open content tab supports the adding of tags to the feed - so content can be tagged. If you check syndicate.php then you should find dc:subject stuff for each lo (if entered) Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:26, "Smith, John" wrote: > Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Searchable repository of XOTs? > Errrrr I am sure I wrote that down somewhere > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 08:15, Julian Tenney wrote: > >> BY all means. Pat had some google docs we were putting some ideas into, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> Sent: 13 February 2013 21:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >> >> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 21:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> An architecture / hook plan would appeal to me as something to do >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality >> >> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >> >>> What might make sense to sketch an architecture of what we want the system to support. >>> >>> Then we could easily add in things like Wordpress / Drupal hooks >>> easily >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>> >>>> Well at least youve left something for the rest of us to do ;-) >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 20:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> At the moment you can turn options off, you can't add new ones in >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>>> a fair to middling quality >>>> >>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>> >>>>> You've thought of everything... ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 18:28 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Tee hee >>>>> >>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>> >>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>> >>>>> What's still remaining? I thought from Pat's last updates that the >>>>> template modularization is pretty much done... >>>>> >>>>> However, would it be good to move some of the properties tabs out of >>>>> where they are and into the actual templates? Things like sharing >>>>> and permissions might stay (but can perhaps be over-ridden). Just >>>>> thinking that for a jQuery based template you may want some options >>>>> that allow for example an easy was (a tab with a checkbox within) to >>>>> switch from using the CDN jquery link (if for example you are mainly >>>>> delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>> not the best example but would make it more flexible... again I'm >>>>> thinking of the way Wordpress/Drupal provides hooks to augment admin >>>>> and content areas... >>>>> >>>>> If the tabs were built from an array or JSON object then a file in >>>>> the template could extend the number and content of the tabs... >>>>> >>>>> Should we start putting these ideas all into the existing Google >>>>> Docs or into a new one and should we ask the community for their >>>>> wishlist... >>>>> >>>>> Regards, >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health & Life Sciences >>>>> Glasgow Caledonian University >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>>> Mitchell >>>>> Sent: 13 February 2013 10:40 >>>>> To: 'For Xerte technical developers' >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Wasn't planning to. >>>>> If others aren't either what about a scheduled online meeting at some point? >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 13 February 2013 09:45 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] CETIS13 >>>>> >>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,15691,en.html >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk>>>> c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>>> ,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> 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. >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>>> 6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>>> 15691,en.html >>>> >>>> _______________________________________________ >>>> 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. >>> >>> _______________________________________________ >>> 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 >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From J.J.Smith at gcu.ac.uk Thu Feb 14 10:32:13 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 10:32:13 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> Message-ID: Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 9:41 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 What are you going to use the API to do? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:26, "Smith, John" wrote: > Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Searchable repository of XOTs? > Errrrr I am sure I wrote that down somewhere > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 08:15, Julian Tenney wrote: > >> BY all means. Pat had some google docs we were putting some ideas >> into, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 13 February 2013 21:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >> >> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 21:42 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> An architecture / hook plan would appeal to me as something to do >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >> >>> What might make sense to sketch an architecture of what we want the system to support. >>> >>> Then we could easily add in things like Wordpress / Drupal hooks >>> easily >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>> >>>> Well at least youve left something for the rest of us to do ;-) >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 20:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> At the moment you can turn options off, you can't add new ones in >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>> >>>>> You've thought of everything... ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 18:28 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Tee hee >>>>> >>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>> >>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>> >>>>> What's still remaining? I thought from Pat's last updates that the >>>>> template modularization is pretty much done... >>>>> >>>>> However, would it be good to move some of the properties tabs out >>>>> of where they are and into the actual templates? Things like >>>>> sharing and permissions might stay (but can perhaps be >>>>> over-ridden). Just thinking that for a jQuery based template you >>>>> may want some options that allow for example an easy was (a tab >>>>> with a checkbox within) to switch from using the CDN jquery link >>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>> not the best example but would make it more flexible... again I'm >>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>> admin and content areas... >>>>> >>>>> If the tabs were built from an array or JSON object then a file in >>>>> the template could extend the number and content of the tabs... >>>>> >>>>> Should we start putting these ideas all into the existing Google >>>>> Docs or into a new one and should we ask the community for their >>>>> wishlist... >>>>> >>>>> Regards, >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health & Life Sciences >>>>> Glasgow Caledonian University >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> li >>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> li >>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>>> Mitchell >>>>> Sent: 13 February 2013 10:40 >>>>> To: 'For Xerte technical developers' >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Wasn't planning to. >>>>> If others aren't either what about a scheduled online meeting at some point? >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>> li >>>>> sts.nottingham.ac.uk> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 13 February 2013 09:45 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] CETIS13 >>>>> >>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> me >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> me >>>>> ,15691,en.html >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk>>>> .a c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> >>>>> >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> me >>>>> ,6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> me >>>>> ,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> 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. >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e, >>>> 6219,en.html >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e, >>>> 15691,en.html >>>> >>>> _______________________________________________ >>>> 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. >>> >>> _______________________________________________ >>> 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 >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > _______________________________________________ > 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Thu Feb 14 11:00:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 11:00:21 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> Message-ID: <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >>> John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>>> of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that the >>>>>> template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file in >>>>>> the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>>>>> Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>> .a c.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any From J.J.Smith at gcu.ac.uk Thu Feb 14 11:18:01 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 11:18:01 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> Message-ID: You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 11:00 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Smith, John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences >>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>> | University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that >>>>>> the template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file >>>>>> in the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Ron Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>> m .a c.uk> >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Thu Feb 14 11:25:13 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 14 Feb 2013 11:25:13 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> No, not pointless at all, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 11:00 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Smith, John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>> | University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that >>>>>> the template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file >>>>>> in the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Ron Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>> m .a c.uk> >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu Feb 14 11:26:09 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 14 Feb 2013 11:26:09 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> References: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> > Pah! I live in a cave! All of this is written on the cave walls! I can't see the walls for empty pop bottles. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 14 February 2013 09:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Didn't ask the mammoth it's name Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:23, "Smith, John" wrote: > Smartboard or chalk? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Pah! I live in a cave! All of this is written on the cave walls! > > And I tried using your googly ducks but no one else wrote anything so > I assumed I had offended your culture > > *walks back to cave* > *shoots mammoth* > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 08:08, Julian Tenney wrote: > >> Next thing you know he's he'll be writing it down so others find out about it... >> >> ;-) >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 13 February 2013 18:49 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> You've thought of everything... ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 18:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Tee hee >> >> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >> >> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >> >> What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... >> >> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... >> >> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... >> >> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >> Tenney >> Sent: Wednesday, February 13, 2013 1:03 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >> Mitchell >> Sent: 13 February 2013 10:40 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: CETIS13 >> >> Wasn't planning to. >> If others aren't either what about a scheduled online meeting at some point? >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >> Tenney >> Sent: 13 February 2013 09:45 >> To: For Xerte technical developers >> Subject: [Xerte-dev] CETIS13 >> >> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk> .uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > _______________________________________________ > 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. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Thu Feb 14 11:38:12 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 14 Feb 2013 11:38:12 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> References: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00b001ce0aa7$c663d290$532b77b0$@co.uk> Can we have a virtual tour of the cave? Or is it too dark in there? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 14 February 2013 11:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 > Pah! I live in a cave! All of this is written on the cave walls! I can't see the walls for empty pop bottles. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 14 February 2013 09:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Didn't ask the mammoth it's name Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 09:23, "Smith, John" wrote: > Smartboard or chalk? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Pah! I live in a cave! All of this is written on the cave walls! > > And I tried using your googly ducks but no one else wrote anything so > I assumed I had offended your culture > > *walks back to cave* > *shoots mammoth* > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 08:08, Julian Tenney wrote: > >> Next thing you know he's he'll be writing it down so others find out about it... >> >> ;-) >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 13 February 2013 18:49 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> You've thought of everything... ;-) >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> [xerte at pgogywebstuff.com] >> Sent: 13 February 2013 18:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Tee hee >> >> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >> >> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >> >> What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... >> >> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... >> >> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... >> >> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >> Tenney >> Sent: Wednesday, February 13, 2013 1:03 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >> Mitchell >> Sent: 13 February 2013 10:40 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: CETIS13 >> >> Wasn't planning to. >> If others aren't either what about a scheduled online meeting at some point? >> >> From: >> xerte-dev-bounces at lists.nottingham.ac.uk> ts.nottingham.ac.uk> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >> Tenney >> Sent: 13 February 2013 09:45 >> To: For Xerte technical developers >> Subject: [Xerte-dev] CETIS13 >> >> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk> .uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > _______________________________________________ > 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. _______________________________________________ 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. From ronm at mitchellmedia.co.uk Thu Feb 14 12:22:17 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 14 Feb 2013 12:22:17 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00b401ce0aad$ef7d2860$ce777920$@co.uk> One thought though - there are quite a few installations using Moodle for authentication and they never see the login page e.g. login via moodle and automatically redirected back to their own workspace. But I like the idea of workspace widgets!... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 14 February 2013 11:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 No, not pointless at all, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 11:00 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Smith, John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>> | University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that >>>>>> the template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file >>>>>> in the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Ron Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>> m .a c.uk> >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 From J.J.Smith at gcu.ac.uk Thu Feb 14 12:29:31 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 12:29:31 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Ok, well I suppose that?s another area where we Pat can strip what's there back and modularize... ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 14, 2013 11:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 No, not pointless at all, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 11:00 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" > wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" > wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" > wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney > wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Smith, John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" > wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" > wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" > wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>> | University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" >> wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that >>>>>> the template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file >>>>>> in the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Ron Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> m .a c.uk> >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 14 12:34:58 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 14 Feb 2013 12:34:58 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <00b401ce0aad$ef7d2860$ce777920$@co.uk> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> <00b401ce0aad$ef7d2860$ce777920$@co.uk> Message-ID: Yeah, I think having them generic enough to drop into both areas would be great, if possible, perhaps presenting slightly different info depending on whether a user is logged in or not... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 14, 2013 12:22 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: CETIS13 One thought though - there are quite a few installations using Moodle for authentication and they never see the login page e.g. login via moodle and automatically redirected back to their own workspace. But I like the idea of workspace widgets!... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 14 February 2013 11:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 No, not pointless at all, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 11:00 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 10:32, "Smith, John" wrote: > Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... > > So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 9:41 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > What are you going to use the API to do? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 09:26, "Smith, John" wrote: > >> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Searchable repository of XOTs? >> Errrrr I am sure I wrote that down somewhere >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >> >>> BY all means. Pat had some google docs we were putting some ideas >>> into, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> Smith, John >>> Sent: 13 February 2013 21:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>> >>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 21:42 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> An architecture / hook plan would appeal to me as something to do >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>> >>>> What might make sense to sketch an architecture of what we want the system to support. >>>> >>>> Then we could easily add in things like Wordpress / Drupal hooks >>>> easily >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>> >>>>> Well at least youve left something for the rest of us to do ;-) >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 20:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> At the moment you can turn options off, you can't add new ones in >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>> >>>>>> You've thought of everything... ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>> | University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 18:28 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Tee hee >>>>>> >>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>> >>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>> >>>>>> What's still remaining? I thought from Pat's last updates that >>>>>> the template modularization is pretty much done... >>>>>> >>>>>> However, would it be good to move some of the properties tabs out >>>>>> of where they are and into the actual templates? Things like >>>>>> sharing and permissions might stay (but can perhaps be >>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>> may want some options that allow for example an easy was (a tab >>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>> not the best example but would make it more flexible... again I'm >>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>> admin and content areas... >>>>>> >>>>>> If the tabs were built from an array or JSON object then a file >>>>>> in the template could extend the number and content of the tabs... >>>>>> >>>>>> Should we start putting these ideas all into the existing Google >>>>>> Docs or into a new one and should we ask the community for their >>>>>> wishlist... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health & Life Sciences >>>>>> Glasgow Caledonian University >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Ron Mitchell >>>>>> Sent: 13 February 2013 10:40 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Wasn't planning to. >>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @ >>>>>> li >>>>>> sts.nottingham.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 13 February 2013 09:45 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] CETIS13 >>>>>> >>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>> m .a c.uk> >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> me >>>>>> ,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> 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. >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 6219,en.html >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e, >>>>> 15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Thu Feb 14 13:12:16 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 13:12:16 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> References: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <083905CE-8941-461A-B7A4-AC73BB0D3915@pgogywebstuff.com> It's even worse now...... Every time I go to recycle I wonder why I fill up the entire box Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 11:26, Julian Tenney wrote: >> Pah! I live in a cave! All of this is written on the cave walls! > > I can't see the walls for empty pop bottles. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 14 February 2013 09:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Didn't ask the mammoth it's name > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 09:23, "Smith, John" wrote: > >> Smartboard or chalk? >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Pah! I live in a cave! All of this is written on the cave walls! >> >> And I tried using your googly ducks but no one else wrote anything so >> I assumed I had offended your culture >> >> *walks back to cave* >> *shoots mammoth* >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:08, Julian Tenney wrote: >> >>> Next thing you know he's he'll be writing it down so others find out about it... >>> >>> ;-) >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >>> John >>> Sent: 13 February 2013 18:49 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the template modularization is pretty much done... >>> >>> However, would it be good to move some of the properties tabs out of where they are and into the actual templates? Things like sharing and permissions might stay (but can perhaps be over-ridden). Just thinking that for a jQuery based template you may want some options that allow for example an easy was (a tab with a checkbox within) to switch from using the CDN jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... not the best example but would make it more flexible... again I'm thinking of the way Wordpress/Drupal provides hooks to augment admin and content areas... >>> >>> If the tabs were built from an array or JSON object then a file in the template could extend the number and content of the tabs... >>> >>> Should we start putting these ideas all into the existing Google Docs or into a new one and should we ask the community for their wishlist... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >>> Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >>> Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> .uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> 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. >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 14 13:12:43 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 13:12:43 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <00b001ce0aa7$c663d290$532b77b0$@co.uk> References: <97betejsd0vx1kdfdgr80nu0.1360833795025@email.android.com> <1D1D4871-79A9-427E-B243-9E2A7A8B41FF@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF5C@EXCHANGE1.ad.nottingham.ac.uk> <00b001ce0aa7$c663d290$532b77b0$@co.uk> Message-ID: <859C1A80-A469-484A-BECD-406DD350B56C@pgogywebstuff.com> Please respect my hermit status Thanks Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 11:38, "Ron Mitchell" wrote: > Can we have a virtual tour of the cave? Or is it too dark in there? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 14 February 2013 11:26 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > >> Pah! I live in a cave! All of this is written on the cave walls! > > I can't see the walls for empty pop bottles. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 14 February 2013 09:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Didn't ask the mammoth it's name > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair > to middling quality > > On 14 Feb 2013, at 09:23, "Smith, John" wrote: > >> Smartboard or chalk? >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Pah! I live in a cave! All of this is written on the cave walls! >> >> And I tried using your googly ducks but no one else wrote anything so >> I assumed I had offended your culture >> >> *walks back to cave* >> *shoots mammoth* >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 08:08, Julian Tenney > wrote: >> >>> Next thing you know he's he'll be writing it down so others find out > about it... >>> >>> ;-) >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >>> John >>> Sent: 13 February 2013 18:49 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> You've thought of everything... ;-) >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> [xerte at pgogywebstuff.com] >>> Sent: 13 February 2013 18:28 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Tee hee >>> >>> Look at the .info file and the last line. This is a list of properties > page tabs that this template supports. >>> >>> When drawing the properties panel it checks this array to see what > options to provide. It isn't perfect - but it does allow for toggling to be > put in place. >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 13 Feb 2013, at 16:48, "Smith, John" > > wrote: >>> >>> What's still remaining? I thought from Pat's last updates that the > template modularization is pretty much done... >>> >>> However, would it be good to move some of the properties tabs out of > where they are and into the actual templates? Things like sharing and > permissions might stay (but can perhaps be over-ridden). Just thinking that > for a jQuery based template you may want some options that allow for example > an easy was (a tab with a checkbox within) to switch from using the CDN > jquery link (if for example you are mainly delivering that LO to mobile > devices over 3G) to reduce bandwith... not the best example but would make > it more flexible... again I'm thinking of the way Wordpress/Drupal provides > hooks to augment admin and content areas... >>> >>> If the tabs were built from an array or JSON object then a file in the > template could extend the number and content of the tabs... >>> >>> Should we start putting these ideas all into the existing Google Docs or > into a new one and should we ask the community for their wishlist... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >>> Tenney >>> Sent: Wednesday, February 13, 2013 1:03 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> It would be good to go over this whole modularisation debate, yes, and > look to put it straight. >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron >>> Mitchell >>> Sent: 13 February 2013 10:40 >>> To: 'For Xerte technical developers' >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Wasn't planning to. >>> If others aren't either what about a scheduled online meeting at some > point? >>> >>> From: >>> xerte-dev-bounces at lists.nottingham.ac.uk>> ts.nottingham.ac.uk> >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian >>> Tenney >>> Sent: 13 February 2013 09:45 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] CETIS13 >>> >>> Is anyone planning on attending CETIS13? Pat and I will be there, and > wondered if there was an opportunity for a xerte huddle? >>> >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk>> .uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 15691,en.html >>> >>> _______________________________________________ >>> 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. >> >> _______________________________________________ >> 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. >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > 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. > > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 14 13:16:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 13:16:21 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <00b401ce0aad$ef7d2860$ce777920$@co.uk> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAF58@EXCHANGE1.ad.nottingham.ac.uk> <00b401ce0aad$ef7d2860$ce777920$@co.uk> Message-ID: <670EAEBF-5C7B-4F2A-9CBB-53EEB256ABFB@pgogywebstuff.com> But I have heard rumours you can paste other HTML links into moodle right? Or will that feature be in moodle 3? Widgets would be handy as pods one and two are often empty. This is a road map thing though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 12:22, "Ron Mitchell" wrote: > One thought though - there are quite a few installations using Moodle for authentication and they never see the login page e.g. login via moodle and automatically redirected back to their own workspace. But I like the idea of workspace widgets!... > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 14 February 2013 11:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > No, not pointless at all, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 14 February 2013 11:18 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... > > Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Thursday, February 14, 2013 11:00 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 10:32, "Smith, John" wrote: > >> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >> >> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 9:41 AM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> What are you going to use the API to do? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >> >>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Searchable repository of XOTs? >>> Errrrr I am sure I wrote that down somewhere >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>> >>>> BY all means. Pat had some google docs we were putting some ideas >>>> into, >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Smith, John >>>> Sent: 13 February 2013 21:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>> >>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 21:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> An architecture / hook plan would appeal to me as something to do >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>> >>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>> >>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>> easily >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>> >>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 20:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> At the moment you can turn options off, you can't add new ones in >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>>> of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>> >>>>>>> You've thought of everything... ;-) >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>> | University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>> Sent: 13 February 2013 18:28 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Tee hee >>>>>>> >>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>> >>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>> >>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>> the template modularization is pretty much done... >>>>>>> >>>>>>> However, would it be good to move some of the properties tabs out >>>>>>> of where they are and into the actual templates? Things like >>>>>>> sharing and permissions might stay (but can perhaps be >>>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>>> may want some options that allow for example an easy was (a tab >>>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>> not the best example but would make it more flexible... again I'm >>>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>>> admin and content areas... >>>>>>> >>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>> in the template could extend the number and content of the tabs... >>>>>>> >>>>>>> Should we start putting these ideas all into the existing Google >>>>>>> Docs or into a new one and should we ask the community for their >>>>>>> wishlist... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith >>>>>>> Learning Technologist >>>>>>> School of Health & Life Sciences >>>>>>> Glasgow Caledonian University >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Ron Mitchell >>>>>>> Sent: 13 February 2013 10:40 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Wasn't planning to. >>>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 13 February 2013 09:45 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] CETIS13 >>>>>>> >>>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>>> m .a c.uk> >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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. >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e, >>>>>> 6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e, >>>>>> 15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> This message and any > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Thu Feb 14 13:24:54 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 13:24:54 +0000 Subject: [Xerte-dev] Re: Additional links for a template In-Reply-To: <005f01ce0a37$496aad10$dc400730$@co.uk> References: <2d783a2cdfb280d8c43fd8862bf5223023cd3be8@webmail.hosting.heartinternet.co.uk> <099201ce09d2$198a76d0$4c9f6470$@co.uk> <005f01ce0a37$496aad10$dc400730$@co.uk> Message-ID: Not disagreeing - just I think multiple play urls are an interim feature? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 13 Feb 2013, at 22:12, "Ron Mitchell" wrote: > I can understand the idea of this from a developer point of view but from an end user point of view I think where relevant it's still good to display different links in the properties window ready to click or copy and paste along with the kind of instructions we have now. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 13 February 2013 16:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Additional links for a template > > I think logically we have one play URL for each module > > Then the play code is passed a second variable > > So in non htaccess play.php?template_id=1&type=html5 > > So this way any module developer can increase play options without URL library changing? > > This seems clean to me? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 13 Feb 2013, at 10:08, "Ron Mitchell" wrote: > > Replying to Pat's post but it's obviously relevant to later posts too... > Hi Pat > thanks for the updates and blank canvas template I'll also have a look at that later. But can I clarify if my understanding of all this is correct and having applied the code to an install what currently works and what doesn't... > > 1. new file \modules\xerte\play_links.php > This currently contains a switch to check for Nottingham template and if so displays the additional play_html5 link in properties > > 2. \website_code\php\properties\properties_library.php > This checks for play_links.php and if found displays any links based on the case statement > > So at the moment with your changes in place: > > 3. the default /play.php link displays without reference to play_links.php shouldn't this also be controlled by play_links.php at least until there is a single play link discussed in other threads? > > 4. For an RSS project no link shows > > 5. For a site project no additional link shows > If I add play_site links to url_library.php and a switch statement in play_links.php I can get the play_site link to show is that how it's meant to work? > > Ideally at the moment at least the default /play.php link should be hidden for this template > > There also remains a question about the embed code and whether that should also change but I guess that's lower priority right now > > Ron > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 12 February 2013 20:58 > To: For technical developers > Subject: [Xerte-dev] Additional links for a template > > Hello, > > In the trunk SVN have added extra code to properties_library and the Xerte module. > > Properties_library looks for a file in modules/{module name} called play_links > > In this is a function which depending on the template type (nottingham) then displays extra code. So Nottingham can show the PHP5 and Bootstrap links, but RSS will not > > THIS ASSUMES > > Nottingham and RSS have the same developer - which seems fair enough? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > > > > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 14 13:22:50 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 13:22:50 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> Message-ID: <9EBFCC9E-753A-4336-A89C-A285C0B5A1C2@pgogywebstuff.com> Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. But if we build ways of getting tied in then that'd be cool Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 11:18, "Smith, John" wrote: > You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... > > Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Thursday, February 14, 2013 11:00 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Ok, I have an half api started locally, and I was going to tie it into a moodle repo module eventually - but have loads of other code to plough through > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 10:32, "Smith, John" wrote: > >> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >> >> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 9:41 AM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> What are you going to use the API to do? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >> >>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Searchable repository of XOTs? >>> Errrrr I am sure I wrote that down somewhere >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>> >>>> BY all means. Pat had some google docs we were putting some ideas >>>> into, >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Smith, John >>>> Sent: 13 February 2013 21:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>> >>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 21:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> An architecture / hook plan would appeal to me as something to do >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>> >>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>> >>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>> easily >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>> >>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>>> | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 20:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> At the moment you can turn options off, you can't add new ones in >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>>> of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>> >>>>>>> You've thought of everything... ;-) >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>> | University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>> Sent: 13 February 2013 18:28 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Tee hee >>>>>>> >>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>> >>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>> >>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>> the template modularization is pretty much done... >>>>>>> >>>>>>> However, would it be good to move some of the properties tabs out >>>>>>> of where they are and into the actual templates? Things like >>>>>>> sharing and permissions might stay (but can perhaps be >>>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>>> may want some options that allow for example an easy was (a tab >>>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>> not the best example but would make it more flexible... again I'm >>>>>>> thinking of the way Wordpress/Drupal provides hooks to augment >>>>>>> admin and content areas... >>>>>>> >>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>> in the template could extend the number and content of the tabs... >>>>>>> >>>>>>> Should we start putting these ideas all into the existing Google >>>>>>> Docs or into a new one and should we ask the community for their >>>>>>> wishlist... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith >>>>>>> Learning Technologist >>>>>>> School of Health & Life Sciences >>>>>>> Glasgow Caledonian University >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Ron Mitchell >>>>>>> Sent: 13 February 2013 10:40 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Wasn't planning to. >>>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 13 February 2013 09:45 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] CETIS13 >>>>>>> >>>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>>> m .a c.uk> >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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. >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e, >>>>>> 6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e, >>>>>> 15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> This message and any > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From david at palepurple.co.uk Thu Feb 14 13:28:38 2013 From: david at palepurple.co.uk (David Goodwin) Date: Thu, 14 Feb 2013 13:28:38 +0000 Subject: [Xerte-dev] website_code/php/xmlInspector.php - better error handling Message-ID: Hi, I've improved the error handling and logging within the xmlInspector which is in trunk ?. It now logs the error messages, and won't overwrite the original template file unless whatever is created is valid XML. thanks, David. Pale Purple Ltd. (Company No: 5580814) 'Web and Mobile Application Development for Business' http://www.palepurple.co.uk Office: 0845 0046746 Mobile: 07792380669 Follow us on Twitter: @PalePurpleLtd From thomas.rochford at jiscadvance.ac.uk Thu Feb 14 15:52:21 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 14 Feb 2013 15:52:21 -0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <02e501ce0acb$4761be70$d6253b50$@jiscadvance.ac.uk> Hi, Yes, I'm hoping to be there. I'm currently planning to arrive on the morning of the 12th. I'ld like to talk about Xerte 1.9 installation issues with someone. I've now had two problems with separately hosted installations. 1&1 Linux-based - The 1.9 mysql installation scripts won't run because of a 'syntax error'. This seems to be related to the possible interpolation of a "\n" in the script in the misled of the 'pointer reference' - "toolkits-site->". The syntax error shows the command terminating at the '-' which, maybe co-incidentally, is the point at which the command is split in the text input area on the setup configuration page. Is this something to do with an attribute for these input boxes which is interpreting a line break as "\n" rather than straight wordwrap? Version 1.8 installs, OK on 1&1 but then I find I cannot actually view any templates when I reload 1.9 on top of it. Maybe this is because these are being handled differently and it can't find them with the old site details. As soon as I try to run setup, the same problem as mentioned in the previous paragraph occurs. I'm using the current, January 2013, version from the Nottingham website. EZPC Linux based - EZPC provide a very cheap hosting service for moodle. I tried installing XoT alongside and the server point blank refuses to view the setup files, returning a 403 error, 'access denied' to setup-config.php. I've asked the client to take this up with EZPC but I thought I'ld mention it here in case other people have reported similar problems. I need to put in some more time on both problems, but finding sufficient time to sit down and concentrate on one problem is proving increasing difficult! Kindest Regards, Thomas ========================================================== Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 February 2013 09:45 To: For Xerte technical developers Subject: [Xerte-dev] CETIS13 Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 14 17:10:08 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 14 Feb 2013 17:10:08 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <02e501ce0acb$4761be70$d6253b50$@jiscadvance.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C1CAA2C@EXCHANGE1.ad.nottingham.ac.uk> <02e501ce0acb$4761be70$d6253b50$@jiscadvance.ac.uk> Message-ID: <670C768B-464D-4690-BEE2-EAF2CD5715A4@pgogywebstuff.com> Never heard of setup config? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 15:52, "Thomas Rochford" wrote: > Hi, > > Yes, I?m hoping to be there. I?m currently planning to arrive on the morning of the 12th. > I?ld like to talk about Xerte 1.9 installation issues with someone. I?ve now had two problems with separately hosted installations. > > 1&1 Linux-based ? The 1.9 mysql installation scripts won?t run because of a ?syntax error?. This seems to be related to the possible interpolation of a ?\n? in the script in the misled of the ?pointer reference? - ?toolkits-site->?. The syntax error shows the command terminating at the ?-? which, maybe co-incidentally, is the point at which the command is split in the text input area on the setup configuration page. Is this something to do with an attribute for these input boxes which is interpreting a line break as ?\n? rather than straight wordwrap? > > Version 1.8 installs, OK on 1&1 but then I find I cannot actually view any templates when I reload 1.9 on top of it. Maybe this is because these are being handled differently and it can?t find them with the old site details. As soon as I try to run setup, the same problem as mentioned in the previous paragraph occurs. I?m using the current, January 2013, version from the Nottingham website. > > EZPC Linux based ? EZPC provide a very cheap hosting service for moodle. I tried installing XoT alongside and the server point blank refuses to view the setup files, returning a 403 error, ?access denied? to setup-config.php. I?ve asked the client to take this up with EZPC but I thought I?ld mention it here in case other people have reported similar problems. > > I need to put in some more time on both problems, but finding sufficient time to sit down and concentrate on one problem is proving increasing difficult! > > Kindest Regards, > Thomas > ========================================================== > Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern > Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity > Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern > Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN > For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 February 2013 09:45 > To: For Xerte technical developers > Subject: [Xerte-dev] CETIS13 > > Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu Feb 14 20:37:00 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 14 Feb 2013 21:37:00 +0100 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: References: Message-ID: <511D4AEC.1020104@tor.nl> Thank you David, Please be aware that this code is also used in the context of standalone Xerte. Tom Op 14-2-2013 14:28, David Goodwin schreef: > Hi, > > I've improved the error handling and logging within the xmlInspector which is in trunk ?. > > It now logs the error messages, and won't overwrite the original template file unless whatever is created is valid XML. > > > thanks, > > David. > > Pale Purple Ltd. (Company No: 5580814) > 'Web and Mobile Application Development for Business' > > 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 legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From david at palepurple.co.uk Thu Feb 14 21:24:24 2013 From: david at palepurple.co.uk (David Goodwin) Date: Thu, 14 Feb 2013 21:24:24 +0000 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: <511D4AEC.1020104@tor.nl> References: <511D4AEC.1020104@tor.nl> Message-ID: The implication of that is? I'm not sure I know what "standalone" is. David Tom Reijnders wrote: >Thank you David, > >Please be aware that this code is also used in the context of >standalone >Xerte. > >Tom > >Op 14-2-2013 14:28, David Goodwin schreef: >> Hi, >> >> I've improved the error handling and logging within the xmlInspector >which is in trunk ?. >> >> It now logs the error messages, and won't overwrite the original >template file unless whatever is created is valid XML. >> >> >> thanks, >> >> David. >> >> Pale Purple Ltd. (Company No: 5580814) >> 'Web and Mobile Application Development for Business' >> >> 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 >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 >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. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Thu Feb 14 21:33:58 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 14 Feb 2013 16:33:58 -0500 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: References: , <511D4AEC.1020104@tor.nl>, Message-ID: Standalone = Xerte desktop version. From: david at palepurple.co.uk Date: Thu, 14 Feb 2013 21:24:24 +0000 To: xerte-dev at lists.nottingham.ac.uk; reijnders at tor.nl Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling The implication of that is? I'm not sure I know what "standalone" is. David Tom Reijnders wrote: Thank you David, Please be aware that this code is also used in the context of standalone Xerte. Tom Op 14-2-2013 14:28, David Goodwin schreef: Hi, I've improved the error handling and logging within the xmlInspector which is in trunk ?. It now logs the error messages, and won't overwrite the original template file unless whatever is created is valid XML. thanks, David. Pale Purple Ltd. (Company No: 5580814) 'Web and Mobile Application Development for Business' 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 legislation. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at palepurple.co.uk Thu Feb 14 22:41:04 2013 From: david at palepurple.co.uk (David Goodwin) Date: Thu, 14 Feb 2013 22:41:04 +0000 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: References: , <511D4AEC.1020104@tor.nl>, Message-ID: <51F68C3C-5727-4591-9491-08EFA6203E20@palepurple.co.uk> On 14 Feb 2013, at 21:33, Dave Burnett wrote: > Standalone = Xerte desktop version. > So it executes PHP within the context of a desktop app? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Thu Feb 14 22:48:41 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 14 Feb 2013 17:48:41 -0500 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: <51F68C3C-5727-4591-9491-08EFA6203E20@palepurple.co.uk> References: , , <511D4AEC.1020104@tor.nl>, , , , <51F68C3C-5727-4591-9491-08EFA6203E20@palepurple.co.uk> Message-ID: Not following what Tom was referring to.Just defining standalone. From: david at palepurple.co.uk Date: Thu, 14 Feb 2013 22:41:04 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling On 14 Feb 2013, at 21:33, Dave Burnett wrote:Standalone = Xerte desktop version. So it executes PHP within the context of a desktop app? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri Feb 15 07:52:32 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 15 Feb 2013 08:52:32 +0100 Subject: [Xerte-dev] Re: website_code/php/xmlInspector.php - better error handling In-Reply-To: <51F68C3C-5727-4591-9491-08EFA6203E20@palepurple.co.uk> References: , <511D4AEC.1020104@tor.nl>, <51F68C3C-5727-4591-9491-08EFA6203E20@palepurple.co.uk> Message-ID: <511DE940.90405@tor.nl> Yes, it does, but don't worry about that, I'll verify that it still works ok. Op 14-2-2013 23:41, David Goodwin schreef: > > On 14 Feb 2013, at 21:33, Dave Burnett > wrote: > >> Standalone = Xerte desktop version. >> > > So it executes PHP within the context of a desktop app? > > > > 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Feb 15 16:33:06 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 15 Feb 2013 16:33:06 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: <9EBFCC9E-753A-4336-A89C-A285C0B5A1C2@pgogywebstuff.com> References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <9EBFCC9E-753A-4336-A89C-A285C0B5A1C2@pgogywebstuff.com> Message-ID: Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, February 14, 2013 1:23 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. But if we build ways of getting tied in then that'd be cool Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 14 Feb 2013, at 11:18, "Smith, John" wrote: > You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... > > Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 11:00 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Ok, I have an half api started locally, and I was going to tie it into > a moodle repo module eventually - but have loads of other code to > plough through > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 10:32, "Smith, John" wrote: > >> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >> >> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 9:41 AM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> What are you going to use the API to do? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >> >>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Searchable repository of XOTs? >>> Errrrr I am sure I wrote that down somewhere >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>> >>>> BY all means. Pat had some google docs we were putting some ideas >>>> into, >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> Smith, John >>>> Sent: 13 February 2013 21:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>> >>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>> [xerte at pgogywebstuff.com] >>>> Sent: 13 February 2013 21:42 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> An architecture / hook plan would appeal to me as something to do >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>> >>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>> >>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>> easily >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>> >>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 20:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> At the moment you can turn options off, you can't add new ones in >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>> >>>>>>> You've thought of everything... ;-) >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>> | University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>> Sent: 13 February 2013 18:28 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Tee hee >>>>>>> >>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>> >>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>> >>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>> the template modularization is pretty much done... >>>>>>> >>>>>>> However, would it be good to move some of the properties tabs >>>>>>> out of where they are and into the actual templates? Things like >>>>>>> sharing and permissions might stay (but can perhaps be >>>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>>> may want some options that allow for example an easy was (a tab >>>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>> not the best example but would make it more flexible... again >>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>> augment admin and content areas... >>>>>>> >>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>> in the template could extend the number and content of the tabs... >>>>>>> >>>>>>> Should we start putting these ideas all into the existing Google >>>>>>> Docs or into a new one and should we ask the community for their >>>>>>> wishlist... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith >>>>>>> Learning Technologist >>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Ron Mitchell >>>>>>> Sent: 13 February 2013 10:40 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> Wasn't planning to. >>>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @ >>>>>>> li >>>>>>> sts.nottingham.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 13 February 2013 09:45 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] CETIS13 >>>>>>> >>>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>>> a >>>>>>> m .a c.uk> >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> me >>>>>>> ,6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> me >>>>>>> ,15691,en.html >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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. >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> m >>>>>> e, >>>>>> 6219,en.html >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>> a >>>>>> m >>>>>> e, >>>>>> 15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> This message and any > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Sat Feb 16 16:24:51 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Sat, 16 Feb 2013 16:24:51 +0000 Subject: [Xerte-dev] Re: CETIS13 In-Reply-To: References: <71609EF4-5EDB-4356-A300-ECCA2C21BB0E@pgogywebstuff.com> <7AB1057B-9FF8-4919-93B5-46E8BE8A3E08@pgogywebstuff.com> <9EBFCC9E-753A-4336-A89C-A285C0B5A1C2@pgogywebstuff.com> Message-ID: <939EF54E-673F-42BF-9049-D6DA4D966686@pgogywebstuff.com> Not sure putting XML in the database would gain us much really? Could Cron job the big tasks if it needed it Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 15 Feb 2013, at 16:33, "Smith, John" wrote: > Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... > > I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? > > Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... > > Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Thursday, February 14, 2013 1:23 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. > > But if we build ways of getting tied in then that'd be cool > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 14 Feb 2013, at 11:18, "Smith, John" wrote: > >> You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... >> >> Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 11:00 AM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Ok, I have an half api started locally, and I was going to tie it into >> a moodle repo module eventually - but have loads of other code to >> plough through >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 10:32, "Smith, John" wrote: >> >>> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >>> >>> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: Thursday, February 14, 2013 9:41 AM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> What are you going to use the API to do? >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >>> >>>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Searchable repository of XOTs? >>>> Errrrr I am sure I wrote that down somewhere >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>>> >>>>> BY all means. Pat had some google docs we were putting some ideas >>>>> into, >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Smith, John >>>>> Sent: 13 February 2013 21:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>>> >>>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 21:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> An architecture / hook plan would appeal to me as something to do >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>>> >>>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>>> >>>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>>> easily >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>>> of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>>> >>>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>> Sent: 13 February 2013 20:42 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> At the moment you can turn options off, you can't add new ones in >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>>> >>>>>>>> You've thought of everything... ;-) >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building >>>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>>> | University >>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>> Sent: 13 February 2013 18:28 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> Tee hee >>>>>>>> >>>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>>> >>>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>>> >>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>> things of a fair to middling quality >>>>>>>> >>>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>>> >>>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>>> the template modularization is pretty much done... >>>>>>>> >>>>>>>> However, would it be good to move some of the properties tabs >>>>>>>> out of where they are and into the actual templates? Things like >>>>>>>> sharing and permissions might stay (but can perhaps be >>>>>>>> over-ridden). Just thinking that for a jQuery based template you >>>>>>>> may want some options that allow for example an easy was (a tab >>>>>>>> with a checkbox within) to switch from using the CDN jquery link >>>>>>>> (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>>> not the best example but would make it more flexible... again >>>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>>> augment admin and content areas... >>>>>>>> >>>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>>> in the template could extend the number and content of the tabs... >>>>>>>> >>>>>>>> Should we start putting these ideas all into the existing Google >>>>>>>> Docs or into a new one and should we ask the community for their >>>>>>>> wishlist... >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith >>>>>>>> Learning Technologist >>>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Julian Tenney >>>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Ron Mitchell >>>>>>>> Sent: 13 February 2013 10:40 >>>>>>>> To: 'For Xerte technical developers' >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> Wasn't planning to. >>>>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Julian Tenney >>>>>>>> Sent: 13 February 2013 09:45 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] CETIS13 >>>>>>>> >>>>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>>> number SC021474 >>>>>>>> >>>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,6219,en.html >>>>>>>> >>>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,15691,en.html >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Xerte-dev mailing list >>>>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>>>> a >>>>>>>> m .a c.uk> >>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>>> number SC021474 >>>>>>>> >>>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,6219,en.html >>>>>>>> >>>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,15691,en.html >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> m >>>>>>> e, >>>>>>> 6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/n >>>>>>> a >>>>>>> m >>>>>>> e, >>>>>>> 15691,en.html >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> This message and any >> >> _______________________________________________ >> 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. >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Mon Feb 18 08:00:33 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 18 Feb 2013 09:00:33 +0100 Subject: [Xerte-dev] Too many places with duplicate code, and I lost track.... Message-ID: <5121DFA1.1010804@tor.nl> I've got a problem with a xot installation and a scorm export. This particular RLO is using the embedDiv model, and it works fine if you publish it from XOT, but exported to SCORM (can't test normal export yet, need user credentials first), it doesn't work. As far as I can tell now, it's because the embedDiv tries to call resizePopup, but that doesn't exit in scormRLO.htm. As far as I can tell it doen's exist in modules/xerte/player/RLOobject.htm (used for a normal export) either, and I think it should. A lot of code that is in the rlo object is duplicated. There is a rloObject.js in the root of xerte that is similar but different than the rloObject.js used for export. There is popupCode in play.php, and in scromRLO.htm, rloObject.htm, scorm2004.htm, but the latter 3 miss some functions that are in player.php. At some point in time we should clean this up. For now, Am I correct that resizePopup should be in scromRLO.htm, rloObject.htm, scorm2004.htm? Tnx, Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Mon Feb 18 09:19:42 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 18 Feb 2013 09:19:42 +0000 Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... In-Reply-To: <5121DFA1.1010804@tor.nl> References: <5121DFA1.1010804@tor.nl> Message-ID: <6B47EE5A-9FF9-4FA1-8E99-96CEBD4AAF5C@pgogywebstuff.com> Hello, I think, but am not sure, that only one set of the files is exported now. The code in the modules folder mirrors the desktop XOT export. This part of the code is a bit confused. Pop up should be in all three though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 18 Feb 2013, at 08:00, Tom Reijnders wrote: > I've got a problem with a xot installation and a scorm export. > > This particular RLO is using the embedDiv model, and it works fine if you publish it from XOT, but exported to SCORM (can't test normal export yet, need user credentials first), it doesn't work. > > As far as I can tell now, it's because the embedDiv tries to call resizePopup, but that doesn't exit in scormRLO.htm. As far as I can tell it doen's exist in modules/xerte/player/RLOobject.htm (used for a normal export) either, and I think it should. > > A lot of code that is in the rlo object is duplicated. > > There is a rloObject.js in the root of xerte that is similar but different than the rloObject.js used for export. There is popupCode in play.php, and in scromRLO.htm, rloObject.htm, scorm2004.htm, but the latter 3 miss some functions that are in player.php. > > At some point in time we should clean this up. For now, Am I correct that resizePopup should be in scromRLO.htm, rloObject.htm, scorm2004.htm? > > Tnx, > > Tom > > -- > -- > > 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 > 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. From Julian.Tenney at nottingham.ac.uk Mon Feb 18 09:26:44 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 18 Feb 2013 09:26:44 +0000 Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... In-Reply-To: <6B47EE5A-9FF9-4FA1-8E99-96CEBD4AAF5C@pgogywebstuff.com> References: <5121DFA1.1010804@tor.nl> <6B47EE5A-9FF9-4FA1-8E99-96CEBD4AAF5C@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C2C1640@EXCHANGE1.ad.nottingham.ac.uk> It should be, yes, and agree, we should tidy it up at some point, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 18 February 2013 09:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... Hello, I think, but am not sure, that only one set of the files is exported now. The code in the modules folder mirrors the desktop XOT export. This part of the code is a bit confused. Pop up should be in all three though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 18 Feb 2013, at 08:00, Tom Reijnders wrote: > I've got a problem with a xot installation and a scorm export. > > This particular RLO is using the embedDiv model, and it works fine if you publish it from XOT, but exported to SCORM (can't test normal export yet, need user credentials first), it doesn't work. > > As far as I can tell now, it's because the embedDiv tries to call resizePopup, but that doesn't exit in scormRLO.htm. As far as I can tell it doen's exist in modules/xerte/player/RLOobject.htm (used for a normal export) either, and I think it should. > > A lot of code that is in the rlo object is duplicated. > > There is a rloObject.js in the root of xerte that is similar but different than the rloObject.js used for export. There is popupCode in play.php, and in scromRLO.htm, rloObject.htm, scorm2004.htm, but the latter 3 miss some functions that are in player.php. > > At some point in time we should clean this up. For now, Am I correct that resizePopup should be in scromRLO.htm, rloObject.htm, scorm2004.htm? > > Tnx, > > Tom > > -- > -- > > 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 > 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-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon Feb 18 11:17:19 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 18 Feb 2013 11:17:19 +0000 Subject: [Xerte-dev] Re: API Message-ID: Yeah, I think you are right.. What kind of information do you pass out of XOT just now and what else would you (or anyone else) think would be useful to pass to say Moodle plugins or other sources? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Saturday, February 16, 2013 4:25 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: CETIS13 Not sure putting XML in the database would gain us much really? Could Cron job the big tasks if it needed it Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 15 Feb 2013, at 16:33, "Smith, John" wrote: > Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... > > I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? > > Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... > > Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Thursday, February 14, 2013 1:23 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. > > But if we build ways of getting tied in then that'd be cool > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 14 Feb 2013, at 11:18, "Smith, John" wrote: > >> You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... >> >> Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 11:00 AM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Ok, I have an half api started locally, and I was going to tie it >> into a moodle repo module eventually - but have loads of other code >> to plough through >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 10:32, "Smith, John" wrote: >> >>> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >>> >>> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: Thursday, February 14, 2013 9:41 AM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> What are you going to use the API to do? >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >>> >>>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Searchable repository of XOTs? >>>> Errrrr I am sure I wrote that down somewhere >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>>> >>>>> BY all means. Pat had some google docs we were putting some ideas >>>>> into, >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Smith, John >>>>> Sent: 13 February 2013 21:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>>> >>>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences >>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>> Pgogy [xerte at pgogywebstuff.com] >>>>> Sent: 13 February 2013 21:42 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>> >>>>> An architecture / hook plan would appeal to me as something to do >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>>> >>>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>>> >>>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>>> easily >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>>> >>>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>> Sent: 13 February 2013 20:42 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>> >>>>>>> At the moment you can turn options off, you can't add new ones >>>>>>> in >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>>> >>>>>>>> You've thought of everything... ;-) >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building >>>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>>> | University >>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>> Sent: 13 February 2013 18:28 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> Tee hee >>>>>>>> >>>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>>> >>>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>>> >>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>> things of a fair to middling quality >>>>>>>> >>>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>>> >>>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>>> the template modularization is pretty much done... >>>>>>>> >>>>>>>> However, would it be good to move some of the properties tabs >>>>>>>> out of where they are and into the actual templates? Things >>>>>>>> like sharing and permissions might stay (but can perhaps be >>>>>>>> over-ridden). Just thinking that for a jQuery based template >>>>>>>> you may want some options that allow for example an easy was (a >>>>>>>> tab with a checkbox within) to switch from using the CDN jquery >>>>>>>> link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>>> not the best example but would make it more flexible... again >>>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>>> augment admin and content areas... >>>>>>>> >>>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>>> in the template could extend the number and content of the tabs... >>>>>>>> >>>>>>>> Should we start putting these ideas all into the existing >>>>>>>> Google Docs or into a new one and should we ask the community >>>>>>>> for their wishlist... >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith >>>>>>>> Learning Technologist >>>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> e >>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Julian Tenney >>>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> e >>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Ron Mitchell >>>>>>>> Sent: 13 February 2013 10:40 >>>>>>>> To: 'For Xerte technical developers' >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> Wasn't planning to. >>>>>>>> If others aren't either what about a scheduled online meeting at some point? >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> e >>>>>>>> s >>>>>>>> @ >>>>>>>> li >>>>>>>> sts.nottingham.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Julian Tenney >>>>>>>> Sent: 13 February 2013 09:45 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] CETIS13 >>>>>>>> >>>>>>>> Is anyone planning on attending CETIS13? Pat and I will be there, and wondered if there was an opportunity for a xerte huddle? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>>> number SC021474 >>>>>>>> >>>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1 >>>>>>>> / >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,6219,en.html >>>>>>>> >>>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1 >>>>>>>> / >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,15691,en.html >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Xerte-dev mailing list >>>>>>>> Xerte-dev at lists.nottingham.ac.uk>>>>>>> h >>>>>>>> a >>>>>>>> m .a c.uk> >>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>>> number SC021474 >>>>>>>> >>>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1 >>>>>>>> / >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,6219,en.html >>>>>>>> >>>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1 >>>>>>>> / >>>>>>>> n >>>>>>>> a >>>>>>>> me >>>>>>>> ,15691,en.html >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> >>>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>>> number SC021474 >>>>>>> >>>>>>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> m >>>>>>> e, >>>>>>> 6219,en.html >>>>>>> >>>>>>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/ >>>>>>> n >>>>>>> a >>>>>>> m >>>>>>> e, >>>>>>> 15691,en.html >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>>> This message and any >> >> _______________________________________________ >> 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. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 5691,en.html _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Mon Feb 18 11:37:30 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 18 Feb 2013 11:37:30 +0000 Subject: [Xerte-dev] Re: API In-Reply-To: References: Message-ID: <350F234C-A486-4012-B166-7957661B99D4@pgogywebstuff.com> Ideally build some services and let the infrastructure develop around them I guess. No one really added to the API Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 18 Feb 2013, at 11:17, "Smith, John" wrote: > Yeah, I think you are right.. > > What kind of information do you pass out of XOT just now and what else would you (or anyone else) think would be useful to pass to say Moodle plugins or other sources? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Saturday, February 16, 2013 4:25 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Not sure putting XML in the database would gain us much really? > > Could Cron job the big tasks if it needed it > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 15 Feb 2013, at 16:33, "Smith, John" wrote: > >> Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... >> >> I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? >> >> Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... >> >> Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 1:23 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. >> >> But if we build ways of getting tied in then that'd be cool >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 11:18, "Smith, John" wrote: >> >>> You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... >>> >>> Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: Thursday, February 14, 2013 11:00 AM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok, I have an half api started locally, and I was going to tie it >>> into a moodle repo module eventually - but have loads of other code >>> to plough through >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >>> a fair to middling quality >>> >>> On 14 Feb 2013, at 10:32, "Smith, John" wrote: >>> >>>> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >>>> >>>> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >>>> >>>> Regards, >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health & Life Sciences >>>> Glasgow Caledonian University >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>> Pgogy >>>> Sent: Thursday, February 14, 2013 9:41 AM >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> What are you going to use the API to do? >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >>>> >>>>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Searchable repository of XOTs? >>>>> Errrrr I am sure I wrote that down somewhere >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>>>> >>>>>> BY all means. Pat had some google docs we were putting some ideas >>>>>> into, >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Smith, John >>>>>> Sent: 13 February 2013 21:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>>>> >>>>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>>> | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 21:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> An architecture / hook plan would appeal to me as something to do >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>>> of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>>>> >>>>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>>>> >>>>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>>>> easily >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>>>> >>>>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building >>>>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>> Sent: 13 February 2013 20:42 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> At the moment you can turn options off, you can't add new ones >>>>>>>> in >>>>>>>> >>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>> things of a fair to middling quality >>>>>>>> >>>>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>>>> >>>>>>>>> You've thought of everything... ;-) >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>>> Building >>>>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>>>> | University >>>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>>> ________________________________________ >>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>>> Sent: 13 February 2013 18:28 >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> Tee hee >>>>>>>>> >>>>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>>>> >>>>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>>>> >>>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>>> things of a fair to middling quality >>>>>>>>> >>>>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>>>> >>>>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>>>> the template modularization is pretty much done... >>>>>>>>> >>>>>>>>> However, would it be good to move some of the properties tabs >>>>>>>>> out of where they are and into the actual templates? Things >>>>>>>>> like sharing and permissions might stay (but can perhaps be >>>>>>>>> over-ridden). Just thinking that for a jQuery based template >>>>>>>>> you may want some options that allow for example an easy was (a >>>>>>>>> tab with a checkbox within) to switch from using the CDN jquery >>>>>>>>> link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>>>> not the best example but would make it more flexible... again >>>>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>>>> augment admin and content areas... >>>>>>>>> >>>>>>>>> If the tabs were built from an array or JSON object then a file >>>>>>>>> in the template could extend the number and content of the tabs... >>>>>>>>> >>>>>>>>> Should we start putting these ideas all into the existing >>>>>>>>> Google Docs or into a new one and should we ask the community >>>>>>>>> for their wishlist... >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith >>>>>>>>> Learning Technologist >>>>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>>> Julian Tenney >>>>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xert From Julian.Tenney at nottingham.ac.uk Mon Feb 18 11:43:17 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 18 Feb 2013 11:43:17 +0000 Subject: [Xerte-dev] Re: API In-Reply-To: <350F234C-A486-4012-B166-7957661B99D4@pgogywebstuff.com> References: <350F234C-A486-4012-B166-7957661B99D4@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C2C1781@EXCHANGE1.ad.nottingham.ac.uk> I think this has to be use-case driven as well, probably worth thinking through some of the things you'd like the API to facilitate. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 18 February 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: API Ideally build some services and let the infrastructure develop around them I guess. No one really added to the API Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 18 Feb 2013, at 11:17, "Smith, John" wrote: > Yeah, I think you are right.. > > What kind of information do you pass out of XOT just now and what else would you (or anyone else) think would be useful to pass to say Moodle plugins or other sources? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Saturday, February 16, 2013 4:25 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Not sure putting XML in the database would gain us much really? > > Could Cron job the big tasks if it needed it > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 15 Feb 2013, at 16:33, "Smith, John" wrote: > >> Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... >> >> I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? >> >> Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... >> >> Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 1:23 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. >> >> But if we build ways of getting tied in then that'd be cool >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 11:18, "Smith, John" wrote: >> >>> You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... >>> >>> Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: Thursday, February 14, 2013 11:00 AM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok, I have an half api started locally, and I was going to tie it >>> into a moodle repo module eventually - but have loads of other code >>> to plough through >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 14 Feb 2013, at 10:32, "Smith, John" wrote: >>> >>>> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >>>> >>>> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >>>> >>>> Regards, >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health & Life Sciences >>>> Glasgow Caledonian University >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> @ Pgogy >>>> Sent: Thursday, February 14, 2013 9:41 AM >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> What are you going to use the API to do? >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >>>> >>>>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Searchable repository of XOTs? >>>>> Errrrr I am sure I wrote that down somewhere >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>>>> >>>>>> BY all means. Pat had some google docs we were putting some ideas >>>>>> into, >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Smith, John >>>>>> Sent: 13 February 2013 21:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>>>> >>>>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 21:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> An architecture / hook plan would appeal to me as something to do >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>>>> >>>>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>>>> >>>>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>>>> easily >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>>>> >>>>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building >>>>>>>> | School of Health & Life Sciences Glasgow Caledonian >>>>>>>> | University Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>> Sent: 13 February 2013 20:42 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> At the moment you can turn options off, you can't add new ones >>>>>>>> in >>>>>>>> >>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>> things of a fair to middling quality >>>>>>>> >>>>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>>>> >>>>>>>>> You've thought of everything... ;-) >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>>> Building >>>>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>>>> | University >>>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>>> ________________________________________ >>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>>> Sent: 13 February 2013 18:28 >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> Tee hee >>>>>>>>> >>>>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>>>> >>>>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>>>> >>>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>>> things of a fair to middling quality >>>>>>>>> >>>>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>>>> >>>>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>>>> the template modularization is pretty much done... >>>>>>>>> >>>>>>>>> However, would it be good to move some of the properties tabs >>>>>>>>> out of where they are and into the actual templates? Things >>>>>>>>> like sharing and permissions might stay (but can perhaps be >>>>>>>>> over-ridden). Just thinking that for a jQuery based template >>>>>>>>> you may want some options that allow for example an easy was >>>>>>>>> (a tab with a checkbox within) to switch from using the CDN >>>>>>>>> jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>>>> not the best example but would make it more flexible... again >>>>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>>>> augment admin and content areas... >>>>>>>>> >>>>>>>>> If the tabs were built from an array or JSON object then a >>>>>>>>> file in the template could extend the number and content of the tabs... >>>>>>>>> >>>>>>>>> Should we start putting these ideas all into the existing >>>>>>>>> Google Docs or into a new one and should we ask the community >>>>>>>>> for their wishlist... >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith >>>>>>>>> Learning Technologist >>>>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> c >>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>>> Julian Tenney >>>>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> c >>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xert _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Mon Feb 18 11:47:22 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 18 Feb 2013 12:47:22 +0100 Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C2C1640@EXCHANGE1.ad.nottingham.ac.uk> References: <5121DFA1.1010804@tor.nl> <6B47EE5A-9FF9-4FA1-8E99-96CEBD4AAF5C@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C2C1640@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <923e60be-0dfe-4b0c-8d23-6fa4f36c9af1@email.android.com> I'll yet to fix It for now. Will clean It up later... Julian Tenney schreef: >It should be, yes, and agree, we should tidy it up at some point, > >-----Original Message----- >From: xerte-dev-bounces at lists.nottingham.ac.uk >[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >Pgogy >Sent: 18 February 2013 09:20 >To: For Xerte technical developers >Subject: [Xerte-dev] Re: Too many places with duplicate code, and I >lost track.... > >Hello, > >I think, but am not sure, that only one set of the files is exported >now. The code in the modules folder mirrors the desktop XOT export. >This part of the code is a bit confused. > >Pop up should be in all three though > >Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a >fair to middling quality > >On 18 Feb 2013, at 08:00, Tom Reijnders wrote: > >> I've got a problem with a xot installation and a scorm export. >> >> This particular RLO is using the embedDiv model, and it works fine if >you publish it from XOT, but exported to SCORM (can't test normal >export yet, need user credentials first), it doesn't work. >> >> As far as I can tell now, it's because the embedDiv tries to call >resizePopup, but that doesn't exit in scormRLO.htm. As far as I can >tell it doen's exist in modules/xerte/player/RLOobject.htm (used for a >normal export) either, and I think it should. >> >> A lot of code that is in the rlo object is duplicated. >> >> There is a rloObject.js in the root of xerte that is similar but >different than the rloObject.js used for export. There is popupCode in >play.php, and in scromRLO.htm, rloObject.htm, scorm2004.htm, but the >latter 3 miss some functions that are in player.php. >> >> At some point in time we should clean this up. For now, Am I correct >that resizePopup should be in scromRLO.htm, rloObject.htm, >scorm2004.htm? >> >> Tnx, >> >> Tom >> >> -- >> -- >> >> 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 >> 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-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. -- Verzonden van mijn Android telefoon met K-9 Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon Feb 18 11:58:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 18 Feb 2013 11:58:54 +0000 Subject: [Xerte-dev] Re: API In-Reply-To: <350F234C-A486-4012-B166-7957661B99D4@pgogywebstuff.com> References: <350F234C-A486-4012-B166-7957661B99D4@pgogywebstuff.com> Message-ID: I will add to it - just haven't yet - been working on other stuff for XOT. I'll try to get the api doc updated within the next few days... I'd definitely like categories but any ideas how we could do that with the current setup, also tags or keywords, I know we already have that for the syndication part but not sure whether we're considering these to be the same... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, February 18, 2013 11:38 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: API Ideally build some services and let the infrastructure develop around them I guess. No one really added to the API Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 18 Feb 2013, at 11:17, "Smith, John" wrote: > Yeah, I think you are right.. > > What kind of information do you pass out of XOT just now and what else would you (or anyone else) think would be useful to pass to say Moodle plugins or other sources? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Saturday, February 16, 2013 4:25 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: CETIS13 > > Not sure putting XML in the database would gain us much really? > > Could Cron job the big tasks if it needed it > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 15 Feb 2013, at 16:33, "Smith, John" wrote: > >> Ok, having looked at the database etc last night and the structure or Xerte, we may be struggling to expose much data with the current setup, xml files etc not being database driven... >> >> I can see the keywords related to syndication but would we consider them to be that same as tags and categories if we wanted to break the data down? >> >> Other than that we're limited to what's in the database unless we want to parse xml files each time we get a feed or api hit... >> >> Is it worth migrating some of the xml data to the database and rendering the xml on-the-fly or even updating the database when an LO is published? Not sure what anyone actually needs from the system... but we'd need that data in the database to have any kind of widget collection I think... >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: Thursday, February 14, 2013 1:23 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: CETIS13 >> >> Point of principle - I think we should develop and aim to develop as outside of a VLE. I think XOT has always been about not getting tied into other systems and so on. >> >> But if we build ways of getting tied in then that'd be cool >> >> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of >> a fair to middling quality >> >> On 14 Feb 2013, at 11:18, "Smith, John" wrote: >> >>> You in a sharing mood? ;-) What other stuff would you need in? I'll take a look at the API google doc later and stick in a few things that I could use... >>> >>> Another thought... widgets for the Xerte login page?? Could we do that easily? Tag clouds, stats, who's online, etc etc... Or is that pointless and better handled by Moodle or the like? The issue is that we've sold our soul to the devil and have Blackboard... >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: Thursday, February 14, 2013 11:00 AM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: CETIS13 >>> >>> Ok, I have an half api started locally, and I was going to tie it >>> into a moodle repo module eventually - but have loads of other code >>> to plough through >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>> of a fair to middling quality >>> >>> On 14 Feb 2013, at 10:32, "Smith, John" wrote: >>> >>>> Well for me I'd like to mainly expose data about LOs... I don't think I'll make anything alterable via the api until I figure out how to secure that side of things... and it will only be stuff that you could probably get in another way too, again for now until I see whether it's worth having any security... >>>> >>>> So for example, say you wanted to create a tag cloud of tags, filtered by a particular category, the api could expose that, in different formats... rss, json, jsonc etc... >>>> >>>> Regards, >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health & Life Sciences >>>> Glasgow Caledonian University >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> @ Pgogy >>>> Sent: Thursday, February 14, 2013 9:41 AM >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: CETIS13 >>>> >>>> What are you going to use the API to do? >>>> >>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>> of a fair to middling quality >>>> >>>> On 14 Feb 2013, at 09:26, "Smith, John" wrote: >>>> >>>>> Probably in your cave... How easy would it be to add tagging and/or categories to LOs so that we can filter LOs? Would love to add that functionality to my feed and api functions. >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Searchable repository of XOTs? >>>>> Errrrr I am sure I wrote that down somewhere >>>>> >>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things >>>>> of a fair to middling quality >>>>> >>>>> On 14 Feb 2013, at 08:15, Julian Tenney wrote: >>>>> >>>>>> BY all means. Pat had some google docs we were putting some ideas >>>>>> into, >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Smith, John >>>>>> Sent: 13 February 2013 21:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> Ok well lets start a Google Doc and plan it out - i'd like to help on that one.... >>>>>> >>>>>> Let me do the API too once i've figured out how we're going to use it - might involve some more questions... I'd also like to do an RSS/JSON feed of available LOs from the system (which is different from the RSS Feed template). We would really need this as we plan to make a searchable repository... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> | Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>> Sent: 13 February 2013 21:42 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>> >>>>>> An architecture / hook plan would appeal to me as something to do >>>>>> >>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>> things of a fair to middling quality >>>>>> >>>>>> On 13 Feb 2013, at 21:02, "Pat @ Pgogy" wrote: >>>>>> >>>>>>> What might make sense to sketch an architecture of what we want the system to support. >>>>>>> >>>>>>> Then we could easily add in things like Wordpress / Drupal hooks >>>>>>> easily >>>>>>> >>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>> things of a fair to middling quality >>>>>>> >>>>>>> On 13 Feb 2013, at 20:44, "Smith, John" wrote: >>>>>>> >>>>>>>> Well at least youve left something for the rest of us to do ;-) >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building >>>>>>>> | School of Health & Life Sciences Glasgow Caledonian >>>>>>>> | University Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>> Sent: 13 February 2013 20:42 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>> >>>>>>>> At the moment you can turn options off, you can't add new ones >>>>>>>> in >>>>>>>> >>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>> things of a fair to middling quality >>>>>>>> >>>>>>>> On 13 Feb 2013, at 18:49, "Smith, John" wrote: >>>>>>>> >>>>>>>>> You've thought of everything... ;-) >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>>> Building >>>>>>>>> | School of Health & Life Sciences | Glasgow Caledonian >>>>>>>>> | University >>>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>>> ________________________________________ >>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>>>>>>>> Pgogy [xerte at pgogywebstuff.com] >>>>>>>>> Sent: 13 February 2013 18:28 >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> Tee hee >>>>>>>>> >>>>>>>>> Look at the .info file and the last line. This is a list of properties page tabs that this template supports. >>>>>>>>> >>>>>>>>> When drawing the properties panel it checks this array to see what options to provide. It isn't perfect - but it does allow for toggling to be put in place. >>>>>>>>> >>>>>>>>> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web >>>>>>>>> things of a fair to middling quality >>>>>>>>> >>>>>>>>> On 13 Feb 2013, at 16:48, "Smith, John" > wrote: >>>>>>>>> >>>>>>>>> What's still remaining? I thought from Pat's last updates that >>>>>>>>> the template modularization is pretty much done... >>>>>>>>> >>>>>>>>> However, would it be good to move some of the properties tabs >>>>>>>>> out of where they are and into the actual templates? Things >>>>>>>>> like sharing and permissions might stay (but can perhaps be >>>>>>>>> over-ridden). Just thinking that for a jQuery based template >>>>>>>>> you may want some options that allow for example an easy was >>>>>>>>> (a tab with a checkbox within) to switch from using the CDN >>>>>>>>> jquery link (if for example you are mainly delivering that LO to mobile devices over 3G) to reduce bandwith... >>>>>>>>> not the best example but would make it more flexible... again >>>>>>>>> I'm thinking of the way Wordpress/Drupal provides hooks to >>>>>>>>> augment admin and content areas... >>>>>>>>> >>>>>>>>> If the tabs were built from an array or JSON object then a >>>>>>>>> file in the template could extend the number and content of the tabs... >>>>>>>>> >>>>>>>>> Should we start putting these ideas all into the existing >>>>>>>>> Google Docs or into a new one and should we ask the community >>>>>>>>> for their wishlist... >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> John Smith >>>>>>>>> Learning Technologist >>>>>>>>> School of Health & Life Sciences Glasgow Caledonian University >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> c >>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>>> Julian Tenney >>>>>>>>> Sent: Wednesday, February 13, 2013 1:03 PM >>>>>>>>> To: For Xerte technical developers >>>>>>>>> Subject: [Xerte-dev] Re: CETIS13 >>>>>>>>> >>>>>>>>> It would be good to go over this whole modularisation debate, yes, and look to put it straight. >>>>>>>>> >>>>>>>>> From: >>>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>>> c >>>>>>>>> e >>>>>>>>> s >>>>>>>>> @ >>>>>>>>> li >>>>>>>>> sts.nottingham.ac.uk> >>>>>>>>> [mailto:xert _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Mon Feb 18 13:04:18 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 18 Feb 2013 14:04:18 +0100 Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... In-Reply-To: <923e60be-0dfe-4b0c-8d23-6fa4f36c9af1@email.android.com> References: <5121DFA1.1010804@tor.nl> <6B47EE5A-9FF9-4FA1-8E99-96CEBD4AAF5C@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C2C1640@EXCHANGE1.ad.nottingham.ac.uk> <923e60be-0dfe-4b0c-8d23-6fa4f36c9af1@email.android.com> Message-ID: <512226D2.5070706@tor.nl> Never try to reply in English on a Dutch telephone with a Dutch dictionary.... I'll try to fix it for now, and will properly fix it later. Tom Op 18-2-2013 12:47, Tom Reijnders schreef: > I'll yet to fix It for now. Will clean It up later... > > Julian Tenney schreef: > > It should be, yes, and agree, we should tidy it up at some point, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 18 February 2013 09:20 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Too many places with duplicate code, and I lost track.... > > Hello, > > I think, but am not sure, that only one set of the files is exported now. The code in the modules folder mirrors the desktop XOT export. This part of the code is a bit confused. > > Pop up should be in all three though > > Pgogy Webstuff -http://www.pgogywebstuff.com Makers of web things of a fair to middling quality > > On 18 Feb 2013, at 08:00, Tom Reijnders wrote: > > I've got a problem with a xot installation and a scorm export. > This particular RLO is using the embedDiv model, and it works > fine if you publish it from XOT, but exported to SCORM (can't > test normal export yet, need user credentials first), it > doesn't work. As far as I can tell now, it's because the > embedDiv tries to call resizePopup, but that doesn't exit in > scormRLO.htm. As far as I can tell it doen's exist in > modules/xerte/player/RLOobject.htm (used for a normal export) > either, and I think it should. A lot of code that is in the > rlo object is duplicated. There is a rloObject.js in the root > of xerte that is similar but different than the rloObject.js > used for export. There is popupCode in play.php, and in > scromRLO.htm, rloObject.htm, scorm2004.htm, but the latter 3 > miss some functions that are in player.php. At some point in > time we should clean this up. For now, Am I correct that > resizePopup should be in scromRLO.htm, rloObject.htm, > scorm2004.htm? Tnx, Tom -- -- 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 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-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 delet > e 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. > > > -- > Verzonden van mijn Android telefoon met K-9 Mail. > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 20 10:57:31 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 10:57:31 +0000 Subject: [Xerte-dev] Using Wordpress code in XOT Message-ID: OK, will do after 11am meeting. I see your response: [cid:image001.jpg at 01CE0F59.148C7B60] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19830 bytes Desc: image001.jpg URL: From J.J.Smith at gcu.ac.uk Wed Feb 20 12:31:09 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 12:31:09 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: Message-ID: Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed Feb 20 14:16:43 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 20 Feb 2013 14:16:43 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: Message-ID: What kind of Wordpress file? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 12:31, "Smith, John" wrote: > Please ignore last diagram sent? too many things going on in my head.. > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > John > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 20 15:24:00 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 15:24:00 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: Message-ID: Hi Pat, Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? What do you think? Wasting my time or worth a go? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, February 20, 2013 2:17 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What kind of Wordpress file? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 12:31, "Smith, John" > wrote: Please ignore last diagram sent? too many things going on in my head.. My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Feb 20 15:37:00 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 20 Feb 2013 15:37:00 -0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: Message-ID: <04c301ce0f80$20e174c0$62a45e40$@co.uk> Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. From ronm at mitchellmedia.co.uk Wed Feb 20 15:45:01 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 20 Feb 2013 15:45:01 -0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <04c301ce0f80$20e174c0$62a45e40$@co.uk> References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> Message-ID: <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. From Fay.Cross at nottingham.ac.uk Wed Feb 20 15:55:24 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 20 Feb 2013 15:55:24 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: I was just going to say they're both ok for me but I was in FF - you're right it doesn't work properly in IE anymore. I'm off in a sec until next week so I'll look at it when I'm back (unless John has a chance first) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed Feb 20 15:50:40 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 15:50:40 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <04c301ce0f80$20e174c0$62a45e40$@co.uk> References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> Message-ID: Should be Ron... but leave it with me and I'll look into it. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:37 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed Feb 20 16:09:08 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 16:09:08 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: Ignore that last email. It's my fault... I've used trim and it's causing IE to boke... Sorry, will get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:45 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed Feb 20 16:02:48 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 16:02:48 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: <04c301ce0f80$20e174c0$62a45e40$@co.uk> References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> Message-ID: Both seem to be working for me, although there seems to be a big pause on yours when you press the Submit button... testing using Chrome on Win 7. What are you seeing and with what browser? I updated the code lately for dialog to take care of Tom's issue with comma delimited options but I only did limited testing so could have introduced a bug... Your code seems up to date with the code I added but so is Nottingham for dialog.html model so not sure if it's another file that's causing it... Flash deeplinking has always been a bit flaky for me also... [cid:image001.png at 01CE0F83.4E033AD0] [cid:image002.png at 01CE0F83.4E033AD0] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:37 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross > wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross > wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 170319 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 173816 bytes Desc: image002.png URL: From J.J.Smith at gcu.ac.uk Wed Feb 20 16:11:26 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 16:11:26 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: It's a quick fix... my bad... IE doesn't have a trim method I just need to swap to use $.trim() Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: Wednesday, February 20, 2013 3:55 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page I was just going to say they're both ok for me but I was in FF - you're right it doesn't work properly in IE anymore. I'm off in a sec until next week so I'll look at it when I'm back (unless John has a chance first) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed Feb 20 16:21:09 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 16:21:09 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: Try that now Ron... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: Wednesday, February 20, 2013 4:09 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Ignore that last email. It's my fault... I've used trim and it's causing IE to boke... Sorry, will get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:45 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Wed Feb 20 17:22:36 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 20 Feb 2013 17:22:36 -0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: <04db01ce0f8e$e1990e40$a4cb2ac0$@co.uk> Cheers John can't test right now but will report back later. Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 16:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Try that now Ron... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: Wednesday, February 20, 2013 4:09 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Ignore that last email. It's my fault... I've used trim and it's causing IE to boke... Sorry, will get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:45 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Wed Feb 20 17:41:55 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 20 Feb 2013 17:41:55 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: Message-ID: Hi John Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? The Wordpress action model is ok, but I am not sure if the filters translate as well. I think you could make every part of the site an api request? I think it'd make sense to think of architectures around this? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 15:24, "Smith, John" wrote: > Hi Pat, > > Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? > > Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. > > Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? > > What do you think? Wasting my time or worth a go? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, February 20, 2013 2:17 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > What kind of Wordpress file? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 12:31, "Smith, John" wrote: > > Please ignore last diagram sent? too many things going on in my head.. > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > John > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed Feb 20 19:16:13 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 19:16:13 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT Message-ID: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> Hi I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Hi John Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? The Wordpress action model is ok, but I am not sure if the filters translate as well. I think you could make every part of the site an api request? I think it'd make sense to think of architectures around this? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 15:24, "Smith, John" > wrote: Hi Pat, Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? What do you think? Wasting my time or worth a go? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, February 20, 2013 2:17 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What kind of Wordpress file? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 12:31, "Smith, John" > wrote: Please ignore last diagram sent? too many things going on in my head.. My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Wed Feb 20 20:01:03 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 20 Feb 2013 20:01:03 -0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page In-Reply-To: References: <04c301ce0f80$20e174c0$62a45e40$@co.uk> <04c401ce0f81$3f3e2c00$bdba8400$@co.uk> Message-ID: <050201ce0fa5$03faed80$0bf0c880$@co.uk> Hi John that seems to have done the trick! Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 16:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Try that now Ron... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: Wednesday, February 20, 2013 4:09 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Ignore that last email. It's my fault... I've used trim and it's causing IE to boke... Sorry, will get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:45 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed Feb 20 20:06:23 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 20 Feb 2013 20:06:23 +0000 Subject: [Xerte-dev] Re: Answer delimiter in dialog page Message-ID: Glad it worked... Mental note - test even the smallest change in IE!! Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: Hi John that seems to have done the trick! Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 16:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Try that now Ron... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: Wednesday, February 20, 2013 4:09 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Ignore that last email. It's my fault... I've used trim and it's causing IE to boke... Sorry, will get it fixed asap... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, February 20, 2013 3:45 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi all sorry - ignore all that - just been testing again :-( Seems like it might just be my IE that it's not working on so will do some further testing. Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 20 February 2013 15:37 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi John/all a few quick questions about the latest dialogue page... Is the Nottingham installation up-to-date with svn? The reason I ask is because I've just been testing some options for a Techdis project and noticed my dialogue example works via Flash but not via HTML 5. So I tested the 560 example on the Notts site and my own site which has the latest code from svn. this works http://www.nottingham.ac.uk/toolkits/play_html5.php?template_id=560&page=41 but this doesn't http://mitchellmedia.co.uk/xot/play_html5.php?template_id=20&page=42 and I doubt there's any difference apart from the latest code. Flash version works but you'll have to navigate to page 42 because it looks like the page link isn't working now either :-( Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:22 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page Yeah im pretty sure your code already handles case. I also added in a few trims so that extra spaces were ignored... that should be ok right? Will add in the display of all correct answers i think as it won't 'break' any functionality... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: It probably makes sense to show all correct answers. Unless the possible answers could be things like London or LONDON or London - but I imagine it's the code that ignores the case rather than expecting the person who creates the question to enter possible answers like that. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 February 2013 09:06 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Answer delimiter in dialog page No worries, it was a relatively easy fix... I didn't realise that either... One potential issue though is that on x incorrect answers it gives the first possible correct answer, .split(",")[0] like the flash version does... Do you think this is ok or should it show all possible correct answers? 1 or 2 or 3 for example? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks for looking at this John - I didn't add it to the html version as I didn't know you could do that in the Flash version! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 February 2013 21:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Hi Tom, Give the updated dialog.html file from the SVN a try. It now tries all comma delimited answers like the Flash version. And will be easy to add a line to take a different delimeter from the xml file if present. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 February 2013 20:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Answer delimiter in dialog page Say you ask how many kg there are in 2500g. Type in the correct answer in the answer field as 2,5 (floating point in Dutch). That answer is not accepted if entered by the student in the flash version (xerte or xot). 2 is, and 5 as well. HTML5 version only accepts 2,5 as the correct answer (which is what I want, but breaks previous behaviour. By adding an optional delimiter that will only be used by the page if it set, you can solve this issue. I don't propose to change the comma in to a semi-colon, because that will break previous behaviour as well. Op 13-2-2013 21:33, Smith, John schreef: > Is this in Xerte or in toolkits? > > I'm trying to reproduce and not really able to in XOT. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | > Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > [d_b_burnett at hotmail.com] > Sent: 13 February 2013 20:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Answer delimiter in dialog page > >> by say a semi-colon. > Is there any way to find out if a semi-colon would end up in a > conflict in some other localization? > > > > >> Date: Wed, 13 Feb 2013 21:21:00 +0100 >> From: reijnders at tor.nl >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Answer delimiter in dialog page >> >> The answer in the flash version of the dialog is a ',' delimited >> string of possible answers. I didn't know that at first, and >> wondering why the string 2,5 ( the Dutch notation of the floating >> point number 2.5, we use a decimal comma) wasn't working. So it turns >> out that the comma is used to limit correct answers, so Xerte >> interprets 2,5 as "either 2 or 5". >> >> I've got two problems at the moment. >> >> 1. HTML 5 behaves differently, it doesn't use the comma as a >> delimiter (and I think it should, or some LO's will break) >> >> 2. Do you mind if I introduce an optional delimiter to be able to >> replace the comma, by say a semi-colon. >> >> >> Tom >> >> -- >> -- >> >> 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 >> 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. > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Wed Feb 20 23:38:00 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Wed, 20 Feb 2013 23:38:00 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> References: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> Message-ID: <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> Hello, I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) For example all Ajax could go through one file - and then it feels a bit neater? I'd also need to look at modules as well. Filters work ok as long as code is returned, but most XOT is echoed. I think if you include the licence for the file intact it is fine. Would still like to think a bit architecturally though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 19:16, "Smith, John" wrote: > Hi > > I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... > > And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... > > Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... > > I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. > > Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > Hi John > > Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? > > The Wordpress action model is ok, but I am not sure if the filters translate as well. > > I think you could make every part of the site an api request? > > I think it'd make sense to think of architectures around this? > > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 15:24, "Smith, John" > wrote: > > Hi Pat, > > Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? > > Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. > > Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? > > What do you think? Wasting my time or worth a go? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, February 20, 2013 2:17 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > What kind of Wordpress file? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 12:31, "Smith, John" > wrote: > Please ignore last diagram sent? too many things going on in my head.. > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > John > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Thu Feb 21 00:12:36 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 00:12:36 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> References: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com>, <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> Message-ID: I Agree, Architecture planning would be good... how do you suggest we do it? As for having a single file for things, it is neater but can hinder maintainability - I think it will work either way - it has in my tests, adding the hooks into the ajaxed php file fires the action callbacks and the plugin can react... I like the way some of the Wordpress files work though, plugins in particular - they global the variable in the function and then if it's not set they set it to an empty array etc so everything is contained in the one file and variables are declared the first time the function is used rather than outside the function when the file is included... The Wordpress file is intact, renamed to wp-plugins, but intact, which is the way i'd like it, so that we don't have to maintain it!! So onto tonight, I've basically created a plugins.php file in the root and a plugins folder, containing my sample plugins (these can now be a single .php file or a folder containing a .php file and other fies in a structure not dissimilar to Wordpress)... When you include plugins.php in a php script near the start then it looks like you can now add do_action() or apply_filters() anywhere in the file and any plugins you have are hooked up. I've just hooked up a few more php files (just playing just now - i won't commit my changes) and the hooks seem to be working flawlessly... and i've created another plugin which is now doing as I described earlier, only it was easier. When the editor publishes the data i have added both "editor_save_data" and "editor_save_preview" hooks in the engine/save.php file. In my plugin I have an editor_save_data callback and it is adding a new first node as a kind of standard opening page and returning the xml for saving... You are right though that the filters are of limited use just now since most content is echoed out. I think we need to really decide what we want to allow people to hook into and change and we can have a very limited subset of hooks initially... Last thing - do you prefer Rest or Soap (for the api, not for your bath!!). Do you prefer one over the other or will I just cobble something together to get a flavour for how it will work but with the aim to possibly change it later? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 20 February 2013 23:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Hello, I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) For example all Ajax could go through one file - and then it feels a bit neater? I'd also need to look at modules as well. Filters work ok as long as code is returned, but most XOT is echoed. I think if you include the licence for the file intact it is fine. Would still like to think a bit architecturally though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 19:16, "Smith, John" wrote: > Hi > > I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... > > And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... > > Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... > > I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. > > Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > Hi John > > Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? > > The Wordpress action model is ok, but I am not sure if the filters translate as well. > > I think you could make every part of the site an api request? > > I think it'd make sense to think of architectures around this? > > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 15:24, "Smith, John" > wrote: > > Hi Pat, > > Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? > > Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. > > Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? > > What do you think? Wasting my time or worth a go? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, February 20, 2013 2:17 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > What kind of Wordpress file? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 12:31, "Smith, John" > wrote: > Please ignore last diagram sent? too many things going on in my head.. > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > John > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Thu Feb 21 07:48:47 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 21 Feb 2013 08:48:47 +0100 Subject: [Xerte-dev] Media upload problems in the wizard (xot) Message-ID: <5125D15F.3060808@tor.nl> Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. I've got this problem on 3 different installations (two on Linux, one on a Windows server using xampp) Regards, Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Thu Feb 21 08:08:52 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 21 Feb 2013 08:08:52 -0000 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <5125D15F.3060808@tor.nl> References: <5125D15F.3060808@tor.nl> Message-ID: <053501ce100a$b0e77800$12b66800$@co.uk> Hi Tom I'm not seeing that problem - could it be caching of older js or something? Are your 3 installations up-to-date from the svn? Try the Techdis test install do you see the same problem there? I don't and that's up-to-date from the svn. I do regularly see the pop-up window appear behind the editor window which can be easily missed and I'm sure that never used to happen with earlier versions but I know that's been discussed previously. 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: 21 February 2013 07:49 To: For Xerte technical developers Subject: [Xerte-dev] Media upload problems in the wizard (xot) Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. I've got this problem on 3 different installations (two on Linux, one on a Windows server using xampp) Regards, Tom -- -- 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 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. From J.J.Smith at gcu.ac.uk Thu Feb 21 08:09:45 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 08:09:45 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT Message-ID: <6mqsakwkc4u8wudw0brv0uow.1361434182129@email.android.com> Oh and i meant to say that wordpress files are really fragmented too - i'd say more than yours Pat although you could say the structure is better in Wordpress but that's evolved over a lot more versions... I know what you mean about everything going through index though but the action and filter hooks are spread throughout all the includes so we in comparison have less files to hook - the do_action needs to be in the function doing the work so it shouldn't really matter where it is as long as we know where and hoe to use it... I think we need to look at the terminology though as we have so many different terms - LOs, modules, projects, templates, pods, and now potentially plugins and possibly widgets (although would/should that replace pods) and would we then want themes???? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Hello, I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) For example all Ajax could go through one file - and then it feels a bit neater? I'd also need to look at modules as well. Filters work ok as long as code is returned, but most XOT is echoed. I think if you include the licence for the file intact it is fine. Would still like to think a bit architecturally though Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 20 Feb 2013, at 19:16, "Smith, John" wrote: > Hi > > I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... > > And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... > > Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... > > I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. > > Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > Hi John > > Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? > > The Wordpress action model is ok, but I am not sure if the filters translate as well. > > I think you could make every part of the site an api request? > > I think it'd make sense to think of architectures around this? > > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 15:24, "Smith, John" > wrote: > > Hi Pat, > > Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? > > Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. > > Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? > > What do you think? Wasting my time or worth a go? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, February 20, 2013 2:17 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > What kind of Wordpress file? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 12:31, "Smith, John" > wrote: > Please ignore last diagram sent? too many things going on in my head.. > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > John > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Thu Feb 21 09:27:46 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 21 Feb 2013 09:27:46 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <6mqsakwkc4u8wudw0brv0uow.1361434182129@email.android.com> References: <6mqsakwkc4u8wudw0brv0uow.1361434182129@email.android.com> Message-ID: <4F3FE55F-1FB6-47E6-9A41-EC43760F4DC9@pgogywebstuff.com> The Wordpress code sends everything through index, whereas XOT sends the first thing through index and then it is all Ajax. Then you unlock the hidden nightmare level - who is the we? To me themes are essential. But that's a can of worms so big it hurts. This is where you get to join me in the cave - the dangers of developing stuff that sorts stuff for you, but might not be developing for everyone else. The fix your own problems approach at this stage might end up a little bit piece meal Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 21 Feb 2013, at 08:09, "Smith, John" wrote: > Oh and i meant to say that wordpress files are really fragmented too - i'd say more than yours Pat although you could say the structure is better in Wordpress but that's evolved over a lot more versions... > > I know what you mean about everything going through index though but the action and filter hooks are spread throughout all the includes so we in comparison have less files to hook - the do_action needs to be in the function doing the work so it shouldn't really matter where it is as long as we know where and hoe to use it... > > I think we need to look at the terminology though as we have so many different terms - LOs, modules, projects, templates, pods, and now potentially plugins and possibly widgets (although would/should that replace pods) and would we then want themes???? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > Hello, > > I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) > > For example all Ajax could go through one file - and then it feels a bit neater? > > I'd also need to look at modules as well. > > Filters work ok as long as code is returned, but most XOT is echoed. > > I think if you include the licence for the file intact it is fine. > > Would still like to think a bit architecturally though > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 19:16, "Smith, John" wrote: > >> Hi >> >> I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... >> >> And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... >> >> Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... >> >> I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. >> >> Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> "Pat @ Pgogy" wrote: >> >> >> Hi John >> >> Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? >> >> The Wordpress action model is ok, but I am not sure if the filters translate as well. >> >> I think you could make every part of the site an api request? >> >> I think it'd make sense to think of architectures around this? >> >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 15:24, "Smith, John" > wrote: >> >> Hi Pat, >> >> Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? >> >> Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. >> >> Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? >> >> What do you think? Wasting my time or worth a go? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> Sent: Wednesday, February 20, 2013 2:17 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Using Wordpress code in XOT >> >> What kind of Wordpress file? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 12:31, "Smith, John" > wrote: >> Please ignore last diagram sent? too many things going on in my head.. >> >> My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? >> >> John >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Thu Feb 21 10:07:26 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 21 Feb 2013 10:07:26 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> Message-ID: <282E03FA-78F9-4CA6-B8B7-86109ECA75E5@pgogywebstuff.com> I think some sort of list works first - then some basic tasks to make some work easier. For example, we should really neaten up the root folder, and completely abstract the database for example. I'd be tempted to send all Ajax through one file and turn all the responses into Json as well. You really should come to the cetis conference? Maybe we could sort out a Skype or something and get a few people involved? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 21 Feb 2013, at 00:12, "Smith, John" wrote: > I Agree, > > Architecture planning would be good... how do you suggest we do it? > > As for having a single file for things, it is neater but can hinder maintainability - I think it will work either way - it has in my tests, adding the hooks into the ajaxed php file fires the action callbacks and the plugin can react... I like the way some of the Wordpress files work though, plugins in particular - they global the variable in the function and then if it's not set they set it to an empty array etc so everything is contained in the one file and variables are declared the first time the function is used rather than outside the function when the file is included... > > The Wordpress file is intact, renamed to wp-plugins, but intact, which is the way i'd like it, so that we don't have to maintain it!! > > So onto tonight, I've basically created a plugins.php file in the root and a plugins folder, containing my sample plugins (these can now be a single .php file or a folder containing a .php file and other fies in a structure not dissimilar to Wordpress)... > > When you include plugins.php in a php script near the start then it looks like you can now add do_action() or apply_filters() anywhere in the file and any plugins you have are hooked up. I've just hooked up a few more php files (just playing just now - i won't commit my changes) and the hooks seem to be working flawlessly... and i've created another plugin which is now doing as I described earlier, only it was easier. When the editor publishes the data i have added both "editor_save_data" and "editor_save_preview" hooks in the engine/save.php file. In my plugin I have an editor_save_data callback and it is adding a new first node as a kind of standard opening page and returning the xml for saving... > > You are right though that the filters are of limited use just now since most content is echoed out. I think we need to really decide what we want to allow people to hook into and change and we can have a very limited subset of hooks initially... > > Last thing - do you prefer Rest or Soap (for the api, not for your bath!!). Do you prefer one over the other or will I just cobble something together to get a flavour for how it will work but with the aim to possibly change it later? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 20 February 2013 23:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > Hello, > > I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) > > For example all Ajax could go through one file - and then it feels a bit neater? > > I'd also need to look at modules as well. > > Filters work ok as long as code is returned, but most XOT is echoed. > > I think if you include the licence for the file intact it is fine. > > Would still like to think a bit architecturally though > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 19:16, "Smith, John" wrote: > >> Hi >> >> I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... >> >> And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... >> >> Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... >> >> I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. >> >> Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> "Pat @ Pgogy" wrote: >> >> >> Hi John >> >> Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? >> >> The Wordpress action model is ok, but I am not sure if the filters translate as well. >> >> I think you could make every part of the site an api request? >> >> I think it'd make sense to think of architectures around this? >> >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 15:24, "Smith, John" > wrote: >> >> Hi Pat, >> >> Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? >> >> Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. >> >> Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? >> >> What do you think? Wasting my time or worth a go? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> Sent: Wednesday, February 20, 2013 2:17 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Using Wordpress code in XOT >> >> What kind of Wordpress file? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 12:31, "Smith, John" > wrote: >> Please ignore last diagram sent? too many things going on in my head.. >> >> My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? >> >> John >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From xerte at pgogywebstuff.com Thu Feb 21 09:15:05 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 21 Feb 2013 09:15:05 +0000 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <5125D15F.3060808@tor.nl> References: <5125D15F.3060808@tor.nl> Message-ID: <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> Do we think it is a flash problem? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 21 Feb 2013, at 07:48, Tom Reijnders wrote: > Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. > > It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. > > I've got this problem on 3 different installations (two on Linux, one on a Windows server using xampp) > > Regards, > > Tom > > -- > -- > > 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 > 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. From Julian.Tenney at nottingham.ac.uk Thu Feb 21 10:46:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 10:46:38 +0000 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> References: <5125D15F.3060808@tor.nl> <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B45@EXCHANGE1.ad.nottingham.ac.uk> I don't know, because we'd be able to reproduce it. I can't reproduce it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 21 February 2013 09:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) Do we think it is a flash problem? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 21 Feb 2013, at 07:48, Tom Reijnders wrote: > Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. > > It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. > > I've got this problem on 3 different installations (two on Linux, one > on a Windows server using xampp) > > Regards, > > Tom > > -- > -- > > 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 > 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-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Thu Feb 21 10:54:36 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 21 Feb 2013 11:54:36 +0100 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <053501ce100a$b0e77800$12b66800$@co.uk> References: <5125D15F.3060808@tor.nl> <053501ce100a$b0e77800$12b66800$@co.uk> Message-ID: <5125FCEC.60308@tor.nl> I'll check it on your install. I double-checked, and it's not that the window appears behind the editor... Tom Op 21-2-2013 9:08, Ron Mitchell schreef: > Hi Tom > I'm not seeing that problem - could it be caching of older js or something? > Are your 3 installations up-to-date from the svn? > Try the Techdis test install do you see the same problem there? I don't and > that's up-to-date from the svn. > I do regularly see the pop-up window appear behind the editor window which > can be easily missed and I'm sure that never used to happen with earlier > versions but I know that's been discussed previously. > 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: 21 February 2013 07:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Media upload problems in the wizard (xot) > > Has anybody figured out why the media upload in the wizard doen't work > anymore after a preview (either flash or HTML5). It is fine before any > preview, and it is fine as long as you keep the preview open. > > It looks like the call back event is fired (i.e. the mouse is active, and > the media upload button reacts to mouse over etc, but somehow the event is > not hooked to the callback function anymore. You need to close and restart > the wizard to upload any media again. > > I've got this problem on 3 different installations (two on Linux, one on a > Windows server using xampp) > > Regards, > > Tom > > -- > -- > > 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 > 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-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 From reijnders at tor.nl Thu Feb 21 10:55:18 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 21 Feb 2013 11:55:18 +0100 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> References: <5125D15F.3060808@tor.nl> <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> Message-ID: <5125FD16.5050709@tor.nl> Well for sure, it's happening in Flash (in wizard.swf). Op 21-2-2013 10:15, Pat @ Pgogy schreef: > Do we think it is a flash problem? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 21 Feb 2013, at 07:48, Tom Reijnders wrote: > >> Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. >> >> It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. >> >> I've got this problem on 3 different installations (two on Linux, one on a Windows server using xampp) >> >> Regards, >> >> Tom >> >> -- >> -- >> >> 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 >> 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-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 From Julian.Tenney at nottingham.ac.uk Thu Feb 21 11:02:24 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 11:02:24 +0000 Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) In-Reply-To: <5125FD16.5050709@tor.nl> References: <5125D15F.3060808@tor.nl> <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> <5125FD16.5050709@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B74@EXCHANGE1.ad.nottingham.ac.uk> Can you demonstrate it's the flash code failing? -----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: 21 February 2013 10:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: Media upload problems in the wizard (xot) Well for sure, it's happening in Flash (in wizard.swf). Op 21-2-2013 10:15, Pat @ Pgogy schreef: > Do we think it is a flash problem? > > Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of > a fair to middling quality > > On 21 Feb 2013, at 07:48, Tom Reijnders wrote: > >> Has anybody figured out why the media upload in the wizard doen't work anymore after a preview (either flash or HTML5). It is fine before any preview, and it is fine as long as you keep the preview open. >> >> It looks like the call back event is fired (i.e. the mouse is active, and the media upload button reacts to mouse over etc, but somehow the event is not hooked to the callback function anymore. You need to close and restart the wizard to upload any media again. >> >> I've got this problem on 3 different installations (two on Linux, one >> on a Windows server using xampp) >> >> Regards, >> >> Tom >> >> -- >> -- >> >> 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 >> 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-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 From Julian.Tenney at nottingham.ac.uk Thu Feb 21 11:04:09 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 11:04:09 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 11:08:23 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 11:08:23 +0000 Subject: [Xerte-dev] FW: XOT slides disappearing Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B85@EXCHANGE1.ad.nottingham.ac.uk> These issues have been addressed? I think it's the one with dodgy characters in the xml somewhere? Our install isn't up to date at the moment so it could be this is already fixed in the svn? Hi Julian, Seem to be having a problem exporting the new Salmonella project at http://www.nottingham.ac.uk/toolkits/play_7959 If I choose either 'Export Zip Link' or Export Zip Archive Link', it will try to launch http://www.nottingham.ac.uk/toolkits/export_full_7959 but my browser gives this error: "Server error - The website encountered an error while retrieving http://www.nottingham.ac.uk/toolkits/export_full_7959. It may be down for maintenance or configured incorrectly." I've tried creating a new version by duplicating, but that doesn't work either - perhaps something went wrong when it was recovered from the backup last week? This doesn't happen with any other projects - they all still export to ZIP fine. On a related note, I've noticed that the SCORM exports for all my projects seem to throw up a 404 error. I'm pretty sure the 'export' tab in properties used to display some additional instructions but now just reads 'EXPORT_DESCRIPTION' so perhaps something is not right here? If you have chance to look at this that would be great. From J.J.Smith at gcu.ac.uk Thu Feb 21 11:20:38 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 11:20:38 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 11:27:54 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 11:27:54 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405BBA@EXCHANGE1.ad.nottingham.ac.uk> Then I think you can include it, it's more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 21 11:51:50 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 11:51:50 +0000 Subject: [Xerte-dev] Re: XOT slides disappearing In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B85@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B85@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Hi Julian, I ran the XML through http://www.w3schools.com/xml/xml_validator.asp and found that the space in this sentence (on slide 27) between 'antibody.' and 'The' was throwing an error - "produced we could also use an ELISA to detect antibody. The following" Not sure why the Flash player ignores it but the PHP doesn't though... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:08 AM To: For Xerte technical developers Subject: [Xerte-dev] FW: XOT slides disappearing These issues have been addressed? I think it's the one with dodgy characters in the xml somewhere? Our install isn't up to date at the moment so it could be this is already fixed in the svn? Hi Julian, Seem to be having a problem exporting the new Salmonella project at http://www.nottingham.ac.uk/toolkits/play_7959 If I choose either 'Export Zip Link' or Export Zip Archive Link', it will try to launch http://www.nottingham.ac.uk/toolkits/export_full_7959 but my browser gives this error: "Server error - The website encountered an error while retrieving http://www.nottingham.ac.uk/toolkits/export_full_7959. It may be down for maintenance or configured incorrectly." I've tried creating a new version by duplicating, but that doesn't work either - perhaps something went wrong when it was recovered from the backup last week? This doesn't happen with any other projects - they all still export to ZIP fine. On a related note, I've noticed that the SCORM exports for all my projects seem to throw up a 404 error. I'm pretty sure the 'export' tab in properties used to display some additional instructions but now just reads 'EXPORT_DESCRIPTION' so perhaps something is not right here? If you have chance to look at this that would be great. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 11:57:03 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 11:57:03 +0000 Subject: [Xerte-dev] Re: XOT slides disappearing In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B85@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405C10@EXCHANGE1.ad.nottingham.ac.uk> Thanks! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: XOT slides disappearing Hi Julian, I ran the XML through http://www.w3schools.com/xml/xml_validator.asp and found that the space in this sentence (on slide 27) between 'antibody.' and 'The' was throwing an error - "produced we could also use an ELISA to detect antibody. The following" Not sure why the Flash player ignores it but the PHP doesn't though... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:08 AM To: For Xerte technical developers Subject: [Xerte-dev] FW: XOT slides disappearing These issues have been addressed? I think it's the one with dodgy characters in the xml somewhere? Our install isn't up to date at the moment so it could be this is already fixed in the svn? Hi Julian, Seem to be having a problem exporting the new Salmonella project at http://www.nottingham.ac.uk/toolkits/play_7959 If I choose either 'Export Zip Link' or Export Zip Archive Link', it will try to launch http://www.nottingham.ac.uk/toolkits/export_full_7959 but my browser gives this error: "Server error - The website encountered an error while retrieving http://www.nottingham.ac.uk/toolkits/export_full_7959. It may be down for maintenance or configured incorrectly." I've tried creating a new version by duplicating, but that doesn't work either - perhaps something went wrong when it was recovered from the backup last week? This doesn't happen with any other projects - they all still export to ZIP fine. On a related note, I've noticed that the SCORM exports for all my projects seem to throw up a 404 error. I'm pretty sure the 'export' tab in properties used to display some additional instructions but now just reads 'EXPORT_DESCRIPTION' so perhaps something is not right here? If you have chance to look at this that would be great. _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 21 12:43:40 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 12:43:40 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405BBA@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405BBA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Ok, that is the general idea but if we can include a particular version then at least we'll know the SVN works with that version... then we can test the latest and include the latest one that works... Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat's modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release... I knkow Pat seems to embrace the uncertainty but I'm still cautious about overloading the main trunk with my potentially buggy code... ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Then I think you can include it, it's more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 13:44:02 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405B7A@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405BBA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don't want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as a 'tidy up' release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 12:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Ok, that is the general idea but if we can include a particular version then at least we'll know the SVN works with that version... then we can test the latest and include the latest one that works... Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat's modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release... I knkow Pat seems to embrace the uncertainty but I'm still cautious about overloading the main trunk with my potentially buggy code... ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Then I think you can include it, it's more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu Feb 21 13:40:32 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 21 Feb 2013 13:40:32 -0000 Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Message-ID: <05ab01ce1039$06c16140$144423c0$@co.uk> Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 14:19:48 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 14:19:48 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <05ab01ce1039$06c16140$144423c0$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D00@EXCHANGE1.ad.nottingham.ac.uk> Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? Fay's already done that IIRC. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 21 February 2013 13:41 To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 21 14:44:24 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 14:44:24 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <05ab01ce1039$06c16140$144423c0$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> Message-ID: Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 14:45:06 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 14:45:06 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 21 15:07:16 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 15:07:16 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 15:33:18 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 15:33:18 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Feb 21 15:50:33 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 21 Feb 2013 15:50:33 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE104A.FC4BE660] [cid:image002.png at 01CE104A.FC4BE660] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From xerte at pgogywebstuff.com Thu Feb 21 17:23:37 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Thu, 21 Feb 2013 17:23:37 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: this is the thing from the other day though again - who owns the zip? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Thu, 21 Feb 2013 13:44:02 +0000 Subject:[Xerte-dev] Re: Using Wordpress code in XOT By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don?t want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as? a ?tidy up? release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Smith, John SENT: 21 February 2013 12:44 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Using Wordpress code in XOT ? Ok, that is the general idea but if we can include a particular version then at least we?ll know the SVN works with that version? then we can test the latest and include the latest one that works? ? Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat?s modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release? I knkow Pat seems to embrace the uncertainty but I?m still cautious about overloading the main trunk with my potentially buggy code? ;-) ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Julian Tenney SENT: Thursday, February 21, 2013 11:28 AM TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Using Wordpress code in XOT ? Then I think you can include it, it?s more ca se of whether it a better idea to refer people to a kept up to date source? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [3] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4]] ON BEHALF OF Smith, John SENT: 21 February 2013 11:21 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Using Wordpress code in XOT ? GPL http://codex.wordpress.org/License [5] ? ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [6] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7]] ON BEHALF OF Julian Tenney SENT: Thursday, February 21, 2013 11:04 AM TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Using Wordpress code in XOT ? What license is WordPress? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [8] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9]] ON BEHALF OF Smith, John SENT: 20 February 2013 12:31 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Using Wordpress code in XOT ? Please ignore last diagram sent? too many things going on in my head.. ? My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? ? John ? ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [10] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [11] ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [12] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [13] ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [14] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [15] Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.acuk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [5] http://codex.wordpress.org/License [6] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [10] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [11] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [12] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [13] http://www.gcuac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [14] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [15] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu Feb 21 17:21:35 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Thu, 21 Feb 2013 17:21:35 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched videoand the plain video page? Also Popcorn example... In-Reply-To: Message-ID: <70853a51435adc8b09b34eb11c280be1b5870205@webmail.hosting.heartinternet.co.uk> There is a PDF JS library now as well? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "Smith, John" To:"For Xerte technical developers" Cc: Sent:Thu, 21 Feb 2013 15:07:16 +0000 Subject:[Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though? ? I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed? that would be neat? ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Julian Tenney SENT: Thursday, February 21, 2013 2:45 PM TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Smith, John SENT: 21 February 2013 14:44 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? Hi Ron, ? Wasn?t aware of Popcorn before ? looks good, will have to give it a try. ? As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [3] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4]] ON BEHALF OF Ron Mitchell SENT: Thursday, February 21, 2013 1:41 PM TO: 'For Xerte technical developers' SUBJECT: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? ? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? ? I know Fay isn't around until next week now but posting this now while I have time. ? Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcornwebmaker.org/ [5] but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 [6] ? Cheers Ron ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [7] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [8] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [5] https://popcorn.webmaker.org/ [6] http://mitchellmedia.co.uk/xot/play_html5_53 [7] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [8] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu Feb 21 17:57:46 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 21 Feb 2013 17:57:46 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched videoand the plain video page? Also Popcorn example... Message-ID: Yeah and a few that can interpret swfs, although they're not mature yet. Also learned only the other day that you can run native x86 code in Chrome now too so browser based apps could soon surpass what even html5 and js can achieve. Happy days... :-) Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "xerte at pgogywebstuff.com" wrote: There is a PDF JS library now as well Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "Smith, John" To: "For Xerte technical developers" Cc: Sent: Thu, 21 Feb 2013 15:07:16 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though? I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed? that would be neat? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Thu Feb 21 19:02:30 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Thu, 21 Feb 2013 19:02:30 +0000 Subject: [Xerte-dev] Re: media upload In-Reply-To: <5125FD16.5050709@tor.nl> References: <5125D15F.3060808@tor.nl> <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> <5125FD16.5050709@tor.nl> Message-ID: Ah the php upload script changed recently though. Might be related From J.J.Smith at gcu.ac.uk Fri Feb 22 00:46:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 22 Feb 2013 00:46:54 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <282E03FA-78F9-4CA6-B8B7-86109ECA75E5@pgogywebstuff.com> References: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> , <282E03FA-78F9-4CA6-B8B7-86109ECA75E5@pgogywebstuff.com> Message-ID: Cetis is sold out :-( registered for the waiting list happy to Skype though and/or get together at the same time on Titanpad or Google Docs to flesh out a plan of attack... I'll have the plugins code done soon and i'll patch a few files to demo and circulate a couple of my plugins to try out. Might not get much done this weekend though - need to build a papier mache pterodactyl for a School project. Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 21 February 2013 10:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT I think some sort of list works first - then some basic tasks to make some work easier. For example, we should really neaten up the root folder, and completely abstract the database for example. I'd be tempted to send all Ajax through one file and turn all the responses into Json as well. You really should come to the cetis conference? Maybe we could sort out a Skype or something and get a few people involved? Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 21 Feb 2013, at 00:12, "Smith, John" wrote: > I Agree, > > Architecture planning would be good... how do you suggest we do it? > > As for having a single file for things, it is neater but can hinder maintainability - I think it will work either way - it has in my tests, adding the hooks into the ajaxed php file fires the action callbacks and the plugin can react... I like the way some of the Wordpress files work though, plugins in particular - they global the variable in the function and then if it's not set they set it to an empty array etc so everything is contained in the one file and variables are declared the first time the function is used rather than outside the function when the file is included... > > The Wordpress file is intact, renamed to wp-plugins, but intact, which is the way i'd like it, so that we don't have to maintain it!! > > So onto tonight, I've basically created a plugins.php file in the root and a plugins folder, containing my sample plugins (these can now be a single .php file or a folder containing a .php file and other fies in a structure not dissimilar to Wordpress)... > > When you include plugins.php in a php script near the start then it looks like you can now add do_action() or apply_filters() anywhere in the file and any plugins you have are hooked up. I've just hooked up a few more php files (just playing just now - i won't commit my changes) and the hooks seem to be working flawlessly... and i've created another plugin which is now doing as I described earlier, only it was easier. When the editor publishes the data i have added both "editor_save_data" and "editor_save_preview" hooks in the engine/save.php file. In my plugin I have an editor_save_data callback and it is adding a new first node as a kind of standard opening page and returning the xml for saving... > > You are right though that the filters are of limited use just now since most content is echoed out. I think we need to really decide what we want to allow people to hook into and change and we can have a very limited subset of hooks initially... > > Last thing - do you prefer Rest or Soap (for the api, not for your bath!!). Do you prefer one over the other or will I just cobble something together to get a flavour for how it will work but with the aim to possibly change it later? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 20 February 2013 23:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > Hello, > > I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) > > For example all Ajax could go through one file - and then it feels a bit neater? > > I'd also need to look at modules as well. > > Filters work ok as long as code is returned, but most XOT is echoed. > > I think if you include the licence for the file intact it is fine. > > Would still like to think a bit architecturally though > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 20 Feb 2013, at 19:16, "Smith, John" wrote: > >> Hi >> >> I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... >> >> And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... >> >> Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... >> >> I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. >> >> Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> "Pat @ Pgogy" wrote: >> >> >> Hi John >> >> Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? >> >> The Wordpress action model is ok, but I am not sure if the filters translate as well. >> >> I think you could make every part of the site an api request? >> >> I think it'd make sense to think of architectures around this? >> >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 15:24, "Smith, John" > wrote: >> >> Hi Pat, >> >> Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? >> >> Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. >> >> Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? >> >> What do you think? Wasting my time or worth a go? >> >> Regards, >> >> John Smith >> Learning Technologist >> School of Health & Life Sciences >> Glasgow Caledonian University >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >> Sent: Wednesday, February 20, 2013 2:17 PM >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Using Wordpress code in XOT >> >> What kind of Wordpress file? >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 12:31, "Smith, John" > wrote: >> Please ignore last diagram sent? too many things going on in my head.. >> >> My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? >> >> John >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> 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 > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Fri Feb 22 08:58:26 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 08:58:26 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> Sorry, you?ve lost me. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 21 February 2013 17:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT this is the thing from the other day though again - who owns the zip Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Thu, 21 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don?t want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as a ?tidy up? release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 12:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Ok, that is the general idea but if we can include a particular version then at least we?ll know the SVN works with that version? then we can test the latest and include the latest one that works? Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat?s modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release? I knkow Pat seems to embrace the uncertainty but I?m still cautious about overloading the main trunk with my potentially buggy code? ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Then I think you can include it, it?s more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent? too many things going on in my head.. My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 09:35:24 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Fri, 22 Feb 2013 09:35:24 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <568ock7wndbci0hkgu0jrlqn.1361383410614@email.android.com> <71D980C6-A722-462B-AD66-E095C5864B06@pgogywebstuff.com> <282E03FA-78F9-4CA6-B8B7-86109ECA75E5@pgogywebstuff.com> Message-ID: <3B7FA407-C75A-4590-94AF-30F16AE7FC95@pgogywebstuff.com> Let me talk to some people.... Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 00:46, "Smith, John" wrote: > Cetis is sold out :-( registered for the waiting list > > happy to Skype though and/or get together at the same time on Titanpad or Google Docs to flesh out a plan of attack... > > I'll have the plugins code done soon and i'll patch a few files to demo and circulate a couple of my plugins to try out. Might not get much done this weekend though - need to build a papier mache pterodactyl for a School project. > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 21 February 2013 10:07 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > I think some sort of list works first - then some basic tasks to make some work easier. > > For example, we should really neaten up the root folder, and completely abstract the database for example. I'd be tempted to send all Ajax through one file and turn all the responses into Json as well. > > You really should come to the cetis conference? Maybe we could sort out a Skype or something and get a few people involved? > > Pgogy Webstuff - http://www.pgogywebstuff.com > Makers of web things of a fair to middling quality > > On 21 Feb 2013, at 00:12, "Smith, John" wrote: > >> I Agree, >> >> Architecture planning would be good... how do you suggest we do it? >> >> As for having a single file for things, it is neater but can hinder maintainability - I think it will work either way - it has in my tests, adding the hooks into the ajaxed php file fires the action callbacks and the plugin can react... I like the way some of the Wordpress files work though, plugins in particular - they global the variable in the function and then if it's not set they set it to an empty array etc so everything is contained in the one file and variables are declared the first time the function is used rather than outside the function when the file is included... >> >> The Wordpress file is intact, renamed to wp-plugins, but intact, which is the way i'd like it, so that we don't have to maintain it!! >> >> So onto tonight, I've basically created a plugins.php file in the root and a plugins folder, containing my sample plugins (these can now be a single .php file or a folder containing a .php file and other fies in a structure not dissimilar to Wordpress)... >> >> When you include plugins.php in a php script near the start then it looks like you can now add do_action() or apply_filters() anywhere in the file and any plugins you have are hooked up. I've just hooked up a few more php files (just playing just now - i won't commit my changes) and the hooks seem to be working flawlessly... and i've created another plugin which is now doing as I described earlier, only it was easier. When the editor publishes the data i have added both "editor_save_data" and "editor_save_preview" hooks in the engine/save.php file. In my plugin I have an editor_save_data callback and it is adding a new first node as a kind of standard opening page and returning the xml for saving... >> >> You are right though that the filters are of limited use just now since most content is echoed out. I think we need to really decide what we want to allow people to hook into and change and we can have a very limited subset of hooks initially... >> >> Last thing - do you prefer Rest or Soap (for the api, not for your bath!!). Do you prefer one over the other or will I just cobble something together to get a flavour for how it will work but with the aim to possibly change it later? >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 20 February 2013 23:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Using Wordpress code in XOT >> >> Hello, >> >> I think the Wordpress hooks work better as all Wordpress code goes through one file, whereas XOT code is more fragmented (I blame the developer) >> >> For example all Ajax could go through one file - and then it feels a bit neater? >> >> I'd also need to look at modules as well. >> >> Filters work ok as long as code is returned, but most XOT is echoed. >> >> I think if you include the licence for the file intact it is fine. >> >> Would still like to think a bit architecturally though >> >> Pgogy Webstuff - http://www.pgogywebstuff.com >> Makers of web things of a fair to middling quality >> >> On 20 Feb 2013, at 19:16, "Smith, John" wrote: >> >>> Hi >>> >>> I was concerned about the ajax stuff too but thinking about it, all you do is stick a do_action('TAG_TO_DESCRIBE_AJAX_CALL') in the php code that the ajax calls. This could then be hooked... >>> >>> And with the filters you would just do apply_filters('FILTER_TAG', _translate('English to translate')); - i'm sure this isn't the function name and agree that it might be of little use anyway... >>> >>> Mostly the filters can be used to do various things like wrap code in extra markup or something like you've done with properties; you pass in an associative array of tabs, if the filter is hooked then you could augment it based on any condition... >>> >>> I've thought if another great use that i'd love to use and should now be relatively easy to do. We hook the save xml and load xml from the editor. On save we run it through a filter - the plungin adds in a new title page with the university/organisation logo and passes it back to be written to a file (possibly here we also do some stats for the api. Then we hook the load xml and pass through the read xml and remove the page with the logo so that it doesn't appear in the editor... Would be simple to implement now.. >>> >>> Can we use the wordpress files like that under their license? They're very mature - would take us a while to write alternative similar functionality. >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Hi John >>> >>> Think it's great for index - just wondering what we do with the Ajax requests and the other stuff? >>> >>> The Wordpress action model is ok, but I am not sure if the filters translate as well. >>> >>> I think you could make every part of the site an api request? >>> >>> I think it'd make sense to think of architectures around this? >>> >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com >>> Makers of web things of a fair to middling quality >>> >>> On 20 Feb 2013, at 15:24, "Smith, John" > wrote: >>> >>> Hi Pat, >>> >>> Well I?ve started writing some code for the api, mainly helper functions to process the request formats and return formats as I?ve not fully though through what methods I?d want or yours? but then I was thinking about whether we could (and how we could) absorb the data within XOT too? >>> >>> Then I remembered a discussion I had with you (I think) about hooks and started writing some helpers (add_action/do_action etc) but obviously Wordpress already has that functionality. So I?ve instead included their whole plugins.php file?some plugin discovery and management code of my own and voila I have action and filter hooks all working in test and about 30 odd hook events wired up in my index.php file. Now I?m able to insert css/js into the head, change image urls, text (such as My Projects changed to Johnny?s Projects) within the page? but all from the plugin. >>> >>> Obviously we could write our own library but the Wordpress plugin.php is so polished that it works flawlessly with a minimum of new xerte code? Obviously it needs more work but it will allow us to add widgets (I?m currently playing with the Wordpress widgets.php file too) which could show api data. Obviously if we go forward with this (that?s my question really) then I?d be looking at the best fit with your recent code but I think if we can use the Wordpress files ?as is? then it saves a lot of work ironing out issues? >>> >>> What do you think? Wasting my time or worth a go? >>> >>> Regards, >>> >>> John Smith >>> Learning Technologist >>> School of Health & Life Sciences >>> Glasgow Caledonian University >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy >>> Sent: Wednesday, February 20, 2013 2:17 PM >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: Using Wordpress code in XOT >>> >>> What kind of Wordpress file? >>> >>> Pgogy Webstuff - http://www.pgogywebstuff.com >>> Makers of web things of a fair to middling quality >>> >>> On 20 Feb 2013, at 12:31, "Smith, John" > wrote: >>> Please ignore last diagram sent? too many things going on in my head.. >>> >>> My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? >>> >>> John >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> >>> >>> >>> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> _______________________________________________ >>> 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 >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> 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. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > 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. From reijnders at tor.nl Fri Feb 22 09:36:29 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 22 Feb 2013 10:36:29 +0100 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <51273C1D.2090206@tor.nl> I think Pat means that in the end, there should be someone, or a group of someones that can say, sorry, you're not allowed to put that in the core distribution of XOT, because ... So far, I think that Nottingham fullfilled that role, and if I understand it correctly, Pat would like this process to be a bit more formalized then it is now. Pat? Did I understand you correctly? And if so, I do agree. It's not a problem yet, so lat's make sure it won't be a problem in the future... Tom Op 22-2-2013 9:58, Julian Tenney schreef: > > Sorry, you've lost me. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 21 February 2013 17:24 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > this is the thing from the other day though again - who owns the zip > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > *To:* > > "For Xerte technical developers" > > > *Cc:* > > *Sent:* > > Thu, 21 Feb 2013 13:44:02 +0000 > > *Subject:* > > [Xerte-dev] Re: Using Wordpress code in XOT > > By all means think about a 2.1 version. 2.0, from my point of > view, is very much about the HTML5 stuff, and I don't want other > things delaying or getting in the way of us releasing 2.0 as soon > as we can. In my head, I see 2.1 as a 'tidy up' release, a chance > to put a few things straight, and to build in some of this new > developer oriented stuff. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 21 February 2013 12:44 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > Ok, that is the general idea but if we can include a particular > version then at least we'll know the SVN works with that > version... then we can test the latest and include the latest one > that works... > > Pat wants to have an architecture conversation about where we are > going for 2.0 and beyond. I think we can include the actions and > filters in v2.0 but they will be of limited functionality until > the action triggers are incorporated into the current code not > really sure how it fits in with Pat's modularisation as there is > crossover of functionality. Also, there is a lot to do before the > easter release (even just what is in the Google Doc list). Just > wondering whether we think we should branch off again and a 2.1 > branch for future future development and use the current SVN to > work towards the Easter release... I knkow Pat seems to embrace > the uncertainty but I'm still cautious about overloading the main > trunk with my potentially buggy code... ;-) > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* Thursday, February 21, 2013 11:28 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > Then I think you can include it, it's more ca se of whether it a > better idea to refer people to a kept up to date source? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 21 February 2013 11:21 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > GPL http://codex.wordpress.org/License > > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ] *On Behalf Of > *Julian Tenney > *Sent:* Thursday, February 21, 2013 11:04 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > What license is WordPress? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 20 February 2013 12:31 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Using Wordpress code in XOT > > Please ignore last diagram sent... too many things going on in my > head.. > > My question, for Pat or Julian probably... if I wanted to use a > Wordpress file (php) in XOT, would there be any license issues > etc? can the file go in the SVN etc and be distributed with XOT or > should there just be advice on where to get it from on Wordpress site? > > John > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the > Year 2009. > http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the > Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the > Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 09:48:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 09:48:49 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <51273C1D.2090206@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> <51273C1D.2090206@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405ED4@EXCHANGE1.ad.nottingham.ac.uk> Yeah, I get that, and that's not a problem, it's just we've been signposting the Easter release for v2 for a long time now, and a lot of people are emailing me all the tie asking when it's going to be ready, so that's the main focus right now from my point of view, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 22 February 2013 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT I think Pat means that in the end, there should be someone, or a group of someones that can say, sorry, you're not allowed to put that in the core distribution of XOT, because ... So far, I think that Nottingham fullfilled that role, and if I understand it correctly, Pat would like this process to be a bit more formalized then it is now. Pat? Did I understand you correctly? And if so, I do agree. It's not a problem yet, so lat's make sure it won't be a problem in the future... Tom Op 22-2-2013 9:58, Julian Tenney schreef: Sorry, you've lost me. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 21 February 2013 17:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT this is the thing from the other day though again - who owns the zip Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Thu, 21 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don't want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as a 'tidy up' release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 12:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Ok, that is the general idea but if we can include a particular version then at least we'll know the SVN works with that version... then we can test the latest and include the latest one that works... Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat's modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release... I knkow Pat seems to embrace the uncertainty but I'm still cautious about overloading the main trunk with my potentially buggy code... ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Then I think you can include it, it's more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent... too many things going on in my head.. My question, for Pat or Julian probably... if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 09:35:20 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Fri, 22 Feb 2013 09:35:20 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: The more modular we get the more the code model moves towards a core / plugin type affair. In theory the xerte part of XOT becomes a module now in a sort of learning object CMS. At that point the Notts Xerte development is still the biggest thing in core, and the reason for it, but hopefully with loads of developers making things then the Notts side of things is more one module in a collection of lots. Then I guess if John, myself and others are off breaking core it isn't really something Notts would be bothered about that much? So there might be a point the roadmap / release cycle is managed differently Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 08:58, Julian Tenney wrote: > Sorry, you?ve lost me. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 21 February 2013 17:24 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > this is the thing from the other day though again - who owns the zip > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > To: > "For Xerte technical developers" > Cc: > > Sent: > Thu, 21 Feb 2013 13:44:02 +0000 > Subject: > [Xerte-dev] Re: Using Wordpress code in XOT > > > By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don?t want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as a ?tidy up? release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 21 February 2013 12:44 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > > Ok, that is the general idea but if we can include a particular version then at least we?ll know the SVN works with that version? then we can test the latest and include the latest one that works? > > > Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat?s modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release? I knkow Pat seems to embrace the uncertainty but I?m still cautious about overloading the main trunk with my potentially buggy code? ;-) > > > Regards, > > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, February 21, 2013 11:28 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > > Then I think you can include it, it?s more ca se of whether it a better idea to refer people to a kept up to date source? > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 21 February 2013 11:21 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > > GPL http://codex.wordpress.org/License > > > > > Regards, > > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, February 21, 2013 11:04 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > > What license is WordPress? > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 20 February 2013 12:31 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Using Wordpress code in XOT > > > Please ignore last diagram sent? too many things going on in my head.. > > > My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? > > > John > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 09:55:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 09:55:28 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C4C405CB7@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405E97@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405EDF@EXCHANGE1.ad.nottingham.ac.uk> Yes. That?s how I see it too. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 22 February 2013 09:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT The more modular we get the more the code model moves towards a core / plugin type affair. In theory the xerte part of XOT becomes a module now in a sort of learning object CMS. At that point the Notts Xerte development is still the biggest thing in core, and the reason for it, but hopefully with loads of developers making things then the Notts side of things is more one module in a collection of lots. Then I guess if John, myself and others are off breaking core it isn't really something Notts would be bothered about that much? So there might be a point the roadmap / release cycle is managed differently Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 08:58, Julian Tenney > wrote: Sorry, you?ve lost me. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 21 February 2013 17:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT this is the thing from the other day though again - who owns the zip Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Thu, 21 Feb 2013 13:44:02 +0000 Subject: [Xerte-dev] Re: Using Wordpress code in XOT By all means think about a 2.1 version. 2.0, from my point of view, is very much about the HTML5 stuff, and I don?t want other things delaying or getting in the way of us releasing 2.0 as soon as we can. In my head, I see 2.1 as a ?tidy up? release, a chance to put a few things straight, and to build in some of this new developer oriented stuff. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 12:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Ok, that is the general idea but if we can include a particular version then at least we?ll know the SVN works with that version? then we can test the latest and include the latest one that works? Pat wants to have an architecture conversation about where we are going for 2.0 and beyond. I think we can include the actions and filters in v2.0 but they will be of limited functionality until the action triggers are incorporated into the current code not really sure how it fits in with Pat?s modularisation as there is crossover of functionality. Also, there is a lot to do before the easter release (even just what is in the Google Doc list). Just wondering whether we think we should branch off again and a 2.1 branch for future future development and use the current SVN to work towards the Easter release? I knkow Pat seems to embrace the uncertainty but I?m still cautious about overloading the main trunk with my potentially buggy code? ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Then I think you can include it, it?s more ca se of whether it a better idea to refer people to a kept up to date source? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 11:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT GPL http://codex.wordpress.org/License Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 11:04 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT What license is WordPress? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 February 2013 12:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Wordpress code in XOT Please ignore last diagram sent? too many things going on in my head.. My question, for Pat or Julian probably? if I wanted to use a Wordpress file (php) in XOT, would there be any license issues etc? can the file go in the SVN etc and be distributed with XOT or should there just be advice on where to get it from on Wordpress site? John Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.acuk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 10:29:31 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 10:29:31 +0000 Subject: [Xerte-dev] Re: media upload In-Reply-To: References: <5125D15F.3060808@tor.nl> <07B5CE13-94EC-469C-B837-7BAC0EF72FC3@pgogywebstuff.com> <5125FD16.5050709@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C405F2B@EXCHANGE1.ad.nottingham.ac.uk> I don't think so, I think the problem pre-dates those changes, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 21 February 2013 19:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: media upload Ah the php upload script changed recently though. Might be related _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Fri Feb 22 12:28:55 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 22 Feb 2013 12:28:55 -0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> Message-ID: <071301ce10f8$30043900$900cab00$@co.uk> Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list. same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 12:31:21 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 22 Feb 2013 12:31:21 +0000 Subject: [Xerte-dev] Gittip.com Micropayments Message-ID: <05f5e18f5e49a038f73c853101b3955313603b45@webmail.hosting.heartinternet.co.uk> Hi all, www.gittip.com might be interesting for Xerte? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 12:51:24 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Fri, 22 Feb 2013 12:51:24 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <071301ce10f8$30043900$900cab00$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <071301ce10f8$30043900$900cab00$@co.uk> Message-ID: <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote: > Hi John/all > you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 21 February 2013 14:44 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... > > Hi Ron, > > Wasn?t aware of Popcorn before ? looks good, will have to give it a try. > > As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: Thursday, February 21, 2013 1:41 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... > > Hi all > a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? > > Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? > > I know Fay isn't around until next week now but posting this now while I have time. > > Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 > > Cheers > Ron > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Fri Feb 22 13:15:23 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 22 Feb 2013 08:15:23 -0500 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> Message-ID: Steve Jobs. Genius Well, he is.A marketing genius.101: Teach the natives to want. From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote: Hi John/allyou may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame!Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi alla quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 CheersRon Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Feb 22 13:21:54 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 22 Feb 2013 13:21:54 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <071301ce10f8$30043900$900cab00$@co.uk> <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> Message-ID: Which is ironic considering a big part of the move to html5 has been driven by the argument that ipads won?t do Flash so we should target html5? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Friday, February 22, 2013 12:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 13:31:03 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 13:31:03 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <071301ce10f8$30043900$900cab00$@co.uk> <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060A8@EXCHANGE1.ad.nottingham.ac.uk> Yeah, we?ve had a right PITA with the embedded quicktime player. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Which is ironic considering a big part of the move to html5 has been driven by the argument that ipads won?t do Flash so we should target html5? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Friday, February 22, 2013 12:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 13:32:47 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 13:32:47 +0000 Subject: [Xerte-dev] Re: Gittip.com Micropayments In-Reply-To: <05f5e18f5e49a038f73c853101b3955313603b45@webmail.hosting.heartinternet.co.uk> References: <05f5e18f5e49a038f73c853101b3955313603b45@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AB@EXCHANGE1.ad.nottingham.ac.uk> Was wondering the same? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 22 February 2013 12:31 To: For technical developers Subject: [Xerte-dev] Gittip.com Micropayments Hi all, www.gittip.com might be interesting for Xerte? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 13:34:08 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 13:34:08 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. ________________________________ From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Feb 22 13:48:51 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 22 Feb 2013 13:48:51 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I've got a Samsung galaxy tab II 10.1" and it's much better than the ipad... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. ________________________________ From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 13:51:03 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 13:51:03 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060C9@EXCHANGE1.ad.nottingham.ac.uk> I've been dead happy with my Asus as well From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got a Samsung galaxy tab II 10.1" and it's much better than the ipad... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. ________________________________ From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 14:00:04 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 22 Feb 2013 14:00:04 +0000 Subject: [Xerte-dev] Re: Gittip.com Micropayments In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <32bb96cb6ace0e6682a9eda97a219bc4016d2232@webmail.hosting.heartinternet.co.uk> Not sure how a Uni accounts system could handle it mind..... ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 22 Feb 2013 13:32:47 +0000 Subject:[Xerte-dev] Re: Gittipcom Micropayments Was wondering the same? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF xerte at pgogywebstuff.com SENT: 22 February 2013 12:31 TO: For technical developers SUBJECT: [Xerte-dev] Gittip.com Micropayments ? Hi all, www.gittip.com [1] might be interesting for Xerte? Pgogy Webstuff http://www.pgogywebstuff.com [2] Makers of Web things of a fair to middling quality ? Links: ------ [1] http://www.gittip.com [2] http://www.pgogywebstuff.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Feb 22 14:01:39 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 22 Feb 2013 14:01:39 +0000 Subject: [Xerte-dev] Re: Gittip.com Micropayments In-Reply-To: <32bb96cb6ace0e6682a9eda97a219bc4016d2232@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AB@EXCHANGE1.ad.nottingham.ac.uk> <32bb96cb6ace0e6682a9eda97a219bc4016d2232@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060E6@EXCHANGE1.ad.nottingham.ac.uk> Hmm. It would be hassly. How else could we do it? And what would we do with the money? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 22 February 2013 14:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Gittip.com Micropayments Not sure how a Uni accounts system could handle it mind..... Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 22 Feb 2013 13:32:47 +0000 Subject: [Xerte-dev] Re: Gittip.com Micropayments Was wondering the same? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 22 February 2013 12:31 To: For technical developers Subject: [Xerte-dev] Gittip.com Micropayments Hi all, www.gittip.com might be interesting for Xerte? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri Feb 22 14:08:00 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 22 Feb 2013 14:08:00 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages likesynchedvideoand the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C4060A8@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Longtail hates it some of the time, but I got bored and wrote a separate HTML5 version for apple stuff. Apple pick and choose what they want really, and people believe it or they don't It is noticeable now that I often open a newspaper page (normally newspapers) and the amount of time it takes all the JS to finish firing stops the browser for a good few seconds. So we've gained nothing really, bar getting rid of flash, which hasn't really happened, so all we've done is made stuff harder. Win win. Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "Julian Tenney" To:"For Xerte technical developers" Cc: Sent:Fri, 22 Feb 2013 13:31:03 +0000 Subject:[Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Yeah, we?ve had a right PITA with the embedded quicktime player. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Smith, John SENT: 22 February 2013 13:22 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? Which is ironic considering a big part of the move to html5 has been driven by the argument that ipads won?t do Flash so we should target html5? ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Pat @ Pgogy SENT: Friday, February 22, 2013 12:51 PM TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. ? Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com [3] Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ [5] but I've tried that with various browsers on my iPad and none work - shame! Ron ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [6] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7]] ON BEHALF OF Smith, John SENT: 21 February 2013 14:44 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? Hi Ron, ? Wasn?t aware of Popcorn before ? looks good, will have to give it a try. ? As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [8] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9]] ON BEHALF OF Ron Mitchell SENT: Thursday, February 21, 2013 1:41 PM TO: 'For Xerte technical developers' SUBJECT: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... ? Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? ? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? ? I know Fay isn't around until next week now but posting this now while I have time. ? Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ [10] but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 [11] ? Cheers Ron ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [12] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [13] ? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [14] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [15] ? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [16] Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [17] Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] http://www.pgogywebstuff.com [4] mailto:ronm at mitchellmedia.co.uk [5] https://popcorn.webmaker.org/ [6] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [10] https://popcorn.webmaker.org/ [11] http://mitchellmedia.co.uk/xot/play_html5_53 [12] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [13] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html [14] mailto:Xerte-dev at lists.nottingham.ac.uk [15] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [16] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html [17] http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Feb 22 14:16:06 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 22 Feb 2013 14:16:06 -0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <079001ce1107$290304b0$7b090e10$@co.uk> I've got an iPad 4th gen and it's much better than a Samsung Galaxy Tab!! ;-) Anyone gonna vote for a Windows tablet!? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got a Samsung galaxy tab II 10.1" and it's much better than the ipad. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. _____ From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list. same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Fri Feb 22 15:20:06 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 22 Feb 2013 10:20:06 -0500 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <079001ce1107$290304b0$7b090e10$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , , , <071301ce10f8$30043900$900cab00$@co.uk>, , <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk>, , <079001ce1107$290304b0$7b090e10$@co.uk> Message-ID: Apple's always been for folks who find it important for the device to match the drapes.;-) From: ronm at mitchellmedia.co.uk To: xerte-dev at lists.nottingham.ac.uk Date: Fri, 22 Feb 2013 14:16:06 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got an iPad 4th gen and it's much better than a Samsung Galaxy Tab!! ;-) Anyone gonna vote for a Windows tablet!? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve got a Samsung galaxy tab II 10.1? and it?s much better than the ipad? Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is.A marketing genius.101: Teach the natives to want. From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example...From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.comMakers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote:Hi John/allyou may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame!Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John SmithLearning TechnologistSchool of Health & Life SciencesGlasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi alla quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 CheersRon Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Feb 22 15:43:50 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 22 Feb 2013 15:43:50 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <079001ce1107$290304b0$7b090e10$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , <071301ce10f8$30043900$900cab00$@co.uk>, <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk> <079001ce1107$290304b0$7b090e10$@co.uk> Message-ID: But Popcorn plays on my Galaxy Tab ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Friday, February 22, 2013 2:16 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got an iPad 4th gen and it's much better than a Samsung Galaxy Tab!! ;-) Anyone gonna vote for a Windows tablet!? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got a Samsung galaxy tab II 10.1" and it's much better than the ipad... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. ________________________________ From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" > wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Fri Feb 22 15:56:43 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 22 Feb 2013 10:56:43 -0500 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk>, , , , <071301ce10f8$30043900$900cab00$@co.uk>, , <1FA369E2-E5E0-4789-AA20-5186612450A8@pgogywebstuff.com>, , <12C67A1EEC419342AF5E59DA31562C3F0C4C4060AF@EXCHANGE1.ad.nottingham.ac.uk>, , <079001ce1107$290304b0$7b090e10$@co.uk>, Message-ID: Yes, but it looks like the box it came in. From: J.J.Smith at gcu.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Fri, 22 Feb 2013 15:43:50 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... But Popcorn plays on my Galaxy Tab ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Friday, February 22, 2013 2:16 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've got an iPad 4th gen and it's much better than a Samsung Galaxy Tab!! ;-) Anyone gonna vote for a Windows tablet!? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve got a Samsung galaxy tab II 10.1? and it?s much better than the ipad? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, February 22, 2013 1:34 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Android is outselling iOS now, by about 5 to 1, but mostly on phones. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 22 February 2013 13:15 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Steve Jobs. Genius Well, he is. A marketing genius. 101: Teach the natives to want. From: xerte at pgogywebstuff.com Date: Fri, 22 Feb 2013 12:51:24 +0000 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... >From my experience of iPads - the html5 support is shocking. Events don't fire, the embedded QuickTime player sucks and so on. Steve Jobs. Genius Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 22 Feb 2013, at 12:28, "Ron Mitchell" wrote: Hi John/all you may have tested already I guess but thought I should add that unfotunately Popcorn Maker doesn't appear to work on iPads :-( Curiously on my iPhone the video plays but no pop ups are shown but on my iPad the video doesn't play either. I've only been testing the clip on the homepage at https://popcorn.webmaker.org/ but I've tried that with various browsers on my iPad and none work - shame! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Feb 22 16:17:28 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 22 Feb 2013 16:17:28 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: That is very good Julian. I think we should have a wizard like that for the other template type, even if we can't use it in flash... A thought might be though that with the flash player, couldn't we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE1118.1BEC95A0] [cid:image002.png at 01CE1118.1BEC95A0] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From ronm at mitchellmedia.co.uk Fri Feb 22 17:51:47 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 22 Feb 2013 17:51:47 -0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <07eb01ce1125$4a6f8dd0$df4ea970$@co.uk> Hi Julian is the Bootstrap carousel stuff part of what you've included or plan to include? I could see a whole raft of interest from currently non-xerte users if there was an easy way to create that sort of thing e.g. for Moodle homepages/course pages etc. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though. I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed. that would be neat. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list. same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: not available URL: From johnathan.kemp at ntlworld.com Sat Feb 23 08:56:05 2013 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Sat, 23 Feb 2013 08:56:05 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: That reminds me of desktop Xerte. Any thoughts of something in XOT, like you have displayed below, that could be used to generate new HTML5 page models? Kind regards Johnathan On 21 February 2013 15:50, Julian Tenney wrote: > I?m quite excited about javascript at the moment, because with the new > ?site? template you can write HTML directly into the text elements, to > create stuff, in this case a button, but it could be a and then > write javascript to do stuff with it (see screenshots) > > > > So that makes it a very simple template for non-techs to use to build > sites out of text / images / video / sounds; but also very powerful for > programmers to do the stuff they want to do. I?m just working on doing > scripts via src= so you can include cdn libraries, there?s probably tons of > other ideas around this as well, but I?m quite excited by what it brings. > > > > > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney > *Sent:* 21 February 2013 15:33 > > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: what's the plan re video for pages like > synched video and the plain video page? Also Popcorn example... > > > > I can see it taking on some of the stuff we?d have previously done in > flash: so, for example, interactive graphs of functions, where you can > change the parameters using sliders to see the impact on the graph, or > other interactive elements. We have quite a few things like that, > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Smith, John > *Sent:* 21 February 2013 15:07 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: what's the plan re video for pages like > synched video and the plain video page? Also Popcorn example... > > > > createJS is coming along nicely ? would love to know what to do with it > though? > > > > I suppose we could create a wizard that allowed you to upload a media > object (picture/audio/video/other), give it a name and then attach a script > which is sent to the player and processed? that would be neat? > > > > Regards, > > > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Julian Tenney > *Sent:* Thursday, February 21, 2013 2:45 PM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: what's the plan re video for pages like > synched video and the plain video page? Also Popcorn example... > > > > I?ve been thinking about doing some stuff with popcorn as well, the other > libraries of interest are the createJS set which look quite cool, > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Smith, John > *Sent:* 21 February 2013 14:44 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: what's the plan re video for pages like > synched video and the plain video page? Also Popcorn example... > > > > Hi Ron, > > > > Wasn?t aware of Popcorn before ? looks good, will have to give it a try. > > > > As for the videos, it should be possible to add a check for different > video types but I?ll wait to catch up with Fay when she returns. Fay shared > a page with me a while ago that had multiple audio and video formats and > there were considerable problems getting them to play in all the browsers > so maybe that has to be explored and we might need to have more than just > mp4 and flv types, based on the supported browsers list? same goes for > audio ? we could actually build this into the xenith code and detect the > browser and try the recommended video extensions. There?s no file_exists() > command in js though so to test for existence would require an ajax request > which could delay the video appearing? > > > > Regards, > > > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* Thursday, February 21, 2013 1:41 PM > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > > > Hi all > > a quick question about this... I always advise people to use streaming > services for video wherever possible and with the HTML 5 playback it's > obviously much more flexible now regarding what can be used and in which > page type which is great. However there are some occasions where it's > justified to upload a small video direct to an LO especially to use the > synched video page functionality but even just the plain video page too. > For Flash playback obviously it's still an flv that needs to be uploaded > but what's the current plan for HTML 5? I know there's been all sorts of > previous discussion about player licensing and codecs etc but has anything > been decided? > > > > Is there perhaps a solution to check for an mp4 in the HTML 5 model with > the same name as the .flv and if it exists use that instead of the .flv via > html 5? > > > > I know Fay isn't around until next week now but posting this now while I > have time. > > > > Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker > https://popcorn.webmaker.org/ but that provides a quick way of adding all > sorts of synched events to video's and works well via the embed content > page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 > > > > Cheers > > Ron > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 25 09:31:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 25 Feb 2013 09:31:49 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <07eb01ce1125$4a6f8dd0$df4ea970$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> <07eb01ce1125$4a6f8dd0$df4ea970$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C406332@EXCHANGE1.ad.nottingham.ac.uk> It's all in there, I haven't played around with the carousel yet - maybe next on my list then? There's a challenge / tension in this - I don't want to go rushing into building a lot of templates and making things too specific just yet, there's a danger that in trying to build in authoring support for all these things we end up building something that isn't FWS. You should be able to paste the markup into a text icon though, and try things out? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 22 February 2013 17:52 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Julian is the Bootstrap carousel stuff part of what you've included or plan to include? I could see a whole raft of interest from currently non-xerte users if there was an easy way to create that sort of thing e.g. for Moodle homepages/course pages etc. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE133A.B8010AB0] [cid:image002.png at 01CE133A.B8010AB0] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 25 09:33:19 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 25 Feb 2013 09:33:19 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk> You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can't use it in flash... A thought might be though that with the flash player, couldn't we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From Julian.Tenney at nottingham.ac.uk Mon Feb 25 09:57:08 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 25 Feb 2013 09:57:08 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C40639B@EXCHANGE1.ad.nottingham.ac.uk> Lots of thoughts at this stage....! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 23 February 2013 08:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That reminds me of desktop Xerte. Any thoughts of something in XOT, like you have displayed below, that could be used to generate new HTML5 page models? Kind regards Johnathan On 21 February 2013 15:50, Julian Tenney > wrote: I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE133E.79727F50] [cid:image002.png at 01CE133E.79727F50] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From J.J.Smith at gcu.ac.uk Mon Feb 25 09:48:50 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 25 Feb 2013 09:48:50 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> , <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can?t use it in flash? A thought might be though that with the flash player, couldn?t we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?m quite excited about javascript at the moment, because with the new ?site? template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I?m just working on doing scripts via src= so you can include cdn libraries, there?s probably tons of other ideas around this as well, but I?m quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we?d have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though? I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed? that would be neat? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon Feb 25 10:56:29 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 25 Feb 2013 10:56:29 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> , <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can?t use it in flash? A thought might be though that with the flash player, couldn?t we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?m quite excited about javascript at the moment, because with the new ?site? template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I?m just working on doing scripts via src= so you can include cdn libraries, there?s probably tons of other ideas around this as well, but I?m quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we?d have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though? I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed? that would be neat? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon Feb 25 11:49:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 25 Feb 2013 11:49:28 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> , <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4064B8@EXCHANGE1.ad.nottingham.ac.uk> I'm not too keen on giving people reasons to stay with Flash, I must say... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 25 February 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can't use it in flash... A thought might be though that with the flash player, couldn't we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From thomas.rochford at jiscadvance.ac.uk Mon Feb 25 11:58:25 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Mon, 25 Feb 2013 11:58:25 -0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> , <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: <005701ce134f$6bfc15f0$43f441d0$@jiscadvance.ac.uk> Hi, we do need something to bridge the gap. The problem arises if you try to produce a page that will run on a range of platforms. My simplistic (?) suggestion is to enables authors to embed an mp4 file either instead-of, or inplace-of, the .flv one which is the only one currently allowed. I'm currently working on a demo project for a teachers' conference we're running in mid-march and my work-around is to put a link to a .wmv or .mp4 file in the text accompanying the flash video. This works fine on windows Phone 7. I think there were some issues to do with the codec and .mp4 earlier, but if people are viewing it on their own devices this wouldn't matter. At the moment, of course, the .mp4/.wmv file has to be separately uploaded and placed in the right directory. This involves the use of ftp and is far from ideal. My idea would be to allow users to upload both versions and for the flash template to 'pick' the .flv version at runtime, if it doesn't support .mp4 already. The web version will probably always be able to do .mp4. Kindest Regards, Thomas ========================================================== Thomas Rochford? |? e-Learning Advisor? |? Jisc RSC Eastern Tel: 01223 564749 |? Mobile: 07500 669002? |? Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk ?|? Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 25 February 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can?t use it in flash A thought might be though that with the flash player, couldn?t we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?m quite excited about javascript at the moment, because with the new ?site? template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I?m just working on doing scripts via src= so you can include cdn libraries, there?s probably tons of other ideas around this as well, but I?m quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we?d have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed that would be neat Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. From J.J.Smith at gcu.ac.uk Mon Feb 25 12:23:26 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 25 Feb 2013 12:23:26 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Message-ID: No me neither... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: I'm not too keen on giving people reasons to stay with Flash, I must say... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 25 February 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can't use it in flash... A thought might be though that with the flash player, couldn't we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Mon Feb 25 12:38:20 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 25 Feb 2013 12:38:20 -0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <005701ce134f$6bfc15f0$43f441d0$@jiscadvance.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> , <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk>, <005701ce134f$6bfc15f0$43f441d0$@jiscadvance.ac.uk> Message-ID: <012501ce1355$003f2810$00bd7830$@co.uk> Hi Thomas uploading other formats doesn't require ftp - when people are learning they upload all sorts of formats until they find that they don't work. But those files do appear in media and quota where you can grab the link and link as you suggest or even embed with a bit of html. For me the issue isn't really about simple playback - those clips should really be uploaded to a streaming service anyway. But the synched video page obviously adds some value and interaction so I think a solution for that would be useful. Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 25 February 2013 11:58 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi, we do need something to bridge the gap. The problem arises if you try to produce a page that will run on a range of platforms. My simplistic (?) suggestion is to enables authors to embed an mp4 file either instead-of, or inplace-of, the .flv one which is the only one currently allowed. I'm currently working on a demo project for a teachers' conference we're running in mid-march and my work-around is to put a link to a .wmv or .mp4 file in the text accompanying the flash video. This works fine on windows Phone 7. I think there were some issues to do with the codec and .mp4 earlier, but if people are viewing it on their own devices this wouldn't matter. At the moment, of course, the .mp4/.wmv file has to be separately uploaded and placed in the right directory. This involves the use of ftp and is far from ideal. My idea would be to allow users to upload both versions and for the flash template to 'pick' the .flv version at runtime, if it doesn't support .mp4 already. The web version will probably always be able to do .mp4. Kindest Regards, Thomas ========================================================== Thomas Rochford? |? e-Learning Advisor? |? Jisc RSC Eastern Tel: 01223 564749 |? Mobile: 07500 669002? |? Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk ?|? Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 25 February 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can?t use it in flash A thought might be though that with the flash player, couldn?t we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?m quite excited about javascript at the moment, because with the new ?site? template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I?m just working on doing scripts via src= so you can include cdn libraries, there?s probably tons of other ideas around this as well, but I?m quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we?d have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed that would be neat Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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. From J.J.Smith at gcu.ac.uk Mon Feb 25 12:46:48 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 25 Feb 2013 12:46:48 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Message-ID: Ill take a look at it when i get a chance Ron. There may be some js jiggery pokery that will make it work. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: Hi Thomas uploading other formats doesn't require ftp - when people are learning they upload all sorts of formats until they find that they don't work. But those files do appear in media and quota where you can grab the link and link as you suggest or even embed with a bit of html. For me the issue isn't really about simple playback - those clips should really be uploaded to a streaming service anyway. But the synched video page obviously adds some value and interaction so I think a solution for that would be useful. Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 25 February 2013 11:58 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi, we do need something to bridge the gap. The problem arises if you try to produce a page that will run on a range of platforms. My simplistic (?) suggestion is to enables authors to embed an mp4 file either instead-of, or inplace-of, the .flv one which is the only one currently allowed. I'm currently working on a demo project for a teachers' conference we're running in mid-march and my work-around is to put a link to a .wmv or .mp4 file in the text accompanying the flash video. This works fine on windows Phone 7. I think there were some issues to do with the codec and .mp4 earlier, but if people are viewing it on their own devices this wouldn't matter. At the moment, of course, the .mp4/.wmv file has to be separately uploaded and placed in the right directory. This involves the use of ftp and is far from ideal. My idea would be to allow users to upload both versions and for the flash template to 'pick' the .flv version at runtime, if it doesn't support .mp4 already. The web version will probably always be able to do .mp4. Kindest Regards, Thomas ========================================================== Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 25 February 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... maybe it's a stoopit idea though thinking about it... if they need to use Flash because of a lack of HTML5 support then is there anything useful that you would be able to do in a
            over the flash ?? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 25 February 2013 09:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Just meant for people who want to stick to the flash player for now... also, for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in some js libraries for those browsers to "fix" what is missing in support for HTML5... people delivering content to IE6/7 in NHS might not be able to use the html5 ones for a while!! Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 25 February 2013 09:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... You could just use the HTML5 output? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 February 2013 16:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... That is very good Julian. I think we should have a wizard like that for the other template type, even if we can?t use it in flash? A thought might be though that with the flash player, couldn?t we just overlay a div and have the html5 only code run in that?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 3:51 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?m quite excited about javascript at the moment, because with the new ?site? template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I?m just working on doing scripts via src= so you can include cdn libraries, there?s probably tons of other ideas around this as well, but I?m quite excited by what it brings. [cid:image001.png at 01CE133B.254AA450] [cid:image002.png at 01CE133B.254AA450] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we?d have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely ? would love to know what to do with it though? I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed? that would be neat? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I?ve been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn?t aware of Popcorn before ? looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I?ll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list? same goes for audio ? we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There?s no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html _______________________________________________ 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. _______________________________________________ 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 neces Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Mon Feb 25 13:06:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy) Date: Mon, 25 Feb 2013 13:06:21 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <012501ce1355$003f2810$00bd7830$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C406335@EXCHANGE1.ad.nottingham.ac.uk> <005701ce134f$6bfc15f0$43f441d0$@jiscadvance.ac.uk> <012501ce1355$003f2810$00bd7830$@co.uk> Message-ID: <0022F345-D3F0-48F0-913D-B88E36737FCE@pgogywebstuff.com> You can set which formats are allowed to be uploaded by using the management page Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of a fair to middling quality On 25 Feb 2013, at 12:38, "Ron Mitchell" wrote: > Hi Thomas > uploading other formats doesn't require ftp - when people are learning they > upload all sorts of formats until they find that they don't work. But those > files do appear in media and quota where you can grab the link and link as > you suggest or even embed with a bit of html. > > For me the issue isn't really about simple playback - those clips should > really be uploaded to a streaming service anyway. But the synched video page > obviously adds some value and interaction so I think a solution for that > would be useful. > > Ron > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas > Rochford > Sent: 25 February 2013 11:58 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > Hi, we do need something to bridge the gap. The problem arises if you try to > produce a page that will run on a range of platforms. My simplistic (?) > suggestion is to enables authors to embed an mp4 file either instead-of, or > inplace-of, the .flv one which is the only one currently allowed. I'm > currently working on a demo project for a teachers' conference we're running > in mid-march and my work-around is to put a link to a .wmv or .mp4 file in > the text accompanying the flash video. This works fine on windows Phone 7. I > think there were some issues to do with the codec and .mp4 earlier, but if > people are viewing it on their own devices this wouldn't matter. At the > moment, of course, the .mp4/.wmv file has to be separately uploaded and > placed in the right directory. This involves the use of ftp and is far from > ideal. My idea would be to allow users to upload both versions and for the > flash template to 'pick' the .flv version at runtime, if it doesn't support > .mp4 already. The web version will probably always be able to do .mp4. > > Kindest Regards, > Thomas > ========================================================== > Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern > Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity > Email: thomas.rochford at jiscadvance.ac.uk | Web: > http://www.jiscrsc.ac.uk/eastern > Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range > of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 25 February 2013 10:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > maybe it's a stoopit idea though thinking about it... if they need to use > Flash because of a lack of HTML5 support then is there anything useful that > you would be able to do in a
            over the flash ?? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow > Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > [J.J.Smith at gcu.ac.uk] > Sent: 25 February 2013 09:48 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > Just meant for people who want to stick to the flash player for now... also, > for IE 6/7/8 that don't do HTML5, although we may be able to shoehorn in > some js libraries for those browsers to "fix" what is missing in support for > HTML5... people delivering content to IE6/7 in NHS might not be able to use > the html5 ones for a while!! > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow > Caledonian University Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > [Julian.Tenney at nottingham.ac.uk] > Sent: 25 February 2013 09:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > You could just use the HTML5 output? > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 22 February 2013 16:17 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > That is very good Julian. I think we should have a wizard like that for the > other template type, even if we can?t use it in flash? > > A thought might be though that with the flash player, couldn?t we just > overlay a div and have the html5 only code run in that?? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Julian Tenney > Sent: Thursday, February 21, 2013 3:51 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > I?m quite excited about javascript at the moment, because with the new > ?site? template you can write HTML directly into the text elements, to > create stuff, in this case a button, but it could be a and then > write javascript to do stuff with it (see screenshots) > > So that makes it a very simple template for non-techs to use to build sites > out of text / images / video / sounds; but also very powerful for > programmers to do the stuff they want to do. I?m just working on doing > scripts via src= so you can include cdn libraries, there?s probably tons of > other ideas around this as well, but I?m quite excited by what it brings. > > [cid:image001.png at 01CE133B.254AA450] > > [cid:image002.png at 01CE133B.254AA450] > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Julian Tenney > Sent: 21 February 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > I can see it taking on some of the stuff we?d have previously done in flash: > so, for example, interactive graphs of functions, where you can change the > parameters using sliders to see the impact on the graph, or other > interactive elements. We have quite a few things like that, > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Smith, John > Sent: 21 February 2013 15:07 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > createJS is coming along nicely ? would love to know what to do with it > though? > > I suppose we could create a wizard that allowed you to upload a media object > (picture/audio/video/other), give it a name and then attach a script which > is sent to the player and processed? that would be neat? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Julian Tenney > Sent: Thursday, February 21, 2013 2:45 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > I?ve been thinking about doing some stuff with popcorn as well, the other > libraries of interest are the createJS set which look quite cool, > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Smith, John > Sent: 21 February 2013 14:44 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: what's the plan re video for pages like synched > video and the plain video page? Also Popcorn example... > > Hi Ron, > > Wasn?t aware of Popcorn before ? looks good, will have to give it a try. > > As for the videos, it should be possible to add a check for different video > types but I?ll wait to catch up with Fay when she returns. Fay shared a page > with me a while ago that had multiple audio and video formats and there were > considerable problems getting them to play in all the browsers so maybe that > has to be explored and we might need to have more than just mp4 and flv > types, based on the supported browsers list? same goes for audio ? we could > actually build this into the xenith code and detect the browser and try the > recommended video extensions. There?s no file_exists() command in js though > so to test for existence would require an ajax request which could delay the > video appearing? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: > xerte-dev-bounces at lists.nottingham.ac.uk ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > Ron Mitchell > Sent: Thursday, February 21, 2013 1:41 PM > To: 'For Xerte technical developers' > Subject: [Xerte-dev] what's the plan re video for pages like synched video > and the plain video page? Also Popcorn example... > > Hi all > a quick question about this... I always advise people to use streaming > services for video wherever possible and with the HTML 5 playback it's > obviously much more flexible now regarding what can be used and in which > page type which is great. However there are some occasions where it's > justified to upload a small video direct to an LO especially to use the > synched video page functionality but even just the plain video page too. For > Flash playback obviously it's still an flv that needs to be uploaded but > what's the current plan for HTML 5? I know there's been all sorts of > previous discussion about player licensing and codecs etc but has anything > been decided? > > Is there perhaps a solution to check for an mp4 in the HTML 5 model with the > same name as the .flv and if it exists use that instead of the .flv via html > 5? > > I know Fay isn't around until next week now but posting this now while I > have time. > > Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker > https://popcorn.webmaker.org/ but that provides a quick way of adding all > sorts of synched events to video's and works well via the embed content page > e.g. http://mitchellmedia.co.uk/xot/play_html5_53 > > Cheers > Ron > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en > .html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e > n.html > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en > .html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e > n.html > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en > .html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e > n.html > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en > .html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e > n.html > > _______________________________________________ > 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. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the > Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en > .html > > Winner: Times Higher Education?s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e > n.html > > _______________________________________________ > 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. > > > _______________________________________________ > 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. > > > _______________________________________________ > 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. From ronm at mitchellmedia.co.uk Mon Feb 25 21:01:27 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 25 Feb 2013 21:01:27 -0000 Subject: [Xerte-dev] RE carousel stuff In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C406332@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> <07eb01ce1125$4a6f8dd0$df4ea970$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C406332@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <001901ce139b$48a562e0$d9f028a0$@co.uk> I'm not familiar enough with it yet to know if it would be viable to build this into the same template and still keep it fws but whether it would be viable as part of the same template or as a separate template I am confident it would be of interest for a number of reasons. If it were part of the same template I think there would be a need for an option to hide the current header, footer and side links to show just the carousel as well as an option to show the carousel beneath the header. If it needed to be a separate carousel template or could be created as part of the current template I could see carousels also being embedded in LO's via the embed content page as well as LO's being embedded in carousel pages if that were possible or at the very least screenshots linking to lo's. A bit like we've discussed for the homepage of the community site. Will have to find some time to explore what's possible by pasting markup. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 25 February 2013 09:32 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... It's all in there, I haven't played around with the carousel yet - maybe next on my list then? There's a challenge / tension in this - I don't want to go rushing into building a lot of templates and making things too specific just yet, there's a danger that in trying to build in authoring support for all these things we end up building something that isn't FWS. You should be able to paste the markup into a text icon though, and try things out? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 22 February 2013 17:52 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Julian is the Bootstrap carousel stuff part of what you've included or plan to include? I could see a whole raft of interest from currently non-xerte users if there was an easy way to create that sort of thing e.g. for Moodle homepages/course pages etc. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though. I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed. that would be neat. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list. same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Tue Feb 26 15:51:18 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 26 Feb 2013 15:51:18 +0000 Subject: [Xerte-dev] Re: RE carousel stuff In-Reply-To: <001901ce139b$48a562e0$d9f028a0$@co.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> <07eb01ce1125$4a6f8dd0$df4ea970$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C406332@EXCHANGE1.ad.nottingham.ac.uk> <001901ce139b$48a562e0$d9f028a0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C4C4CC856@EXCHANGE1.ad.nottingham.ac.uk> What I wondered about was building a generic 'thing' that took children (think nestedPage). Then you could choose the rendering style: tabs, pills, buttons, carousel, accordion, there might be others, because ultimately, what they all are is
            s of content, and you could then add items (graphics, text, videos etc) to those. If you look at all the docs on the bootstrap site you'll see all the things that are in there, and there's handy html to copy and paste. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 25 February 2013 21:01 To: 'For Xerte technical developers' Subject: [Xerte-dev] RE carousel stuff I'm not familiar enough with it yet to know if it would be viable to build this into the same template and still keep it fws but whether it would be viable as part of the same template or as a separate template I am confident it would be of interest for a number of reasons. If it were part of the same template I think there would be a need for an option to hide the current header, footer and side links to show just the carousel as well as an option to show the carousel beneath the header. If it needed to be a separate carousel template or could be created as part of the current template I could see carousels also being embedded in LO's via the embed content page as well as LO's being embedded in carousel pages if that were possible or at the very least screenshots linking to lo's. A bit like we've discussed for the homepage of the community site. Will have to find some time to explore what's possible by pasting markup. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 25 February 2013 09:32 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... It's all in there, I haven't played around with the carousel yet - maybe next on my list then? There's a challenge / tension in this - I don't want to go rushing into building a lot of templates and making things too specific just yet, there's a danger that in trying to build in authoring support for all these things we end up building something that isn't FWS. You should be able to paste the markup into a text icon though, and try things out? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 22 February 2013 17:52 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Julian is the Bootstrap carousel stuff part of what you've included or plan to include? I could see a whole raft of interest from currently non-xerte users if there was an easy way to create that sort of thing e.g. for Moodle homepages/course pages etc. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I'm quite excited about javascript at the moment, because with the new 'site' template you can write HTML directly into the text elements, to create stuff, in this case a button, but it could be a and then write javascript to do stuff with it (see screenshots) So that makes it a very simple template for non-techs to use to build sites out of text / images / video / sounds; but also very powerful for programmers to do the stuff they want to do. I'm just working on doing scripts via src= so you can include cdn libraries, there's probably tons of other ideas around this as well, but I'm quite excited by what it brings. [cid:image001.png at 01CE1439.1DBF22C0] [cid:image002.png at 01CE1439.1DBF22C0] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I can see it taking on some of the stuff we'd have previously done in flash: so, for example, interactive graphs of functions, where you can change the parameters using sliders to see the impact on the graph, or other interactive elements. We have quite a few things like that, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 15:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... createJS is coming along nicely - would love to know what to do with it though... I suppose we could create a wizard that allowed you to upload a media object (picture/audio/video/other), give it a name and then attach a script which is sent to the player and processed... that would be neat... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, February 21, 2013 2:45 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... I've been thinking about doing some stuff with popcorn as well, the other libraries of interest are the createJS set which look quite cool, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 21 February 2013 14:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi Ron, Wasn't aware of Popcorn before - looks good, will have to give it a try. As for the videos, it should be possible to add a check for different video types but I'll wait to catch up with Fay when she returns. Fay shared a page with me a while ago that had multiple audio and video formats and there were considerable problems getting them to play in all the browsers so maybe that has to be explored and we might need to have more than just mp4 and flv types, based on the supported browsers list... same goes for audio - we could actually build this into the xenith code and detect the browser and try the recommended video extensions. There's no file_exists() command in js though so to test for existence would require an ajax request which could delay the video appearing... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, February 21, 2013 1:41 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 67365 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 66197 bytes Desc: image002.png URL: From Fay.Cross at nottingham.ac.uk Wed Feb 27 10:52:44 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 27 Feb 2013 10:52:44 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405D00@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D00@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: At the moment if the file in xml is .flv it will only check for a similarly named mp4 file to use if it can't play it. So if you're viewing it on your PC it will just use the flv (if you have Flash) rather than check for a mp4 first. I can change it so it always looks for an mp4 first though. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 21 February 2013 14:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? Fay's already done that IIRC. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 21 February 2013 13:41 To: 'For Xerte technical developers' Subject: [Xerte-dev] what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... Hi all a quick question about this... I always advise people to use streaming services for video wherever possible and with the HTML 5 playback it's obviously much more flexible now regarding what can be used and in which page type which is great. However there are some occasions where it's justified to upload a small video direct to an LO especially to use the synched video page functionality but even just the plain video page too. For Flash playback obviously it's still an flv that needs to be uploaded but what's the current plan for HTML 5? I know there's been all sorts of previous discussion about player licensing and codecs etc but has anything been decided? Is there perhaps a solution to check for an mp4 in the HTML 5 model with the same name as the .flv and if it exists use that instead of the .flv via html 5? I know Fay isn't around until next week now but posting this now while I have time. Also perhaps relevant I'm not sure if you've seen or used Popcorn Maker https://popcorn.webmaker.org/ but that provides a quick way of adding all sorts of synched events to video's and works well via the embed content page e.g. http://mitchellmedia.co.uk/xot/play_html5_53 Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed Feb 27 11:00:17 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 27 Feb 2013 11:00:17 +0000 Subject: [Xerte-dev] Re: what's the plan re video for pages like synched video and the plain video page? Also Popcorn example... In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> References: <05ab01ce1039$06c16140$144423c0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D33@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405D8F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C4C405DAB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Although it doesn't have separate script nodes to make it easy to see what's going on like Julian's new stuff you can also add html / javascript to any text area in the main xerte template. You'd just have to put the script in a