From ronm at mitchellmedia.co.uk Mon Oct 1 09:29:45 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 1 Oct 2012 09:29:45 +0100 Subject: [Xerte-dev] 2 odd issues user-files contents and export - Tom? Message-ID: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Oct 1 09:31:53 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 1 Oct 2012 09:31:53 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3E347D10@EXCHANGE1.ad.nottingham.ac.uk> 1 happens when you import a project I think. 2 don't think it's the escaping this, as the file would still write out... maybe Tom has better idea? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 09:30 To: 'For Xerte technical developers' Subject: [Xerte-dev] 2 odd issues user-files contents and export - Tom? Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Oct 1 09:35:44 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 01 Oct 2012 10:35:44 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> Message-ID: <506955E0.2020602@tor.nl> 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either of > these issues too.... > > 1. I've notice that some projects in the user-files folder get > populated with folders and files that shouldn't be there e.g. common, > languages, models etc. I haven't been able to identify exactly what > causes this. Anyone seen this and/or got any idea re cause/solution? > > 2. The example of the page 560 LO we've shared and developed on the > 1.8 test install won't export - I just get a blank window when > clicking export but other LO's do export. So I've been testing this > with a copy and if I replace data.xml and preview.xml with xml from a > simple LO the project exports. I'm wondering if there's a particular > page type causing the problem or if this is related to the Issue Tom > mentioned about html escaping e.g. there are lots of < in the xml. > > Cheers > > Ron > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 1 13:14:57 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 1 Oct 2012 13:14:57 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506955E0.2020602@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> Message-ID: <00a401cd9fce$610613c0$23123b40$@co.uk> Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 1 13:32:53 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 1 Oct 2012 13:32:53 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <00a401cd9fce$610613c0$23123b40$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> Message-ID: <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Oct 1 14:07:43 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 01 Oct 2012 15:07:43 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> Message-ID: <5069959F.5080903@tor.nl> Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that template.xml > is getting written back to the user-files folder for this project - > any ideas how/why? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 01 October 2012 13:15 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > Thanks for the responses Julian/Tom > > 1. Not sure why this has happened in a few places but not a major > problem if it's not happening all the time. > > 2. a. nothing relevant in the error logs so I guess it's not escaping > causing the problem > > b. Full archive doesn't work for this project either - just a blank > window when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting written back > to the project folder in use-files so there's data.xml, preview.xml > and template.xml can't see why or where that is happening but wonder > if it's linked to the problem? > > Cheers > > Ron > > *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 October 2012 09:36 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > 1. The only instance where I expect models etc in the user-files, is > when importing a learning object that does not have a corresponding > template in the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the log files > b. Full archive export should work (as it doesn't try to read the > data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either of > these issues too.... > > 1. I've notice that some projects in the user-files folder get > populated with folders and files that shouldn't be there e.g. > common, languages, models etc. I haven't been able to identify > exactly what causes this. Anyone seen this and/or got any idea re > cause/solution? > > 2. The example of the page 560 LO we've shared and developed on > the 1.8 test install won't export - I just get a blank window when > clicking export but other LO's do export. So I've been testing > this with a copy and if I replace data.xml and preview.xml with > xml from a simple LO the project exports. I'm wondering if there's > a particular page type causing the problem or if this is related > to the Issue Tom mentioned about html escaping e.g. there are lots > of < in the xml. > > Cheers > > Ron > > This message and any attachment are intended solely 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. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 1 14:29:40 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 1 Oct 2012 14:29:40 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <5069959F.5080903@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> Message-ID: <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> Thanks Tom I've sent you the long list of errors offlist - seems like it might be a simplexml_load issue? Cheers Ron 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 October 2012 14:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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. -- -- 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 Oct 1 14:34:09 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 01 Oct 2012 15:34:09 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> Message-ID: <50699BD1.9050909@tor.nl> Yes, it is a simplexml load error. It can't handle the '&' signs in the urls. I am busy fixing this in the wizard, but it's not ready yet. Tom Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it might be > a simplexml_load issue? > > Cheers > > Ron > > *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 October 2012 14:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > Yes, export will copy data.xml to template.xml and after finishing > with the export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I added some > _debug statements to export.php, can you afford to switch on developer > mode in config.php? There should be a debug.log file in folder /tmp > that might give us a clue of what is going on. But be carefull, full > php error reporting will be switched on. Don't do it in a production > installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that > template.xml is getting written back to the user-files folder for > this project - any ideas how/why? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 01 October 2012 13:15 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and > export - Tom? > > Thanks for the responses Julian/Tom > > 1. Not sure why this has happened in a few places but not a major > problem if it's not happening all the time. > > 2. a. nothing relevant in the error logs so I guess it's not > escaping causing the problem > > b. Full archive doesn't work for this project either - just a > blank window when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting written > back to the project folder in use-files so there's data.xml, > preview.xml and template.xml can't see why or where that is > happening but wonder if it's linked to the problem? > > Cheers > > Ron > > *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 October 2012 09:36 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and > export - Tom? > > 1. The only instance where I expect models etc in the user-files, > is when importing a learning object that does not have a > corresponding template in the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the log > files > b. Full archive export should work (as it doesn't try to read the > data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either > of these issues too.... > > 1. I've notice that some projects in the user-files folder get > populated with folders and files that shouldn't be there e.g. > common, languages, models etc. I haven't been able to identify > exactly what causes this. Anyone seen this and/or got any idea > re cause/solution? > > 2. The example of the page 560 LO we've shared and developed > on the 1.8 test install won't export - I just get a blank > window when clicking export but other LO's do export. So I've > been testing this with a copy and if I replace data.xml and > preview.xml with xml from a simple LO the project exports. I'm > wondering if there's a particular page type causing the > problem or if this is related to the Issue Tom mentioned about > html escaping e.g. there are lots of < in the xml. > > Cheers > > Ron > > This message and any attachment are intended solely 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. > > > > > > -- > -- > > 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. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 1 14:41:12 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 1 Oct 2012 14:41:12 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <50699BD1.9050909@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> Message-ID: <00f301cd9fda$6cc21cc0$46465640$@co.uk> Ok cheers - happy to test if and when you need that. 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 October 2012 14:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, it is a simplexml load error. It can't handle the '&' signs in the urls. I am busy fixing this in the wizard, but it's not ready yet. Tom Op 1-10-2012 15:29, Ron Mitchell schreef: Thanks Tom I've sent you the long list of errors offlist - seems like it might be a simplexml_load issue? Cheers Ron 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 October 2012 14:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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. -- -- 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Oct 2 14:43:41 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 2 Oct 2012 14:43:41 +0100 Subject: [Xerte-dev] media file option Message-ID: <006901cda0a3$f0280380$d0780a80$@co.uk> Hi if I add a media file option (.flv video) to a learning object icon optional properties and the view the LO locally via index.htm when I click the media file icon in the top bar I get a pop up where the video should play but I get the following warning: Media Viewer You do not have Adobe Flash installed. This happens regardless of browser used. The same LO with the option added works fine online from XOT so I'm not sure why it can't find flash when viewed locally? It doesn't appear to be a flash player security option because the path/drive is correctly added. Any ideas? Does this work locally for others? Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Tue Oct 2 15:45:55 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Tue, 2 Oct 2012 10:45:55 -0400 Subject: [Xerte-dev] Fusing 2 items In-Reply-To: References: , Message-ID: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Tue Oct 2 16:39:28 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Tue, 2 Oct 2012 16:39:28 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Tue Oct 2 17:00:35 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Tue, 2 Oct 2012 12:00:35 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , Message-ID: er, where's scenario.xwd? Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Atack at nottingham.ac.uk Tue Oct 2 17:13:39 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Tue, 2 Oct 2012 17:13:39 +0100 Subject: [Xerte-dev] LTI Provider Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Oct 3 10:09:39 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 3 Oct 2012 10:09:39 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <001901cda146$d26c54b0$7744fe10$@co.uk> Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 Wed Oct 3 11:00:21 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk> Easy enough. I'd work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Atack at nottingham.ac.uk Wed Oct 3 11:08:23 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Wed, 3 Oct 2012 11:08:23 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <001901cda146$d26c54b0$7744fe10$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: xerte-lti-1.png Type: image/png Size: 79361 bytes Desc: xerte-lti-1.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xerte-lti-2.png Type: image/png Size: 77067 bytes Desc: xerte-lti-2.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xerte-lti-3.png Type: image/png Size: 80830 bytes Desc: xerte-lti-3.png URL: From ronm at mitchellmedia.co.uk Wed Oct 3 12:08:04 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 3 Oct 2012 12:08:04 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <003601cda157$69c72d20$3d558760$@co.uk> Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: lti_activity_settings.png Type: image/png Size: 9731 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 12:16:38 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 12:16:38 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <003601cda157$69c72d20$3d558760$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 d_b_burnett at hotmail.com Wed Oct 3 12:17:23 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 07:17:23 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk> References: , , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: And the wizard will automatically reflect?I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Easy enough. I?d work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 12:19:49 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk> Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says 'how should I edit this data?', and skips ones it doesn't have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect? I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Easy enough. I'd work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Wed Oct 3 13:02:31 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 08:02:31 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk> References: , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Can't get any new text input areas to appear on image viewer wizard... From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says ?how should I edit this data??, and skips ones it doesn?t have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect?I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 itemsEasy enough. I?d work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Wed Oct 3 13:03:03 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 13:03:03 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett wrote: > > er, where's scenario.xwd? > > > ------------------------------ > Date: Tue, 2 Oct 2012 16:39:28 +0100 > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > > To keep things simple you could simply paste the modelAnswer parameters > section as a child of the image viewer element. This would avoid any > issues with the two pages having any parameters with the same name. > > If you open scenario.xwd you can see an example of something similar > > The page level element is and the child elements of scenario are > > > > > The section declares both the scenario element > parameters and its children's parameters so that when a new page is created > it already has its child elements populated with default data. > > Once you get your example working remember if you want it to co-exist with > other Xerte page types that you should give any element that is a top level > element in a block a unique name that is not used in any of the > other page types. Your model file will then need editing (use search and > replace in Flashdevelop) to replace the original name with the new name. > > Hope this clears things up if not post back and I will try and answer any > further questions. > > Kind regards > > Johnathan > > On 2 October 2012 15:45, Dave Burnett wrote: > > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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 johnathan.kemp at ntlworld.com Wed Oct 3 13:10:52 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 13:10:52 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Hello Dave, The following should give an example of adding an extra text field to the image viewer wizard. Enter text for the page here]]> The entry in the new nodes section defines some default data to be added when the imageViewer xml is created. The entry in the main section defines the element in the form, which will only be displayed if there is a matching data item in the xlm (which will be there because of the first blue entry above in the newNodes section). Kind regards Johnathan On 3 October 2012 13:02, Dave Burnett wrote: > > Can't get any new text input areas to appear on image viewer wizard... > > ------------------------------ > From: Julian.Tenney at nottingham.ac.uk > To: xerte-dev at lists.nottingham.ac.uk > Date: Wed, 3 Oct 2012 12:19:49 +0100 > > Subject: [Xerte-dev] Re: Fusing 2 items > > Ah, add those attributes to the payload in the newNodes section, so when > you add a new daveImageVeiwer, the xml is added with those params present. > > > > The wizard loops over all the params in the xml and says ?how should I > edit this data??, and skips ones it doesn?t have info in the xwd for, > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Dave Burnett > *Sent:* 03 October 2012 12:17 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Re: Fusing 2 items > > > > > And the wizard will automatically reflect? > > I tried adding hard code in template.xwd and I just get some replaced with > others marked undefined. > > > > > > menuItem="Image Viewer" icon="icImage" remove="true" > thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a > large image and select regions. Useful way of presenting large images in a > small screen space."> > > > > > > width="100"/> > > > > > > > > > > > > > > > > > ------------------------------ > > From: Julian.Tenney at nottingham.ac.uk > To: xerte-dev at lists.nottingham.ac.uk > Date: Wed, 3 Oct 2012 11:00:21 +0100 > Subject: [Xerte-dev] Re: Fusing 2 items > > Easy enough. > > > > I?d work from Image Viewer as you suggest. Adapt the template using some > hard wired text to start with > > > > Add the params to the image viewer part of the xwd, so you have data. > > > > Access them the same way the other params are being accessed in the image > viewer template, and switch out your hard wired strings for the > {data.long.path.to.param} > > > > > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Dave Burnett > *Sent:* 02 October 2012 15:46 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Fusing 2 items > > > > > > How difficult will it be to fuse 2 items? > > > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > > > Dave > > > > > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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 d_b_burnett at hotmail.com Wed Oct 3 13:11:29 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 08:11:29 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , Message-ID: OK, I reverted to 2.17 after running into issues with 2.18.I imagine that's why I can't find it. /// this does not appear? Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett wrote: er, where's scenario.xwd? Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Wed Oct 3 13:20:02 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 08:20:02 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk>, , Message-ID: No new text field being added.Changing label of URL field, so know it's being re-read. Date: Wed, 3 Oct 2012 13:10:52 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Hello Dave, The following should give an example of adding an extra text field to the image viewer wizard. Enter text for the page here]]> The entry in the new nodes section defines some default data to be added when the imageViewer xml is created.The entry in the main section defines the element in the form, which will only be displayed if there is a matching data item in the xlm (which will be there because of the first blue entry above in the newNodes section). Kind regards Johnathan On 3 October 2012 13:02, Dave Burnett wrote: Can't get any new text input areas to appear on image viewer wizard... From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says ?how should I edit this data??, and skips ones it doesn?t have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect? I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 itemsEasy enough. I?d work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Wed Oct 3 13:22:07 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 13:22:07 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett wrote: > > OK, I reverted to 2.17 after running into issues with 2.18. > I imagine that's why I can't find it. > > menuItem="Image Viewer" icon="icImage" remove="true" > thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a > large image and select regions. Useful way of presenting large images in a > small screen space."> > > > width="100"/> > > > /// this does > not appear? > > > > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:03:03 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Sorry for not being able to reply to you any earlier. > > You can find a copy in your xerte installation folder e.g. > > c:\xerte\pages\wizards\en-GB\ > > Kind regards > > Johnathan > > On 2 October 2012 17:00, Dave Burnett wrote: > > > er, where's scenario.xwd? > > > ------------------------------ > Date: Tue, 2 Oct 2012 16:39:28 +0100 > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > > To keep things simple you could simply paste the modelAnswer parameters > section as a child of the image viewer element. This would avoid any > issues with the two pages having any parameters with the same name. > > If you open scenario.xwd you can see an example of something similar > > The page level element is and the child elements of scenario are > > > > > The section declares both the scenario element > parameters and its children's parameters so that when a new page is created > it already has its child elements populated with default data. > > Once you get your example working remember if you want it to co-exist with > other Xerte page types that you should give any element that is a top level > element in a block a unique name that is not used in any of the > other page types. Your model file will then need editing (use search and > replace in Flashdevelop) to replace the original name with the new name. > > Hope this clears things up if not post back and I will try and answer any > further questions. > > Kind regards > > Johnathan > > On 2 October 2012 15:45, Dave Burnett wrote: > > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 13:37:42 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 13:37:42 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1E0@EXCHANGE1.ad.nottingham.ac.uk> And you've got these things in place? The new attributes in the xml payload defined in newNodes (and confirmed they are there by debug inside xerte?) The items in the xwd's section for imageViewer? Closed and re-opedned the wizard to reload the xwd? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 13:03 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Can't get any new text input areas to appear on image viewer wizard... ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says 'how should I edit this data?', and skips ones it doesn't have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect? I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Easy enough. I'd work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 13:41:01 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 13:41:01 +0100 Subject: [Xerte-dev] FW: [Xerte] Re: Learning object does not start Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1EB@EXCHANGE1.ad.nottingham.ac.uk> Johnathan, is this something to do with initialising a pages project the wrong way, or some other 'pages' specific gotcha? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 13:40 To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start What do you see in the preview window? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Branislav ?mitek Sent: 03 October 2012 12:48 To: 'Xerte discussion list' Subject: [Xerte] Re: Learning object does not start We solved problem with starting simple RLO. Now I trying to do more complex project but I have problem with Xerte in common. I can use text and image icon. When I try to use other icons (movie for example) I don't get any result in preview window. I use Pages/Media/Video wizard, I anter all the data, try play but there is no result in preview window. I read the XerteGettingStarted but i still have problems. Is there any more detailed user guide on the internet? I thaught that I had enough knowledge to use the program but it is not so. Any suggestions? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Monday, October 01, 2012 10:45 AM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start Are there any files in \AppData\Local\VirtualStore\Program Files\Xerte ? Quickest and best way to localize the user interface of the runtime engine is to create a new entry in language-config.xml, copy the english files to the files you mentioned in the entry you added and translate all the attributes in the XML file. To localize the wizard and the fill in screens of the templates, you best use the xertertrans website. It is not production ready yet. This month we will publish a community website with all relevant information on how to localise xerte. It would be best if you can wait for that! Tom Op 1-10-2012 10:26, Branislav ?mitek schreef: 32 bit, English. I used Publish and Package variant. Installation folder has Languages files. Publish also created Languages folder but there wasn't file engine_en-GB.xml. Maybe I made mistake changing language option in Xerte? Question? I would like to localize user interface into Slovenian language. Which way you suggest? 32bit? 64bit? English? Slovenian? I tested the latest Xerte 2.18 from the Nottingham Xerte website and installed it on a 64 bit Dutch Windows 7 PC. The languages folder is copied when packaging/publishing the learning object. I tried: 1. Publish from the wizard (in a template (.rlt) project) Package from the wizard Publish from the Xerte editor All methods that I tried correctly created a languages folder for me. Can you specify how you try to publish your Learning object? Can you try to install xerte as an administrator, i.e. right-click the setup and choose 'Run as administrator'? I suspect that some of the files of the languages folder actually ended up in the windows 7 Virtual Files store in stead of in the Program Files folder. Tom Op 1-10-2012 9:37, Branislav ?mitek schreef: Windows 7. Can I ask what OS you are using? Regards, Tom Op 1-10-2012 9:14, Branislav ?mitek schreef: Thank you for your response. Yes, bug discovered by you is the main problem. During todays testing I also with debugger help discovered the same solution. I found missing file in directory you mentioned. I also find out that I can localize file and I get slovenian text in user interface buttons. It seems that Xerte during creating empty project didn't copy all needed files for correct final version. I also discovered the problem with our characters in top level module page. They caused xml error at loading SCORM in Moodle. Now I can test the different modules in LMS environment. Thank you! I see, that you managed to create a test for all 3 kinds of projects. I found the bug, and make sure it gets fixed a.s.a.p. In the meantime, you can check for yourself: In the resulting folders there is a folder called languages, however, it doesn't contain the correct files. 1. Can yopu please check whether the languages folder of your xerte insallation (c:\Program Files\xerte\languages or c:\Program Files (x86)\xerte\languages) conatins more than 1 file. If so, copy those to the languages folder of your learning object, and let me know if they now work correctly. 2. If the files are not there, let me know as well. This will help me greatly in fixing this issue a.s.a.p. Tom Op 1-10-2012 6:54, Branislav ?mitek schreef: I'm sending you ZIP with three modules I have done with Xerte. For all three modules the preview is fine but I can't start them in browser. Do you mind posting one of the modules so we can have a look? Op 30-9-2012 17:47, Brane ?mitek schreef: I'm using Xerte (2.18) desktop program. I tried all three suggested methods to create three test modules. Modules are without any content. Names of the objects are default names. There is no content in modules, empty page. Preview is o.k. but when I publish module and start index.html file the result is the same that I described in beginning of the question. I can record screen that you will see my way of the work. So far I have used Courselab to made an electronic learning materials. I'm ausing Courselab also in educational proces with students. I have to pay for new version of Courselab but i don't have any financial resources for that. The old (free) version of mentioned program produce only IE compatible learning materials. Xerte seems appropriate software for producing teaching materials and would like to use it. I would like to test the Xerte in a Moodle in real life. Which version of Xerte (desktop or Online) do you recommend me. I would rather use the desktop version because I do not have the server. I encountered the problems that I would like to resolve before I start with work. I would like that Xerte will also use students for producing their electronic learning modules. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: Saturday, September 29, 2012 11:33 AM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start You mention Xerte rather than Xerte Online Toolkits, so I am assuming you are using the desktop Xerte program. What version of Xerte are you using? What steps did you take to create your project? e.g. "file / new" or "templates / page templates" or "pages / create new pages project" Are you able to view your project in Xerte by doing "view / preview"? The following suggestions will apply if your project was created using either "templates / page templates" or "pages / create new pages project". Your pages will have forms that you can open which you use to enter the information that the pages will dispay. Have you included in your information any none alphabetic characters such as "#" ? One other thought. I noticed you are in Slovenia. I am wondering if there might possibly be any characters in your alphabet that are causing a problem for Xerte by breaking the xml. Try this test. Create a new project in Xerte using the same method that you used for you current project that is not displaying. Add each of the two pages that your original project has but do not change any of the default data that the pages start with. Do "View / Preview" - does your project display correctly? If should display correctly as at this point everything is still just standard Xerte stuff. Now add each element of data to each page and test each page by previewing it after adding each element of data. You may find that it is a particular data element that is causing the problem. This process should help you to identify what if anything is compromising your xml data. Hope this helps. Kind regards Johnathan On 27 September 2012 16:19, Brane ?mitek > wrote: No. I have the same problem running it localy. Browser (I tried IE, FF, Chrome) starts with mentioned screen. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, September 27, 2012 2:09 PM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start Does it work when you run it locally? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Branislav ?mitek Sent: 27 September 2012 12:41 To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Learning object does not start I did small learning module (two pages) in Xerte. I tried to run it. Module starts and stands with a screen that says: "xml Loading." What did I do wrong? The same situation is when I loaded SCORM package in Moodle. Kind regards Branislav SMITEK Ph.D. University of Maribor FACULTY OF ORGANIZATIONAL SCIENCES Kidriceva cesta 55/a SI4000 KRANJ SLOVENIA tel: +386 4 237 42 63 fax: +386 4 237 42 99 e-mail: brane.smitek at fov.uni-mb.si This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely 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 mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001.txt URL: From d_b_burnett at hotmail.com Wed Oct 3 13:44:57 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 08:44:57 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , , , Message-ID: It may be that all you need to do is addname2="some text"in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Coincidentally, name2 is exactly what I originally tried.Is the "newNodes" section actually creating the object, or just giving it a value so the value doesn't appear as "undefined"? This is how imageViewer appears for me in the newNodes section Enter text for the page here]]> Date: Wed, 3 Oct 2012 13:22:07 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett wrote: OK, I reverted to 2.17 after running into issues with 2.18.I imagine that's why I can't find it. /// this does not appear? Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett wrote: er, where's scenario.xwd? Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. _______________________________________________ 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 d_b_burnett at hotmail.com Wed Oct 3 13:52:30 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 08:52:30 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1E0@EXCHANGE1.ad.nottingham.ac.uk> References: , , , , , ,,, , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1E0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: This is what I've been getting at.What object produces the wizard interface? At this point I don't care if parameters are undefined.What do I add where to just say add a text field to a wizard? From: Julian.Tenney at nottingham.ac.ukTo: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 13:37:42 +0100 Subject: [Xerte-dev] Re: Fusing 2 items And you?ve got these things in place? The new attributes in the xml payload defined in newNodes (and confirmed they are there by debug inside xerte?)The items in the xwd?s section for imageViewer?Closed and re-opedned the wizard to reload the xwd? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 13:03 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Can't get any new text input areas to appear on image viewer wizard... From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 itemsAh, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says ?how should I edit this data??, and skips ones it doesn?t have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect?I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 itemsEasy enough. I?d work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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 johnathan.kemp at ntlworld.com Wed Oct 3 13:53:29 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 13:53:29 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: Would you mind posting the code for your complete xwd file, and I will take a look at it? If you are using 2.18 and a pages project, then when you make changes to your xwd file in order to add new attribute fields you need to remember to 1. open the pages xwd in xerte 2. Select the top level entry (below the pageWizard folder 3. Click the delete button (to delete the current xml content for the page) 4. Close the form 5. Re open the form 6. Click the insert button to insert a new default page data into the xml On completion of point 6 you should see the new form with your extra fields displayed - if everything in your xwd file is as it should be. Kind regards Johnathan On 3 October 2012 13:44, Dave Burnett wrote: > It may be that all you need to do is add > name2="some text" > in the newNodes section of your xwd file after the entry for > url="Whatever text you are using as the default for this attribute" > > > Coincidentally, name2 is exactly what I originally tried. > Is the "newNodes" section actually creating the object, or just giving it > a value so the value doesn't appear as "undefined"? > > This is how imageViewer appears for me in the newNodes section > > align="Left" url="Select an Image" newTextField="Enter some new text">Enter > text for the page here]]> > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:22:07 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 > > Look at the example I just sent you and see if that makes things clearer. > > It may be that all you need to do is add > > name2="some text" > > in the newNodes section of your xwd file after the entry for > > url="Whatever text you are using as the default for this attribute" > > Kind regards > > Johnathan > > On 3 October 2012 13:11, Dave Burnett wrote: > > > OK, I reverted to 2.17 after running into issues with 2.18. > I imagine that's why I can't find it. > > menuItem="Image Viewer" icon="icImage" remove="true" > thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a > large image and select regions. Useful way of presenting large images in a > small screen space."> > > > width="100"/> > > > /// this does > not appear? > > > > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:03:03 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Sorry for not being able to reply to you any earlier. > > You can find a copy in your xerte installation folder e.g. > > c:\xerte\pages\wizards\en-GB\ > > Kind regards > > Johnathan > > On 2 October 2012 17:00, Dave Burnett wrote: > > > er, where's scenario.xwd? > > > ------------------------------ > Date: Tue, 2 Oct 2012 16:39:28 +0100 > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > > To keep things simple you could simply paste the modelAnswer parameters > section as a child of the image viewer element. This would avoid any > issues with the two pages having any parameters with the same name. > > If you open scenario.xwd you can see an example of something similar > > The page level element is and the child elements of scenario are > > > > > The section declares both the scenario element > parameters and its children's parameters so that when a new page is created > it already has its child elements populated with default data. > > Once you get your example working remember if you want it to co-exist with > other Xerte page types that you should give any element that is a top level > element in a block a unique name that is not used in any of the > other page types. Your model file will then need editing (use search and > replace in Flashdevelop) to replace the original name with the new name. > > Hope this clears things up if not post back and I will try and answer any > further questions. > > Kind regards > > Johnathan > > On 2 October 2012 15:45, Dave Burnett wrote: > > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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. > > > > > _______________________________________________ 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 13:54:41 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 13:54:41 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , ,,, , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA00D@EXCHANGE1.ad.nottingham.ac.uk>, , , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA127@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1E0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA210@EXCHANGE1.ad.nottingham.ac.uk> The xml node. Each node in the wizard's tree is a node in your file, right? Each time you click on a node it builds the wizard for that node. It loops over the attributes in the node, and looks in the xwd to see how to edit the data for each one. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 13:53 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is what I've been getting at. What object produces the wizard interface? At this point I don't care if parameters are undefined. What do I add where to just say add a text field to a wizard? From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 13:37:42 +0100 Subject: [Xerte-dev] Re: Fusing 2 items And you've got these things in place? The new attributes in the xml payload defined in newNodes (and confirmed they are there by debug inside xerte?) The items in the xwd's section for imageViewer? Closed and re-opedned the wizard to reload the xwd? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 13:03 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Can't get any new text input areas to appear on image viewer wizard... ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 12:19:49 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present. The wizard loops over all the params in the xml and says 'how should I edit this data?', and skips ones it doesn't have info in the xwd for, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 03 October 2012 12:17 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items And the wizard will automatically reflect? I tried adding hard code in template.xwd and I just get some replaced with others marked undefined. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Wed, 3 Oct 2012 11:00:21 +0100 Subject: [Xerte-dev] Re: Fusing 2 items Easy enough. I'd work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with Add the params to the image viewer part of the xwd, so you have data. Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param} From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 02 October 2012 15:46 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Fusing 2 items How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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 Simon.Atack at nottingham.ac.uk Wed Oct 3 13:56:27 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Wed, 3 Oct 2012 13:56:27 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: xerte-lti-moodle-1.png Type: image/png Size: 22773 bytes Desc: xerte-lti-moodle-1.png URL: From johnathan.kemp at ntlworld.com Wed Oct 3 14:04:00 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 14:04:00 +0100 Subject: [Xerte-dev] Re: FW: [Xerte] Re: Learning object does not start In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1EB@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1EB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I don't know. Based on earlier comments in the discussion flow there appear to have been some issues with Windows 7 copying files to a user account folder instead of the Xerte project folder, resulting in the project failing because it cannot find key files it needs. Tom has been doing some work on this. But I am not sure at this point we can take it as read that Branislav's project is completely set up as it should be. I don't think it is clear yet that this is pages project specific. Some of the earlier issues I think were caused by internationalisation related issues. Tom is likely to have a better understanding of what may be going on at this point in time. I raised the issue of checking the Common folder because Branislav made mention of "common". If the common for the project was empty this would stop the page previewing if it required an asset from the folder. We don't yet have confirmation that this the case. Kind regards Johnathan On 3 October 2012 13:41, Julian Tenney wrote: > Johnathan, is this something to do with initialising a pages project the > wrong way, or some other ?pages? specific gotcha? > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney > *Sent:* 03 October 2012 13:40 > > *To:* Xerte discussion list > *Subject:* [Xerte] Re: Learning object does not start > > > > What do you see in the preview window? > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [ > mailto:xerte-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Branislav ?mitek > *Sent:* 03 October 2012 12:48 > *To:* 'Xerte discussion list' > *Subject:* [Xerte] Re: Learning object does not start > > > > We solved problem with starting simple RLO. > > Now I trying to do more complex project but I have problem with Xerte in > common. > > I can use text and image icon. > > When I try to use other icons (movie for example) I don't get any result > in preview window. > > I use Pages/Media/Video wizard, I anter all the data, try play but there > is no result in preview window. > > I read the XerteGettingStarted but i still have problems. > > Is there any more detailed user guide on the internet? > > I thaught that I had enough knowledge to use the program but it is not so. > > Any suggestions? > > > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [ > mailto:xerte-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* Monday, October 01, 2012 10:45 AM > *To:* Xerte discussion list > *Subject:* [Xerte] Re: Learning object does not start > > > > Are there any files in \AppData\Local\VirtualStore\Program > Files\Xerte ? > > Quickest and best way to localize the user interface of the runtime engine > is to create a new entry in language-config.xml, copy the english files to > the files you mentioned in the entry you added and translate all the > attributes in the XML file. > > To localize the wizard and the fill in screens of the templates, you best > use the xertertrans website. It is not production ready yet. This month we > will publish a community website with all relevant information on how to > localise xerte. It would be best if you can wait for that! > > Tom > > Op 1-10-2012 10:26, Branislav ?mitek schreef: > > 32 bit, English. > > I used Publish and Package variant. > > Installation folder has Languages files. > > Publish also created Languages folder but there wasn't file > engine_en-GB.xml. > > Maybe I made mistake changing language option in Xerte? > > Question? I would like to localize user interface into Slovenian language. > > Which way you suggest? > > > > > > 32bit? 64bit? English? Slovenian? > > I tested the latest Xerte 2.18 from the Nottingham Xerte website and > installed it on a 64 bit Dutch Windows 7 PC. > > The languages folder is copied when packaging/publishing the learning > object. > I tried: > > 1. Publish from the wizard (in a template (.rlt) project) > Package from the wizard > Publish from the Xerte editor > > All methods that I tried correctly created a languages folder for me. > > Can you specify how you try to publish your Learning object? > > Can you try to install xerte as an administrator, i.e. right-click the > setup and choose 'Run as administrator'? > > I suspect that some of the files of the languages folder actually ended up > in the windows 7 Virtual Files store in stead of in the Program Files > folder. > > Tom > > Op 1-10-2012 9:37, Branislav ?mitek schreef: > > Windows 7. > > > > > > > > Can I ask what OS you are using? > > Regards, > > Tom > > Op 1-10-2012 9:14, Branislav ?mitek schreef: > > Thank you for your response. > > Yes, bug discovered by you is the main problem. > > During todays testing I also with debugger help discovered the same > solution. > > I found missing file in directory you mentioned. > > I also find out that I can localize file and I get slovenian text in user > interface buttons. > > It seems that Xerte during creating empty project didn't copy all needed > files > > for correct final version. I also discovered the problem with our > characters in > > top level module page. They caused xml error at loading SCORM in Moodle. > > Now I can test the different modules in LMS environment. > > > > > > > > Thank you! > > I see, that you managed to create a test for all 3 kinds of projects. I > found the bug, and make sure it gets fixed a.s.a.p. > > In the meantime, you can check for yourself: > > In the resulting folders there is a folder called languages, however, it > doesn't contain the correct files. > > 1. Can yopu please check whether the languages folder of your xerte > insallation (c:\Program Files\xerte\languages or c:\Program Files > (x86)\xerte\languages) conatins more than 1 file. If so, copy those to the > languages folder of your learning object, and let me know if they now work > correctly. > > 2. If the files are not there, let me know as well. > > This will help me greatly in fixing this issue a.s.a.p. > > Tom > > Op 1-10-2012 6:54, Branislav ?mitek schreef: > > I'm sending you ZIP with three modules I have done with Xerte. > > For all three modules the preview is fine but I can't start them in > browser. > > > > > > > > Do you mind posting one of the modules so we can have a look? > > > > Op 30-9-2012 17:47, Brane ?mitek schreef: > > I'm using Xerte (2.18) desktop program. > > > > I tried all three suggested methods to create three test modules. > > Modules are without any content. Names of the objects are default names. > > There is no content in modules, empty page. > > Preview is o.k. but when I publish module and start index.html file > > the result is the same that I described in beginning of the question. > > I can record screen that you will see my way of the work. > > > > So far I have used Courselab to made an electronic learning materials. > > I'm ausing Courselab also in educational proces with students. > > I have to pay for new version of Courselab but i don't have any financial > resources for that. > > The old (free) version of mentioned program produce only IE compatible > learning materials. > > Xerte seems appropriate software for producing teaching materials and > would like to use it. > > I would like to test the Xerte in a Moodle in real life. Which version of > Xerte (desktop or Online) > > do you recommend me. I would rather use the desktop version because I do > not have the > > server. I encountered the problems that I would like to resolve before I > start with work. > > I would like that Xerte will also use students for producing their > electronic learning modules. > > > > > > > > > > > > > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [ > mailto:xerte-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Kemp Johnathan > *Sent:* Saturday, September 29, 2012 11:33 AM > *To:* Xerte discussion list > *Subject:* [Xerte] Re: Learning object does not start > > > > You mention Xerte rather than Xerte Online Toolkits, so I am assuming you > are using the desktop Xerte program. > > > > What version of Xerte are you using? > > > > What steps did you take to create your project? > > e.g. "file / new" > > or > > "templates / page templates" > > or > > "pages / create new pages project" > > > > Are you able to view your project in Xerte by doing "view / preview"? > > > > The following suggestions will apply if your project was created using > either "templates / page templates" or "pages / create new pages project". > > > > Your pages will have forms that you can open which you use to enter the > information that the pages will dispay. Have you included in your > information any none alphabetic characters such as "#" ? > > > > One other thought. I noticed you are in Slovenia. I am wondering if there > might possibly be any characters in your alphabet that are causing a > problem for Xerte by breaking the xml. > > > > Try this test. > > Create a new project in Xerte using the same method that you used for you > current project that is not displaying. > > Add each of the two pages that your original project has but do not change > any of the default data that the pages start with. > > Do "View / Preview" - does your project display correctly? > > > > If should display correctly as at this point everything is still just > standard Xerte stuff. > > > > Now add each element of data to each page and test each page by previewing > it after adding each element of data. > > You may find that it is a particular data element that is causing the > problem. This process should help you to identify what if anything is > compromising your xml data. > > > > Hope this helps. > > > > Kind regards > > > > Johnathan > > > > > > On 27 September 2012 16:19, Brane ?mitek > wrote: > > No. I have the same problem running it localy. > > Browser (I tried IE, FF, Chrome) starts with mentioned screen. > > > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney > *Sent:* Thursday, September 27, 2012 2:09 PM > *To:* Xerte discussion list > *Subject:* [Xerte] Re: Learning object does not start > > > > Does it work when you run it locally? > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [ > mailto:xerte-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Branislav ?mitek > *Sent:* 27 September 2012 12:41 > *To:* xerte at lists.nottingham.ac.uk > *Subject:* [Xerte] Learning object does not start > > > > I did small learning module (two pages) in Xerte. > > I tried to run it. Module starts and stands with a screen that says: "xml > Loading." > > What did I do wrong? The same situation is when I loaded SCORM package in > Moodle. > > > > Kind regards > > Branislav SMITEK Ph.D. > University of Maribor > FACULTY OF ORGANIZATIONAL SCIENCES > Kidriceva cesta 55/a > SI4000 KRANJ > SLOVENIA > > tel: +386 4 237 42 63 > fax: +386 4 237 42 99 > e-mail: brane.smitek at fov.uni-mb.si > > > > > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system: you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > > > > > > > _______________________________________________ > > Xerte mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > This message and any attachment are intended solely 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 mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > _______________________________________________ > > Xerte mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > _______________________________________________ > > Xerte mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > _______________________________________________ > > Xerte mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > -- > > -- > > > > 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 Julian.Tenney at nottingham.ac.uk Wed Oct 3 14:05:03 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 14:05:03 +0100 Subject: [Xerte-dev] Re: FW: [Xerte] Re: Learning object does not start In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA1EB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA221@EXCHANGE1.ad.nottingham.ac.uk> I wondered if it was that Windows 7 thing as well: there are a few things it could be, liveware being one of them? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 03 October 2012 14:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: [Xerte] Re: Learning object does not start I don't know. Based on earlier comments in the discussion flow there appear to have been some issues with Windows 7 copying files to a user account folder instead of the Xerte project folder, resulting in the project failing because it cannot find key files it needs. Tom has been doing some work on this. But I am not sure at this point we can take it as read that Branislav's project is completely set up as it should be. I don't think it is clear yet that this is pages project specific. Some of the earlier issues I think were caused by internationalisation related issues. Tom is likely to have a better understanding of what may be going on at this point in time. I raised the issue of checking the Common folder because Branislav made mention of "common". If the common for the project was empty this would stop the page previewing if it required an asset from the folder. We don't yet have confirmation that this the case. Kind regards Johnathan On 3 October 2012 13:41, Julian Tenney > wrote: Johnathan, is this something to do with initialising a pages project the wrong way, or some other ?pages? specific gotcha? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 13:40 To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start What do you see in the preview window? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Branislav ?mitek Sent: 03 October 2012 12:48 To: 'Xerte discussion list' Subject: [Xerte] Re: Learning object does not start We solved problem with starting simple RLO. Now I trying to do more complex project but I have problem with Xerte in common. I can use text and image icon. When I try to use other icons (movie for example) I don't get any result in preview window. I use Pages/Media/Video wizard, I anter all the data, try play but there is no result in preview window. I read the XerteGettingStarted but i still have problems. Is there any more detailed user guide on the internet? I thaught that I had enough knowledge to use the program but it is not so. Any suggestions? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Monday, October 01, 2012 10:45 AM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start Are there any files in \AppData\Local\VirtualStore\Program Files\Xerte ? Quickest and best way to localize the user interface of the runtime engine is to create a new entry in language-config.xml, copy the english files to the files you mentioned in the entry you added and translate all the attributes in the XML file. To localize the wizard and the fill in screens of the templates, you best use the xertertrans website. It is not production ready yet. This month we will publish a community website with all relevant information on how to localise xerte. It would be best if you can wait for that! Tom Op 1-10-2012 10:26, Branislav ?mitek schreef: 32 bit, English. I used Publish and Package variant. Installation folder has Languages files. Publish also created Languages folder but there wasn't file engine_en-GB.xml. Maybe I made mistake changing language option in Xerte? Question? I would like to localize user interface into Slovenian language. Which way you suggest? 32bit? 64bit? English? Slovenian? I tested the latest Xerte 2.18 from the Nottingham Xerte website and installed it on a 64 bit Dutch Windows 7 PC. The languages folder is copied when packaging/publishing the learning object. I tried: 1. Publish from the wizard (in a template (.rlt) project) Package from the wizard Publish from the Xerte editor All methods that I tried correctly created a languages folder for me. Can you specify how you try to publish your Learning object? Can you try to install xerte as an administrator, i.e. right-click the setup and choose 'Run as administrator'? I suspect that some of the files of the languages folder actually ended up in the windows 7 Virtual Files store in stead of in the Program Files folder. Tom Op 1-10-2012 9:37, Branislav ?mitek schreef: Windows 7. Can I ask what OS you are using? Regards, Tom Op 1-10-2012 9:14, Branislav ?mitek schreef: Thank you for your response. Yes, bug discovered by you is the main problem. During todays testing I also with debugger help discovered the same solution. I found missing file in directory you mentioned. I also find out that I can localize file and I get slovenian text in user interface buttons. It seems that Xerte during creating empty project didn't copy all needed files for correct final version. I also discovered the problem with our characters in top level module page. They caused xml error at loading SCORM in Moodle. Now I can test the different modules in LMS environment. Thank you! I see, that you managed to create a test for all 3 kinds of projects. I found the bug, and make sure it gets fixed a.s.a.p. In the meantime, you can check for yourself: In the resulting folders there is a folder called languages, however, it doesn't contain the correct files. 1. Can yopu please check whether the languages folder of your xerte insallation (c:\Program Files\xerte\languages or c:\Program Files (x86)\xerte\languages) conatins more than 1 file. If so, copy those to the languages folder of your learning object, and let me know if they now work correctly. 2. If the files are not there, let me know as well. This will help me greatly in fixing this issue a.s.a.p. Tom Op 1-10-2012 6:54, Branislav ?mitek schreef: I'm sending you ZIP with three modules I have done with Xerte. For all three modules the preview is fine but I can't start them in browser. Do you mind posting one of the modules so we can have a look? Op 30-9-2012 17:47, Brane ?mitek schreef: I'm using Xerte (2.18) desktop program. I tried all three suggested methods to create three test modules. Modules are without any content. Names of the objects are default names. There is no content in modules, empty page. Preview is o.k. but when I publish module and start index.html file the result is the same that I described in beginning of the question. I can record screen that you will see my way of the work. So far I have used Courselab to made an electronic learning materials. I'm ausing Courselab also in educational proces with students. I have to pay for new version of Courselab but i don't have any financial resources for that. The old (free) version of mentioned program produce only IE compatible learning materials. Xerte seems appropriate software for producing teaching materials and would like to use it. I would like to test the Xerte in a Moodle in real life. Which version of Xerte (desktop or Online) do you recommend me. I would rather use the desktop version because I do not have the server. I encountered the problems that I would like to resolve before I start with work. I would like that Xerte will also use students for producing their electronic learning modules. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: Saturday, September 29, 2012 11:33 AM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start You mention Xerte rather than Xerte Online Toolkits, so I am assuming you are using the desktop Xerte program. What version of Xerte are you using? What steps did you take to create your project? e.g. "file / new" or "templates / page templates" or "pages / create new pages project" Are you able to view your project in Xerte by doing "view / preview"? The following suggestions will apply if your project was created using either "templates / page templates" or "pages / create new pages project". Your pages will have forms that you can open which you use to enter the information that the pages will dispay. Have you included in your information any none alphabetic characters such as "#" ? One other thought. I noticed you are in Slovenia. I am wondering if there might possibly be any characters in your alphabet that are causing a problem for Xerte by breaking the xml. Try this test. Create a new project in Xerte using the same method that you used for you current project that is not displaying. Add each of the two pages that your original project has but do not change any of the default data that the pages start with. Do "View / Preview" - does your project display correctly? If should display correctly as at this point everything is still just standard Xerte stuff. Now add each element of data to each page and test each page by previewing it after adding each element of data. You may find that it is a particular data element that is causing the problem. This process should help you to identify what if anything is compromising your xml data. Hope this helps. Kind regards Johnathan On 27 September 2012 16:19, Brane ?mitek > wrote: No. I have the same problem running it localy. Browser (I tried IE, FF, Chrome) starts with mentioned screen. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, September 27, 2012 2:09 PM To: Xerte discussion list Subject: [Xerte] Re: Learning object does not start Does it work when you run it locally? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Branislav ?mitek Sent: 27 September 2012 12:41 To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Learning object does not start I did small learning module (two pages) in Xerte. I tried to run it. Module starts and stands with a screen that says: "xml Loading." What did I do wrong? The same situation is when I loaded SCORM package in Moodle. Kind regards Branislav SMITEK Ph.D. University of Maribor FACULTY OF ORGANIZATIONAL SCIENCES Kidriceva cesta 55/a SI4000 KRANJ SLOVENIA tel: +386 4 237 42 63 fax: +386 4 237 42 99 e-mail: brane.smitek at fov.uni-mb.si This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely 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 mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- -- 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 d_b_burnett at hotmail.com Wed Oct 3 14:12:58 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 09:12:58 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , , , , , Message-ID: 2.17Templates > Page Templates.Opens template.rtlDouble click LO.Insert Image Viewer. Close Wizard.Edit template.xwdOpen wizard.Highlight Image Viewer icon.No change. Date: Wed, 3 Oct 2012 13:53:29 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Would you mind posting the code for your complete xwd file, and I will take a look at it? If you are using 2.18 and a pages project, then when you make changes to your xwd file in order to add new attribute fields you need to remember to open the pages xwd in xerteSelect the top level entry (below the pageWizard folderClick the delete button (to delete the current xml content for the page)Close the formRe open the form Click the insert button to insert a new default page data into the xmlOn completion of point 6 you should see the new form with your extra fields displayed - if everything in your xwd file is as it should be. Kind regards Johnathan On 3 October 2012 13:44, Dave Burnett wrote: It may be that all you need to do is addname2="some text"in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Coincidentally, name2 is exactly what I originally tried. Is the "newNodes" section actually creating the object, or just giving it a value so the value doesn't appear as "undefined"? This is how imageViewer appears for me in the newNodes section Enter text for the page here]]> Date: Wed, 3 Oct 2012 13:22:07 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett wrote: OK, I reverted to 2.17 after running into issues with 2.18.I imagine that's why I can't find it. /// this does not appear? Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett wrote: er, where's scenario.xwd? Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. _______________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Wed Oct 3 14:18:32 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 14:18:32 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: Try deleting your image viewer page from your project, saving the changes to your project then adding a new imageViewer page. JK On 3 October 2012 14:12, Dave Burnett wrote: > 2.17 > Templates > Page Templates. > Opens template.rtl > Double click LO. > Insert Image Viewer. > > Close Wizard. > Edit template.xwd > Open wizard. > Highlight Image Viewer icon. > No change. > > > > Date: Wed, 3 Oct 2012 13:53:29 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Would you mind posting the code for your complete xwd file, and I will > take a look at it? > > If you are using 2.18 and a pages project, then when you make changes to > your xwd file in order to add new attribute fields you need to remember to > > 1. open the pages xwd in xerte > 2. Select the top level entry (below the pageWizard folder > 3. Click the delete button (to delete the current xml content for the > page) > 4. Close the form > 5. Re open the form > 6. Click the insert button to insert a new default page data into the > xml > > On completion of point 6 you should see the new form with your extra > fields displayed - if everything in your xwd file is as it should be. > > Kind regards > > Johnathan > > On 3 October 2012 13:44, Dave Burnett wrote: > > It may be that all you need to do is add > name2="some text" > in the newNodes section of your xwd file after the entry for > url="Whatever text you are using as the default for this attribute" > > > Coincidentally, name2 is exactly what I originally tried. > Is the "newNodes" section actually creating the object, or just giving it > a value so the value doesn't appear as "undefined"? > > This is how imageViewer appears for me in the newNodes section > > align="Left" url="Select an Image" newTextField="Enter some new text">Enter > text for the page here]]> > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:22:07 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 > > Look at the example I just sent you and see if that makes things clearer. > > It may be that all you need to do is add > > name2="some text" > > in the newNodes section of your xwd file after the entry for > > url="Whatever text you are using as the default for this attribute" > > Kind regards > > Johnathan > > On 3 October 2012 13:11, Dave Burnett wrote: > > > OK, I reverted to 2.17 after running into issues with 2.18. > I imagine that's why I can't find it. > > menuItem="Image Viewer" icon="icImage" remove="true" > thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a > large image and select regions. Useful way of presenting large images in a > small screen space."> > > > width="100"/> > > > /// this does > not appear? > > > > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:03:03 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Sorry for not being able to reply to you any earlier. > > You can find a copy in your xerte installation folder e.g. > > c:\xerte\pages\wizards\en-GB\ > > Kind regards > > Johnathan > > On 2 October 2012 17:00, Dave Burnett wrote: > > > er, where's scenario.xwd? > > > ------------------------------ > Date: Tue, 2 Oct 2012 16:39:28 +0100 > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > > To keep things simple you could simply paste the modelAnswer parameters > section as a child of the image viewer element. This would avoid any > issues with the two pages having any parameters with the same name. > > If you open scenario.xwd you can see an example of something similar > > The page level element is and the child elements of scenario are > > > > > The section declares both the scenario element > parameters and its children's parameters so that when a new page is created > it already has its child elements populated with default data. > > Once you get your example working remember if you want it to co-exist with > other Xerte page types that you should give any element that is a top level > element in a block a unique name that is not used in any of the > other page types. Your model file will then need editing (use search and > replace in Flashdevelop) to replace the original name with the new name. > > Hope this clears things up if not post back and I will try and answer any > further questions. > > Kind regards > > Johnathan > > On 2 October 2012 15:45, Dave Burnett wrote: > > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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. > > > > > _______________________________________________ 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. > > _______________________________________________ > 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 Wed Oct 3 14:19:37 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 14:19:37 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA241@EXCHANGE1.ad.nottingham.ac.uk> Or add the new attributes to the xml the wizard is rendering. The newNodes contains payloads: it doesn't affect what's already in the file. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 03 October 2012 14:19 To: For Xerte technical developers Subject: [Xerte-dev] Re: Fusing 2 items Try deleting your image viewer page from your project, saving the changes to your project then adding a new imageViewer page. JK On 3 October 2012 14:12, Dave Burnett > wrote: 2.17 Templates > Page Templates. Opens template.rtl Double click LO. Insert Image Viewer. Close Wizard. Edit template.xwd Open wizard. Highlight Image Viewer icon. No change. Date: Wed, 3 Oct 2012 13:53:29 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Would you mind posting the code for your complete xwd file, and I will take a look at it? If you are using 2.18 and a pages project, then when you make changes to your xwd file in order to add new attribute fields you need to remember to 1. open the pages xwd in xerte 2. Select the top level entry (below the pageWizard folder 3. Click the delete button (to delete the current xml content for the page) 4. Close the form 5. Re open the form 6. Click the insert button to insert a new default page data into the xml On completion of point 6 you should see the new form with your extra fields displayed - if everything in your xwd file is as it should be. Kind regards Johnathan On 3 October 2012 13:44, Dave Burnett > wrote: It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Coincidentally, name2 is exactly what I originally tried. Is the "newNodes" section actually creating the object, or just giving it a value so the value doesn't appear as "undefined"? This is how imageViewer appears for me in the newNodes section Enter text for the page here]]> ________________________________ Date: Wed, 3 Oct 2012 13:22:07 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett > wrote: OK, I reverted to 2.17 after running into issues with 2.18. I imagine that's why I can't find it. /// this does not appear? ________________________________ Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett > wrote: er, where's scenario.xwd? ________________________________ Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett > wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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 d_b_burnett at hotmail.com Wed Oct 3 14:50:08 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Wed, 3 Oct 2012 09:50:08 -0400 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: , , , , , , , , , , , Message-ID: Thank you Johnathan!Didn't even have to Save.Just delete/replace. Date: Wed, 3 Oct 2012 14:18:32 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Try deleting your image viewer page from your project, saving the changes to your project then adding a new imageViewer page. JK On 3 October 2012 14:12, Dave Burnett wrote: 2.17Templates > Page Templates.Opens template.rtlDouble click LO.Insert Image Viewer. Close Wizard.Edit template.xwdOpen wizard.Highlight Image Viewer icon. No change. Date: Wed, 3 Oct 2012 13:53:29 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Would you mind posting the code for your complete xwd file, and I will take a look at it? If you are using 2.18 and a pages project, then when you make changes to your xwd file in order to add new attribute fields you need to remember to open the pages xwd in xerteSelect the top level entry (below the pageWizard folderClick the delete button (to delete the current xml content for the page)Close the formRe open the form Click the insert button to insert a new default page data into the xmlOn completion of point 6 you should see the new form with your extra fields displayed - if everything in your xwd file is as it should be. Kind regards Johnathan On 3 October 2012 13:44, Dave Burnett wrote: It may be that all you need to do is addname2="some text"in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Coincidentally, name2 is exactly what I originally tried. Is the "newNodes" section actually creating the object, or just giving it a value so the value doesn't appear as "undefined"? This is how imageViewer appears for me in the newNodes section Enter text for the page here]]> Date: Wed, 3 Oct 2012 13:22:07 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett wrote: OK, I reverted to 2.17 after running into issues with 2.18.I imagine that's why I can't find it. /// this does not appear? Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett wrote: er, where's scenario.xwd? Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed Oct 3 14:56:05 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 3 Oct 2012 14:56:05 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 johnathan.kemp at ntlworld.com Wed Oct 3 15:01:34 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Wed, 3 Oct 2012 15:01:34 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: What happens is that you provide all the details that the xwd file needs but if you open an existing page that was created before you edited the xwd file then the extra fields you added do not exist in that pages xml definition. So when you open the form your new fields don't show up. Once you get the hang of it adding new sections to forms is straight forward. But there are a number of gotcha's that can trip you up whilst you are trying to figure this out for yourself. I planned to create a simple video explaining how to add a new feature to a page, that would illustrate all the key points in the process. However I have held back until after the AGM as I want to understand first what impact the HTML5 stuff will have on the viability of creating pages in Xerte for use in XOT. Glad you have got it working. Kind regards Johnathan On 3 October 2012 14:50, Dave Burnett wrote: > > Thank you Johnathan! > Didn't even have to Save. > Just delete/replace. > > > > ------------------------------ > Date: Wed, 3 Oct 2012 14:18:32 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Try deleting your image viewer page from your project, saving the changes > to your project then adding a new imageViewer page. > > JK > > On 3 October 2012 14:12, Dave Burnett wrote: > > 2.17 > Templates > Page Templates. > Opens template.rtl > Double click LO. > Insert Image Viewer. > > Close Wizard. > Edit template.xwd > Open wizard. > Highlight Image Viewer icon. > No change. > > > > Date: Wed, 3 Oct 2012 13:53:29 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Would you mind posting the code for your complete xwd file, and I will > take a look at it? > > If you are using 2.18 and a pages project, then when you make changes to > your xwd file in order to add new attribute fields you need to remember to > > 1. open the pages xwd in xerte > 2. Select the top level entry (below the pageWizard folder > 3. Click the delete button (to delete the current xml content for the > page) > 4. Close the form > 5. Re open the form > 6. Click the insert button to insert a new default page data into the > xml > > On completion of point 6 you should see the new form with your extra > fields displayed - if everything in your xwd file is as it should be. > > Kind regards > > Johnathan > > On 3 October 2012 13:44, Dave Burnett wrote: > > It may be that all you need to do is add > name2="some text" > in the newNodes section of your xwd file after the entry for > url="Whatever text you are using as the default for this attribute" > > > Coincidentally, name2 is exactly what I originally tried. > Is the "newNodes" section actually creating the object, or just giving it > a value so the value doesn't appear as "undefined"? > > This is how imageViewer appears for me in the newNodes section > > align="Left" url="Select an Image" newTextField="Enter some new text">Enter > text for the page here]]> > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:22:07 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 > > Look at the example I just sent you and see if that makes things clearer. > > It may be that all you need to do is add > > name2="some text" > > in the newNodes section of your xwd file after the entry for > > url="Whatever text you are using as the default for this attribute" > > Kind regards > > Johnathan > > On 3 October 2012 13:11, Dave Burnett wrote: > > > OK, I reverted to 2.17 after running into issues with 2.18. > I imagine that's why I can't find it. > > menuItem="Image Viewer" icon="icImage" remove="true" > thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a > large image and select regions. Useful way of presenting large images in a > small screen space."> > > > width="100"/> > > > /// this does > not appear? > > > > > > > ------------------------------ > Date: Wed, 3 Oct 2012 13:03:03 +0100 > > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > Sorry for not being able to reply to you any earlier. > > You can find a copy in your xerte installation folder e.g. > > c:\xerte\pages\wizards\en-GB\ > > Kind regards > > Johnathan > > On 2 October 2012 17:00, Dave Burnett wrote: > > > er, where's scenario.xwd? > > > ------------------------------ > Date: Tue, 2 Oct 2012 16:39:28 +0100 > From: johnathan.kemp at ntlworld.com > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Fusing 2 items > > > To keep things simple you could simply paste the modelAnswer parameters > section as a child of the image viewer element. This would avoid any > issues with the two pages having any parameters with the same name. > > If you open scenario.xwd you can see an example of something similar > > The page level element is and the child elements of scenario are > > > > > The section declares both the scenario element > parameters and its children's parameters so that when a new page is created > it already has its child elements populated with default data. > > Once you get your example working remember if you want it to co-exist with > other Xerte page types that you should give any element that is a top level > element in a block a unique name that is not used in any of the > other page types. Your model file will then need editing (use search and > replace in Flashdevelop) to replace the original name with the new name. > > Hope this clears things up if not post back and I will try and answer any > further questions. > > Kind regards > > Johnathan > > On 2 October 2012 15:45, Dave Burnett wrote: > > > How difficult will it be to fuse 2 items? > > I'm trying to make a template page that has the Image Viewer occupying the > up area with the Model Answer in the Lower. > I think I can work out the template itself, but not sure how to adapt the > Image Viewer Wizard to include the Model Answer params. > > Dave > > > > > This message and any attachment are intended solely 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. > > _______________________________________________ > 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. > > > > > _______________________________________________ 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. > > _______________________________________________ > 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed Oct 3 15:05:54 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 3 Oct 2012 15:05:54 +0100 Subject: [Xerte-dev] Re: Fusing 2 items In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA2A3@EXCHANGE1.ad.nottingham.ac.uk> There's no reason why you wouldn't still use Xerte to mock up an HTML5 page, but you will have to write the HTML5 side of the equation as well, jquery will be your friend. The wizard isn't going to change, so think if it as a data producer for anything. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 03 October 2012 15:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Fusing 2 items What happens is that you provide all the details that the xwd file needs but if you open an existing page that was created before you edited the xwd file then the extra fields you added do not exist in that pages xml definition. So when you open the form your new fields don't show up. Once you get the hang of it adding new sections to forms is straight forward. But there are a number of gotcha's that can trip you up whilst you are trying to figure this out for yourself. I planned to create a simple video explaining how to add a new feature to a page, that would illustrate all the key points in the process. However I have held back until after the AGM as I want to understand first what impact the HTML5 stuff will have on the viability of creating pages in Xerte for use in XOT. Glad you have got it working. Kind regards Johnathan On 3 October 2012 14:50, Dave Burnett > wrote: Thank you Johnathan! Didn't even have to Save. Just delete/replace. ________________________________ Date: Wed, 3 Oct 2012 14:18:32 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Try deleting your image viewer page from your project, saving the changes to your project then adding a new imageViewer page. JK On 3 October 2012 14:12, Dave Burnett > wrote: 2.17 Templates > Page Templates. Opens template.rtl Double click LO. Insert Image Viewer. Close Wizard. Edit template.xwd Open wizard. Highlight Image Viewer icon. No change. Date: Wed, 3 Oct 2012 13:53:29 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Would you mind posting the code for your complete xwd file, and I will take a look at it? If you are using 2.18 and a pages project, then when you make changes to your xwd file in order to add new attribute fields you need to remember to 1. open the pages xwd in xerte 2. Select the top level entry (below the pageWizard folder 3. Click the delete button (to delete the current xml content for the page) 4. Close the form 5. Re open the form 6. Click the insert button to insert a new default page data into the xml On completion of point 6 you should see the new form with your extra fields displayed - if everything in your xwd file is as it should be. Kind regards Johnathan On 3 October 2012 13:44, Dave Burnett > wrote: It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Coincidentally, name2 is exactly what I originally tried. Is the "newNodes" section actually creating the object, or just giving it a value so the value doesn't appear as "undefined"? This is how imageViewer appears for me in the newNodes section Enter text for the page here]]> ________________________________ Date: Wed, 3 Oct 2012 13:22:07 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items This is not a 2.17 or 2.18 issue 2.18 you should be able to use 2.18 Look at the example I just sent you and see if that makes things clearer. It may be that all you need to do is add name2="some text" in the newNodes section of your xwd file after the entry for url="Whatever text you are using as the default for this attribute" Kind regards Johnathan On 3 October 2012 13:11, Dave Burnett > wrote: OK, I reverted to 2.17 after running into issues with 2.18. I imagine that's why I can't find it. /// this does not appear? ________________________________ Date: Wed, 3 Oct 2012 13:03:03 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items Sorry for not being able to reply to you any earlier. You can find a copy in your xerte installation folder e.g. c:\xerte\pages\wizards\en-GB\ Kind regards Johnathan On 2 October 2012 17:00, Dave Burnett > wrote: er, where's scenario.xwd? ________________________________ Date: Tue, 2 Oct 2012 16:39:28 +0100 From: johnathan.kemp at ntlworld.com To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Fusing 2 items To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name. If you open scenario.xwd you can see an example of something similar The page level element is and the child elements of scenario are The section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data. Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name. Hope this clears things up if not post back and I will try and answer any further questions. Kind regards Johnathan On 2 October 2012 15:45, Dave Burnett > wrote: How difficult will it be to fuse 2 items? I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower. I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params. Dave This message and any attachment are intended solely 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. _______________________________________________ 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. _______________________________________________ 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. _______________________________________________ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Atack at nottingham.ac.uk Wed Oct 3 15:16:40 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Wed, 3 Oct 2012 15:16:40 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Wed Oct 3 15:27:40 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 3 Oct 2012 15:27:40 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <015701cda173$3fca35a0$bf5ea0e0$@co.uk> Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 reijnders at tor.nl Fri Oct 5 08:33:52 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 09:33:52 +0200 Subject: [Xerte-dev] Glossary Message-ID: <506E8D60.1090201@tor.nl> Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:32:35 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:32:35 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <506E8D60.1090201@tor.nl> References: <506E8D60.1090201@tor.nl> Message-ID: <003701cda2d3$f9502230$ebf06690$@co.uk> Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From Fay.Cross at nottingham.ac.uk Fri Oct 5 09:34:44 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 5 Oct 2012 09:34:44 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <003701cda2d3$f9502230$ebf06690$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> Message-ID: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: [cid:image001.jpg at 01CDA2DC.A71E0640] Then a plain text page with [cid:image002.jpg at 01CDA2DC.A71E0640] and a text and graphics page with the same words [cid:image003.jpg at 01CDA2DC.A71E0640] But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: image003.jpg URL: From reijnders at tor.nl Fri Oct 5 09:36:04 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 10:36:04 +0200 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <003701cda2d3$f9502230$ebf06690$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> Message-ID: <506E9BF4.4090207@tor.nl> Hi Ron, Actually, as it is in the engine, it affects both. Try adding a space behind the words on the text pages. For me at least it made a link of the first word. If you want, I can send you a fixed engine to test. Tom Op 5-10-2012 10:32, Ron Mitchell schreef: > > Hi Tom > > is this XOT or xerte? > > I can't get the Glossary to work in XOT at all - am I missing > something stupid?... > > As a test I added the following: > > Then a plain text page with > > and a text and graphics page with the same words > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Glossary > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so he's > created a big glossary, and then for each letter a separate text page > containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a > 'newline', I've added '\r' to the set of characters that may 'end' a > term in the RegExp of line 6662 (or the teacher has to add a space at > the end of the term. > > That still is not enough, it will only transform the first term to a > link. I had to remove the \\b from the regexp. I > tried to find a manual page to figure out what \\b > means in RegExp, but I can't find it. Do you have any idea what the > \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] + > ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + > ')([.,!? -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 24301 bytes Desc: not available URL: From reijnders at tor.nl Fri Oct 5 09:38:25 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 10:38:25 +0200 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> Message-ID: <506E9C81.3050905@tor.nl> I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b, but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: > > I think it's a problem with the regular expression -- if you add a > space after each word before you do a line break it will highlight the > word but if it's at the end of a line/ sentence like your examples it > won't. > > I think it's looking for " xot " rather than just "xot" to avoid > things like _cat_alogue happening if you have the word cat in the > glossary. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 05 October 2012 09:33 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary > > Hi Tom > > is this XOT or xerte? > > I can't get the Glossary to work in XOT at all - am I missing > something stupid?... > > As a test I added the following: > > Then a plain text page with > > and a text and graphics page with the same words > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > > *Subject:* [Xerte-dev] Glossary > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so he's > created a big glossary, and then for each letter a separate text page > containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a > 'newline', I've added '\r' to the set of characters that may 'end' a > term in the RegExp of line 6662 (or the teacher has to add a space at > the end of the term. > > That still is not enough, it will only transform the first term to a > link. I had to remove the \\b from the regexp. I > tried to find a manual page to figure out what \\b > means in RegExp, but I can't find it. Do you have any idea what the > \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] + > ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + > ')([.,!? -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:41:37 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:41:37 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> Message-ID: <006701cda2d5$3c8cda10$b5a68e30$@co.uk> Doh! :-( Thanks Fay that does indeed fix 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: 05 October 2012 09:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:44:25 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:44:25 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <506E9C81.3050905@tor.nl> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> Message-ID: <006d01cda2d5$a0a87220$e1f95660$@co.uk> That's curious Tom I changed the text on each page to: about xerte and about xot and about moodle and and the links get created and work on each page http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b , but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From reijnders at tor.nl Fri Oct 5 09:42:20 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 10:42:20 +0200 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <006701cda2d5$3c8cda10$b5a68e30$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <006701cda2d5$3c8cda10$b5a68e30$@co.uk> Message-ID: <506E9D6C.1030804@tor.nl> For all the words? I can't get this to work, even with spaces. Can you? (So no white lines between the words) Tom Op 5-10-2012 10:41, Ron Mitchell schreef: > > Doh! :-( > > Thanks Fay that does indeed fix 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:* 05 October 2012 09:35 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary > > I think it's a problem with the regular expression -- if you add a > space after each word before you do a line break it will highlight the > word but if it's at the end of a line/ sentence like your examples it > won't. > > I think it's looking for " xot " rather than just "xot" to avoid > things like _cat_alogue happening if you have the word cat in the > glossary. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 05 October 2012 09:33 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary > > Hi Tom > > is this XOT or xerte? > > I can't get the Glossary to work in XOT at all - am I missing > something stupid?... > > As a test I added the following: > > Then a plain text page with > > and a text and graphics page with the same words > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > > *Subject:* [Xerte-dev] Glossary > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so he's > created a big glossary, and then for each letter a separate text page > containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a > 'newline', I've added '\r' to the set of characters that may 'end' a > term in the RegExp of line 6662 (or the teacher has to add a space at > the end of the term. > > That still is not enough, it will only transform the first term to a > link. I had to remove the \\b from the regexp. I > tried to find a manual page to figure out what \\b > means in RegExp, but I can't find it. Do you have any idea what the > \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] + > ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + > ')([.,!? -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ejaffchh.png Type: image/png Size: 24021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 24301 bytes Desc: not available URL: From reijnders at tor.nl Fri Oct 5 09:49:08 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 10:49:08 +0200 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <006d01cda2d5$a0a87220$e1f95660$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> Message-ID: <506E9F04.9020505@tor.nl> I agree, that works. But I want: xerte xot moodle to work. I added a space after each word, and that doesn't work, only 'xerte ' gets highlighted. I have it working, but I want to understand why. Op 5-10-2012 10:44, Ron Mitchell schreef: > > That's curious Tom > > I changed the text on each page to: > > about xerte and > > about xot and > > about moodle and > > and the links get created and work on each page > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 09:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary > > I agree, but it was not sufficient. Somehow the second and third word > in Ron's example still did not get highlighted for me. > To fix this issue I had to add the \r to the RegExp. > > And to fix the other issue I had to remove the \\b , > but that bothers me, because I don't know why it was in there and what > it is supposed to do.... > > Tom > > Op 5-10-2012 10:34, Fay Cross schreef: > > I think it's a problem with the regular expression -- if you add a > space after each word before you do a line break it will highlight > the word but if it's at the end of a line/ sentence like your > examples it won't. > > I think it's looking for " xot " rather than just "xot" to avoid > things like _cat_alogue happening if you have the word cat in the > glossary. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 05 October 2012 09:33 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary > > Hi Tom > > is this XOT or xerte? > > I can't get the Glossary to work in XOT at all - am I missing > something stupid?... > > As a test I added the following: > > Then a plain text page with > > and a text and graphics page with the same words > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > > *Subject:* [Xerte-dev] Glossary > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so > he's created a big glossary, and then for each letter a separate > text page containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a > 'newline', I've added '\r' to the set of characters that may 'end' > a term in the RegExp of line 6662 (or the teacher has to add a > space at the end of the term. > > That still is not enough, it will only transform the first term to > a link. I had to remove the \\b from the > regexp. I tried to find a manual page to figure out what \\b > means in RegExp, but I can't find it. Do > you have any idea what the \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] > + ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + > ')([.,!? -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > This message and any attachment are intended solely 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. > -- -- 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/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:51:21 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:51:21 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <506E9D6C.1030804@tor.nl> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <006701cda2d5$3c8cda10$b5a68e30$@co.uk> <506E9D6C.1030804@tor.nl> Message-ID: <009301cda2d6$986d8db0$c948a910$@co.uk> Changed page 1 to: about xerte and about xot and about moodle and and page 2 with just a space at the end: about xerte about xot about moodle and both pages worked then started each line with the term and no word or space before them and only the first term was highlighted put a space back before each term and all worked again HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary For all the words? I can't get this to work, even with spaces. Can you? (So no white lines between the words) Tom Op 5-10-2012 10:41, Ron Mitchell schreef: Doh! :-( Thanks Fay that does indeed fix 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: 05 October 2012 09:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 24021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:53:15 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:53:15 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <506E9F04.9020505@tor.nl> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> Message-ID: <00ae01cda2d6$dcbce380$9636aa80$@co.uk> You can have them they're all free! ;-) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, that works. But I want: xerte xot moodle to work. I added a space after each word, and that doesn't work, only 'xerte ' gets highlighted. I have it working, but I want to understand why. Op 5-10-2012 10:44, Ron Mitchell schreef: That's curious Tom I changed the text on each page to: about xerte and about xot and about moodle and and the links get created and work on each page http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b , but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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. -- -- 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.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 09:57:56 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 09:57:56 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <00ae01cda2d6$dcbce380$9636aa80$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> Message-ID: <00bd01cda2d7$83a88460$8af98d20$@co.uk> It seems like as Fay mentioned only terms with a space either side are picked up? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:53 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary You can have them they're all free! ;-) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, that works. But I want: xerte xot moodle to work. I added a space after each word, and that doesn't work, only 'xerte ' gets highlighted. I have it working, but I want to understand why. Op 5-10-2012 10:44, Ron Mitchell schreef: That's curious Tom I changed the text on each page to: about xerte and about xot and about moodle and and the links get created and work on each page http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b , but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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. -- -- 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.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From patrick.lockley at googlemail.com Fri Oct 5 09:57:13 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 09:57:13 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <00bd01cda2d7$83a88460$8af98d20$@co.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> <00bd01cda2d7$83a88460$8af98d20$@co.uk> Message-ID: speaking as the Nottingham person who was tasked with writing regular expressions ;) I would assume that would be the case On Fri, Oct 5, 2012 at 9:57 AM, Ron Mitchell wrote: > It seems like as Fay mentioned only terms with a space either side are > picked up?**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell > *Sent:* 05 October 2012 09:53 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary**** > > ** ** > > You can have them they're all free! ;-)**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 09:49 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary**** > > ** ** > > I agree, that works. But I want: > > xerte > xot > moodle > > to work. > > I added a space after each word, and that doesn't work, only 'xerte ' gets > highlighted. I have it working, but I want to understand why.**** > > Op 5-10-2012 10:44, Ron Mitchell schreef:**** > > That's curious Tom**** > > I changed the text on each page to:**** > > about xerte and**** > > **** > > about xot and**** > > **** > > about moodle and**** > > **** > > and the links get created and work on each page > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 09:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > I agree, but it was not sufficient. Somehow the second and third word in > Ron's example still did not get highlighted for me. > To fix this issue I had to add the \r to the RegExp. > > And to fix the other issue I had to remove the \\b, but that bothers me, > because I don't know why it was in there and what it is supposed to do.... > > Tom**** > > Op 5-10-2012 10:34, Fay Cross schreef:**** > > I think it?s a problem with the regular expression ? if you add a space > after each word before you do a line break it will highlight the word but > if it?s at the end of a line/ sentence like your examples it won?t.**** > > **** > > I think it?s looking for ? xot ? rather than just ?xot? to avoid things > like *cat*alogue happening if you have the word cat in the glossary.**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 05 October 2012 09:33 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > Hi Tom**** > > is this XOT or xerte?**** > > I can't get the Glossary to work in XOT at all - am I missing something > stupid?...**** > > **** > > As a test I added the following:**** > > **** > > Then a plain text page with**** > > **** > > **** > > and a text and graphics page with the same words**** > > **** > > **** > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** > > **** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Glossary**** > > **** > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so he's > created a big glossary, and then for each letter a separate text page > containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a 'newline', > I've added '\r' to the set of characters that may 'end' a term in the > RegExp of line 6662 (or the teacher has to add a space at the end of the > term. > > That still is not enough, it will only transform the first term to a link. > I had to remove the \\b from the regexp. I tried to find a manual page to > figure out what \\b means in RegExp, but I can't find it. Do you have any > idea what the \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] + > ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + ')([.,!? > -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > }**** > > -- **** > > --**** > > **** > > Tom Reijnders**** > > TOR Informatica**** > > Chopinlaan 27**** > > 5242HM Rosmalen**** > > Tel: 073 5226191**** > > Fax: 073 5226196**** > > **** > > **** > > This message and any attachment are intended solely 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.**** > > ** ** > > ** ** > > -- **** > > --**** > > ** ** > > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From reijnders at tor.nl Fri Oct 5 10:02:16 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 11:02:16 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <00f301cd9fda$6cc21cc0$46465640$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> Message-ID: <506EA218.80705@tor.nl> Ron, Can you please try this wizard.swf? You should load the LO in the wizrds and save it first, because the work is done in the wizard. If it is NOT working, could you please send me the data.xml? Tom Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > *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 October 2012 14:34 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > Yes, it is a simplexml load error. It can't handle the '&' signs in > the urls. I am busy fixing this in the wizard, but it's not ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it > might be a simplexml_load issue? > > Cheers > > Ron > > *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 October 2012 14:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and > export - Tom? > > Yes, export will copy data.xml to template.xml and after finishing > with the export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I added > some _debug statements to export.php, can you afford to switch on > developer mode in config.php? There should be a debug.log file in > folder /tmp that might give us a clue of what is going on. But be > carefull, full php error reporting will be switched on. Don't do > it in a production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that > template.xml is getting written back to the user-files folder > for this project - any ideas how/why? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Ron Mitchell > *Sent:* 01 October 2012 13:15 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents > and export - Tom? > > Thanks for the responses Julian/Tom > > 1. Not sure why this has happened in a few places but not a > major problem if it's not happening all the time. > > 2. a. nothing relevant in the error logs so I guess it's not > escaping causing the problem > > b. Full archive doesn't work for this project either - just a > blank window when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting > written back to the project folder in use-files so there's > data.xml, preview.xml and template.xml can't see why or where > that is happening but wonder if it's linked to the problem? > > Cheers > > Ron > > *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 October 2012 09:36 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents > and export - Tom? > > 1. The only instance where I expect models etc in the > user-files, is when importing a learning object that does not > have a corresponding template in the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the > log files > b. Full archive export should work (as it doesn't try to read > the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see > either of these issues too.... > > 1. I've notice that some projects in the user-files folder > get populated with folders and files that shouldn't be > there e.g. common, languages, models etc. I haven't been > able to identify exactly what causes this. Anyone seen > this and/or got any idea re cause/solution? > > 2. The example of the page 560 LO we've shared and > developed on the 1.8 test install won't export - I just > get a blank window when clicking export but other LO's do > export. So I've been testing this with a copy and if I > replace data.xml and preview.xml with xml from a simple LO > the project exports. I'm wondering if there's a particular > page type causing the problem or if this is related to the > Issue Tom mentioned about html escaping e.g. there are > lots of < in the xml. > > Cheers > > Ron > > This message and any attachment are intended solely 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > -- > > 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. > -- -- 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.swf Type: application/x-shockwave-flash Size: 868532 bytes Desc: not available URL: From patrick.lockley at googlemail.com Fri Oct 5 10:03:00 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 10:03:00 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> <00bd01cda2d7$83a88460$8af98d20$@co.uk> Message-ID: is it case sensitive as well? On Fri, Oct 5, 2012 at 9:57 AM, Pat Lockley wrote: > speaking as the Nottingham person who was tasked with writing regular > expressions ;) > > I would assume that would be the case > > > On Fri, Oct 5, 2012 at 9:57 AM, Ron Mitchell wrote: > >> It seems like as Fay mentioned only terms with a space either side are >> picked up?**** >> >> ** ** >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: >> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell >> *Sent:* 05 October 2012 09:53 >> *To:* 'For Xerte technical developers' >> *Subject:* [Xerte-dev] Re: Glossary**** >> >> ** ** >> >> You can have them they're all free! ;-)**** >> >> ** ** >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ >> mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> *On Behalf Of *Tom Reijnders >> *Sent:* 05 October 2012 09:49 >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: Glossary**** >> >> ** ** >> >> I agree, that works. But I want: >> >> xerte >> xot >> moodle >> >> to work. >> >> I added a space after each word, and that doesn't work, only 'xerte ' >> gets highlighted. I have it working, but I want to understand why.**** >> >> Op 5-10-2012 10:44, Ron Mitchell schreef:**** >> >> That's curious Tom**** >> >> I changed the text on each page to:**** >> >> about xerte and**** >> >> **** >> >> about xot and**** >> >> **** >> >> about moodle and**** >> >> **** >> >> and the links get created and work on each page >> http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** >> >> **** >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ >> mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> *On Behalf Of *Tom Reijnders >> *Sent:* 05 October 2012 09:38 >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: Glossary**** >> >> **** >> >> I agree, but it was not sufficient. Somehow the second and third word in >> Ron's example still did not get highlighted for me. >> To fix this issue I had to add the \r to the RegExp. >> >> And to fix the other issue I had to remove the \\b, but that bothers me, >> because I don't know why it was in there and what it is supposed to do.... >> >> Tom**** >> >> Op 5-10-2012 10:34, Fay Cross schreef:**** >> >> I think it?s a problem with the regular expression ? if you add a space >> after each word before you do a line break it will highlight the word but >> if it?s at the end of a line/ sentence like your examples it won?t.**** >> >> **** >> >> I think it?s looking for ? xot ? rather than just ?xot? to avoid things >> like *cat*alogue happening if you have the word cat in the glossary.**** >> >> **** >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ >> mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> *On Behalf Of *Ron Mitchell >> *Sent:* 05 October 2012 09:33 >> *To:* 'For Xerte technical developers' >> *Subject:* [Xerte-dev] Re: Glossary**** >> >> **** >> >> Hi Tom**** >> >> is this XOT or xerte?**** >> >> I can't get the Glossary to work in XOT at all - am I missing something >> stupid?...**** >> >> **** >> >> As a test I added the following:**** >> >> **** >> >> Then a plain text page with**** >> >> **** >> >> **** >> >> and a text and graphics page with the same words**** >> >> **** >> >> **** >> >> But neither page shows any clickable links >> http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** >> >> **** >> >> **** >> >> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ >> mailto:xerte-dev-bounces at lists.nottingham.ac.uk] >> *On Behalf Of *Tom Reijnders >> *Sent:* 05 October 2012 08:34 >> *To:* xerte-dev at lists.nottingham.ac.uk >> *Subject:* [Xerte-dev] Glossary**** >> >> **** >> >> Julain, >> >> I suppose this is one for you: >> >> I have a teacher that wants to create a kind of dictionary, so he's >> created a big glossary, and then for each letter a separate text page >> containing a list of the terms. >> >> However, the terms are not all transformed into a link. >> 1. The regular expression doesn't like the sentence ending on a >> 'newline', I've added '\r' to the set of characters that may 'end' a term >> in the RegExp of line 6662 (or the teacher has to add a space at the end of >> the term. >> >> That still is not enough, it will only transform the first term to a >> link. I had to remove the \\b from the regexp. I tried to find a manual >> page to figure out what \\b means in RegExp, but I can't find it. Do you >> have any idea what the \\b is doing there? >> >> For quick reference I needed to change this: >> >> if (Glossary.enabled && highlight != false){ >> for (var i = 0; i> //new code with regexp >> var re = new RegExp('\\b(' + Glossary.terms[i] + >> ')([.,!? -])', 'gi'); >> myText = myText.replace(re, '> "'+STYLES.glossaryColour+'">> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); >> } >> } >> >> into this: >> >> if (Glossary.enabled && highlight != false){ >> for (var i = 0; i> //new code with regexp >> var re = new RegExp('(' + Glossary.terms[i] + >> ')([.,!? -\n\r])', 'gi'); >> myText = myText.replace(re, '> "'+STYLES.glossaryColour+'">> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); >> } >> }**** >> >> -- **** >> >> --**** >> >> **** >> >> Tom Reijnders**** >> >> TOR Informatica**** >> >> Chopinlaan 27**** >> >> 5242HM Rosmalen**** >> >> Tel: 073 5226191**** >> >> Fax: 073 5226196**** >> >> **** >> >> **** >> >> This message and any attachment are intended solely 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.**** >> >> ** ** >> >> ** ** >> >> -- **** >> >> --**** >> >> ** ** >> >> 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 10:11:45 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 10:11:45 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> <00bd01cda2d7$83a88460$8af98d20$@co.uk> Message-ID: <00e101cda2d9$7226f0d0$5674d270$@co.uk> No it doesn't appear to be case sensitive. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 05 October 2012 10:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary is it case sensitive as well? On Fri, Oct 5, 2012 at 9:57 AM, Pat Lockley wrote: speaking as the Nottingham person who was tasked with writing regular expressions ;) I would assume that would be the case On Fri, Oct 5, 2012 at 9:57 AM, Ron Mitchell wrote: It seems like as Fay mentioned only terms with a space either side are picked up? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:53 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary You can have them they're all free! ;-) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, that works. But I want: xerte xot moodle to work. I added a space after each word, and that doesn't work, only 'xerte ' gets highlighted. I have it working, but I want to understand why. Op 5-10-2012 10:44, Ron Mitchell schreef: That's curious Tom I changed the text on each page to: about xerte and about xot and about moodle and and the links get created and work on each page http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b , but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: Then a plain text page with and a text and graphics page with the same words But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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. -- -- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Fri Oct 5 10:25:38 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 10:25:38 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506EA218.80705@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> Message-ID: <00ed01cda2db$62c4bad0$284e3070$@co.uk> Hi Tom assuming you mean /modules/xerte/engine/wizard.swf I replaced that, edited the LO, tried deployment and archive exports and same problem as before - blank window. Turned on developer mode temporarily and have attached the errors as well as data.xml Possibly worth pointing out that this project started as an export of the Notts page 560 LO so began life many years ago! HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 10:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Ron, Can you please try this wizard.swf? You should load the LO in the wizrds and save it first, because the work is done in the wizard. If it is NOT working, could you please send me the data.xml? Tom Op 1-10-2012 15:41, Ron Mitchell schreef: Ok cheers - happy to test if and when you need that. 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 October 2012 14:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, it is a simplexml load error. It can't handle the '&' signs in the urls. I am busy fixing this in the wizard, but it's not ready yet. Tom Op 1-10-2012 15:29, Ron Mitchell schreef: Thanks Tom I've sent you the long list of errors offlist - seems like it might be a simplexml_load issue? Cheers Ron 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 October 2012 14:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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. -- -- 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. -- -- 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: simpleload_errors.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data.xml Type: text/xml Size: 79881 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Fri Oct 5 11:20:48 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 5 Oct 2012 11:20:48 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> <00bd01cda2d7$83a88460$8af98d20$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCAB6F@EXCHANGE1.ad.nottingham.ac.uk> You tell me: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 05 October 2012 10:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary is it case sensitive as well? On Fri, Oct 5, 2012 at 9:57 AM, Pat Lockley > wrote: speaking as the Nottingham person who was tasked with writing regular expressions ;) I would assume that would be the case On Fri, Oct 5, 2012 at 9:57 AM, Ron Mitchell > wrote: It seems like as Fay mentioned only terms with a space either side are picked up? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:53 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary You can have them they're all free! ;-) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, that works. But I want: xerte xot moodle to work. I added a space after each word, and that doesn't work, only 'xerte ' gets highlighted. I have it working, but I want to understand why. Op 5-10-2012 10:44, Ron Mitchell schreef: That's curious Tom I changed the text on each page to: about xerte and about xot and about moodle and and the links get created and work on each page http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Glossary I agree, but it was not sufficient. Somehow the second and third word in Ron's example still did not get highlighted for me. To fix this issue I had to add the \r to the RegExp. And to fix the other issue I had to remove the \\b, but that bothers me, because I don't know why it was in there and what it is supposed to do.... Tom Op 5-10-2012 10:34, Fay Cross schreef: I think it's a problem with the regular expression - if you add a space after each word before you do a line break it will highlight the word but if it's at the end of a line/ sentence like your examples it won't. I think it's looking for " xot " rather than just "xot" to avoid things like catalogue happening if you have the word cat in the glossary. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 09:33 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Glossary Hi Tom is this XOT or xerte? I can't get the Glossary to work in XOT at all - am I missing something stupid?... As a test I added the following: [cid:image001.jpg at 01CDA2EB.788F6490] Then a plain text page with [cid:image002.jpg at 01CDA2EB.788F6490] and a text and graphics page with the same words [cid:image003.jpg at 01CDA2EB.788F6490] But neither page shows any clickable links http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 08:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Glossary Julain, I suppose this is one for you: I have a teacher that wants to create a kind of dictionary, so he's created a big glossary, and then for each letter a separate text page containing a list of the terms. However, the terms are not all transformed into a link. 1. The regular expression doesn't like the sentence ending on a 'newline', I've added '\r' to the set of characters that may 'end' a term in the RegExp of line 6662 (or the teacher has to add a space at the end of the term. That still is not enough, it will only transform the first term to a link. I had to remove the \\b from the regexp. I tried to find a manual page to figure out what \\b means in RegExp, but I can't find it. Do you have any idea what the \\b is doing there? For quick reference I needed to change this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } into this: if (Glossary.enabled && highlight != false){ for (var i = 0; i$1$2'); } } -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely 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. -- -- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: image003.jpg URL: From patrick.lockley at googlemail.com Fri Oct 5 11:25:33 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 11:25:33 +0100 Subject: [Xerte-dev] Re: Glossary In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCAB6F@EXCHANGE1.ad.nottingham.ac.uk> References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk> <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk> <506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk> <00bd01cda2d7$83a88460$8af98d20$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCAB6F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: ergh reg exp support over email 1) Not sure you need to second set of brackets (but not sure on this AS reg exp code) - the $2 seems a bit spurious, but it might be the square brackets 2) In some regexps - the full stop . - means "any character", and ? means choice, so these might need escaping to work properly 3) logically a reg exp is case sensitive 4) The \b is word boundary - so should cover words in sentences and words at the beginning of a sentence On Fri, Oct 5, 2012 at 11:20 AM, Julian Tenney < Julian.Tenney at nottingham.ac.uk> wrote: > You tell me:**** > > ** ** > > if (Glossary.enabled && highlight != false){**** > > for (var i = 0; i > //new code with regexp**** > > var re = new RegExp('\\b(' + Glossary.terms[i] + ')([.,!? -])', > 'gi');**** > > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2');** > ** > > }**** > > }**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley > *Sent:* 05 October 2012 10:03 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary**** > > ** ** > > is it case sensitive as well?**** > > On Fri, Oct 5, 2012 at 9:57 AM, Pat Lockley < > patrick.lockley at googlemail.com> wrote:**** > > speaking as the Nottingham person who was tasked with writing regular > expressions ;) > > I would assume that would be the case**** > > ** ** > > On Fri, Oct 5, 2012 at 9:57 AM, Ron Mitchell > wrote:**** > > It seems like as Fay mentioned only terms with a space either side are > picked up?**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell > *Sent:* 05 October 2012 09:53 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > You can have them they're all free! ;-)**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 09:49 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > I agree, that works. But I want: > > xerte > xot > moodle > > to work. > > I added a space after each word, and that doesn't work, only 'xerte ' gets > highlighted. I have it working, but I want to understand why.**** > > Op 5-10-2012 10:44, Ron Mitchell schreef:**** > > That's curious Tom**** > > I changed the text on each page to:**** > > about xerte and**** > > **** > > about xot and**** > > **** > > about moodle and**** > > **** > > and the links get created and work on each page > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 09:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > I agree, but it was not sufficient. Somehow the second and third word in > Ron's example still did not get highlighted for me. > To fix this issue I had to add the \r to the RegExp. > > And to fix the other issue I had to remove the \\b, but that bothers me, > because I don't know why it was in there and what it is supposed to do.... > > Tom**** > > Op 5-10-2012 10:34, Fay Cross schreef:**** > > I think it?s a problem with the regular expression ? if you add a space > after each word before you do a line break it will highlight the word but > if it?s at the end of a line/ sentence like your examples it won?t.**** > > **** > > I think it?s looking for ? xot ? rather than just ?xot? to avoid things > like *cat*alogue happening if you have the word cat in the glossary.**** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 05 October 2012 09:33 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Glossary**** > > **** > > Hi Tom**** > > is this XOT or xerte?**** > > I can't get the Glossary to work in XOT at all - am I missing something > stupid?...**** > > **** > > As a test I added the following:**** > > **** > > Then a plain text page with**** > > **** > > **** > > and a text and graphics page with the same words**** > > **** > > **** > > But neither page shows any clickable links > http://vle.jisctechdis.ac.uk/xot/play.php?template_id=143**** > > **** > > **** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 05 October 2012 08:34 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] Glossary**** > > **** > > Julain, > > I suppose this is one for you: > > I have a teacher that wants to create a kind of dictionary, so he's > created a big glossary, and then for each letter a separate text page > containing a list of the terms. > > However, the terms are not all transformed into a link. > 1. The regular expression doesn't like the sentence ending on a 'newline', > I've added '\r' to the set of characters that may 'end' a term in the > RegExp of line 6662 (or the teacher has to add a space at the end of the > term. > > That still is not enough, it will only transform the first term to a link. > I had to remove the \\b from the regexp. I tried to find a manual page to > figure out what \\b means in RegExp, but I can't find it. Do you have any > idea what the \\b is doing there? > > For quick reference I needed to change this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('\\b(' + Glossary.terms[i] + > ')([.,!? -])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > } > > into this: > > if (Glossary.enabled && highlight != false){ > for (var i = 0; i //new code with regexp > var re = new RegExp('(' + Glossary.terms[i] + ')([.,!? > -\n\r])', 'gi'); > myText = myText.replace(re, ' "'+STYLES.glossaryColour+'"> "asfunction:_root.engine.rootIcon.showGlosTerm,'+i+'">$1$2'); > } > }**** > > -- **** > > --**** > > **** > > ** ** > > Tom Reijnders**** > > TOR Informatica**** > > Chopinlaan 27**** > > 5242HM Rosmalen**** > > Tel: 073 5226191**** > > Fax: 073 5226196**** > > **** > > **** > > This message and any attachment are intended solely 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.**** > > **** > > **** > > -- **** > > --**** > > **** > > 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: From d_b_burnett at hotmail.com Fri Oct 5 11:53:41 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 5 Oct 2012 06:53:41 -0400 Subject: [Xerte-dev] Re: Glossary In-Reply-To: References: <506E8D60.1090201@tor.nl> <003701cda2d3$f9502230$ebf06690$@co.uk>, , <506E9C81.3050905@tor.nl> <006d01cda2d5$a0a87220$e1f95660$@co.uk>,<506E9F04.9020505@tor.nl> <00ae01cda2d6$dcbce380$9636aa80$@co.uk>, <00bd01cda2d7$83a88460$8af98d20$@co.uk>, , , <12C67A1EEC419342AF5E59DA31562C3F0C3EBCAB6F@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: >ergh reg exp support over email Do you normally fly in?What's your per diem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 24301 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 25252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19713 bytes Desc: not available URL: From reijnders at tor.nl Fri Oct 5 11:54:11 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 12:54:11 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <00ed01cda2db$62c4bad0$284e3070$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> Message-ID: <506EBC53.2020806@tor.nl> Ah, ok. This wizrd fixes it partly. You NEED to change the offending line (but you don't know which one...) In this case, it is only one. the url of the google maps page. Please can you try the following to confirm: - Open page with the new wizard - Add a space after the url - remove the space again (thes two actions will trigger the code changes) - Save, and try to export. Thanks! Tom Op 5-10-2012 11:25, Ron Mitchell schreef: > > Hi Tom > > assuming you mean /modules/xerte/engine/wizard.swf > > I replaced that, edited the LO, tried deployment and archive exports > and same problem as before - blank window. > > Turned on developer mode temporarily and have attached the errors as > well as data.xml > > Possibly worth pointing out that this project started as an export of > the Notts page 560 LO so began life many years ago! > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 10:02 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > Ron, > > Can you please try this wizard.swf? You should load the LO in the > wizrds and save it first, because the work is done in the wizard. > > If it is NOT working, could you please send me the data.xml? > > Tom > > Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > *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 October 2012 14:34 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and > export - Tom? > > Yes, it is a simplexml load error. It can't handle the '&' signs > in the urls. I am busy fixing this in the wizard, but it's not > ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it > might be a simplexml_load issue? > > Cheers > > Ron > > *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 October 2012 14:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents > and export - Tom? > > Yes, export will copy data.xml to template.xml and after > finishing with the export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I > added some _debug statements to export.php, can you afford to > switch on developer mode in config.php? There should be a > debug.log file in folder /tmp that might give us a clue of > what is going on. But be carefull, full php error reporting > will be switched on. Don't do it in a production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that > template.xml is getting written back to the user-files > folder for this project - any ideas how/why? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Ron Mitchell > *Sent:* 01 October 2012 13:15 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: 2 odd issues user-files > contents and export - Tom? > > Thanks for the responses Julian/Tom > > 1. Not sure why this has happened in a few places but not > a major problem if it's not happening all the time. > > 2. a. nothing relevant in the error logs so I guess it's > not escaping causing the problem > > b. Full archive doesn't work for this project either - > just a blank window when trying to export this particular > project > > Curiously despite deleting it template.xml keeps getting > written back to the project folder in use-files so there's > data.xml, preview.xml and template.xml can't see why or > where that is happening but wonder if it's linked to the > problem? > > Cheers > > Ron > > *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 October 2012 09:36 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files > contents and export - Tom? > > 1. The only instance where I expect models etc in the > user-files, is when importing a learning object that does > not have a corresponding template in the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in > the log files > b. Full archive export should work (as it doesn't try to > read the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have > see either of these issues too.... > > 1. I've notice that some projects in the user-files > folder get populated with folders and files that > shouldn't be there e.g. common, languages, models etc. > I haven't been able to identify exactly what causes > this. Anyone seen this and/or got any idea re > cause/solution? > > 2. The example of the page 560 LO we've shared and > developed on the 1.8 test install won't export - I > just get a blank window when clicking export but other > LO's do export. So I've been testing this with a copy > and if I replace data.xml and preview.xml with xml > from a simple LO the project exports. I'm wondering if > there's a particular page type causing the problem or > if this is related to the Issue Tom mentioned about > html escaping e.g. there are lots of < in the xml. > > Cheers > > Ron > > This message and any attachment are intended solely > 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. > > > > > > > > -- > > -- > > > > 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > -- > > 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. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Fri Oct 5 11:59:11 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 11:59:11 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506EBC53.2020806@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> Message-ID: Hello, Would a pre-export test help? I thought about doing a quick filesize test warning might be useful for people with PHP memory limits? On Fri, Oct 5, 2012 at 11:54 AM, Tom Reijnders wrote: > Ah, ok. > > This wizrd fixes it partly. You NEED to change the offending line (but you > don't know which one...) In this case, it is only one. the url of the google > maps page. > > Please can you try the following to confirm: > - Open page with the new wizard > - Add a space after the url > - remove the space again (thes two actions will trigger the code changes) > - Save, and try to export. > > Thanks! > > Tom > Op 5-10-2012 11:25, Ron Mitchell schreef: > > Hi Tom > > assuming you mean /modules/xerte/engine/wizard.swf > > I replaced that, edited the LO, tried deployment and archive exports and > same problem as before - blank window. > > Turned on developer mode temporarily and have attached the errors as well as > data.xml > > > > Possibly worth pointing out that this project started as an export of the > Notts page 560 LO so began life many years ago! > > > > HTH > > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 05 October 2012 10:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Ron, > > Can you please try this wizard.swf? You should load the LO in the wizrds and > save it first, because the work is done in the wizard. > > If it is NOT working, could you please send me the data.xml? > > Tom > > Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > > > 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 October 2012 14:34 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, it is a simplexml load error. It can't handle the '&' signs in the > urls. I am busy fixing this in the wizard, but it's not ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it might be a > simplexml_load issue? > > Cheers > > Ron > > > > 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 October 2012 14:08 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, export will copy data.xml to template.xml and after finishing with the > export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I added some > _debug statements to export.php, can you afford to switch on developer mode > in config.php? There should be a debug.log file in folder /tmp that might > give us a clue of what is going on. But be carefull, full php error > reporting will be switched on. Don't do it in a production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that template.xml is > getting written back to the user-files folder for this project - any ideas > how/why? > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 01 October 2012 13:15 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Thanks for the responses Julian/Tom > > > > 1. Not sure why this has happened in a few places but not a major problem if > it's not happening all the time. > > > > 2. a. nothing relevant in the error logs so I guess it's not escaping > causing the problem > > b. Full archive doesn't work for this project either - just a blank window > when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting written back to the > project folder in use-files so there's data.xml, preview.xml and > template.xml can't see why or where that is happening but wonder if it's > linked to the problem? > > > > Cheers > > Ron > > > > 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 October 2012 09:36 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > 1. The only instance where I expect models etc in the user-files, is when > importing a learning object that does not have a corresponding template in > the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the log files > b. Full archive export should work (as it doesn't try to read the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either of these > issues too.... > > > > 1. I've notice that some projects in the user-files folder get populated > with folders and files that shouldn't be there e.g. common, languages, > models etc. I haven't been able to identify exactly what causes this. Anyone > seen this and/or got any idea re cause/solution? > > > > 2. The example of the page 560 LO we've shared and developed on the 1.8 test > install won't export - I just get a blank window when clicking export but > other LO's do export. So I've been testing this with a copy and if I replace > data.xml and preview.xml with xml from a simple LO the project exports. I'm > wondering if there's a particular page type causing the problem or if this > is related to the Issue Tom mentioned about html escaping e.g. there are > lots of < in the xml. > > > > Cheers > > Ron > > > > This message and any attachment are intended solely 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. > > > > > > > > -- > > -- > > > > 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > > -- > > > > 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. > > > -- > -- > > 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 ronm at mitchellmedia.co.uk Fri Oct 5 12:15:31 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 12:15:31 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506EBC53.2020806@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> Message-ID: <014201cda2ea$bc1a2750$344e75f0$@co.uk> Yep that's fixed it - great! Did something change in 1.8 to break this? As far as I'm aware that Google Map page hasn't changed from the Notts 560 example which exports fine from what I assume is a 1.7 install. Either way if people upgrade to 1.8 and then find they have some existing/older LO's which don't export when others do what do they look for? Presumably this is a change to the wizard that you are going to commit? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Ah, ok. This wizrd fixes it partly. You NEED to change the offending line (but you don't know which one...) In this case, it is only one. the url of the google maps page. Please can you try the following to confirm: - Open page with the new wizard - Add a space after the url - remove the space again (thes two actions will trigger the code changes) - Save, and try to export. Thanks! Tom Op 5-10-2012 11:25, Ron Mitchell schreef: Hi Tom assuming you mean /modules/xerte/engine/wizard.swf I replaced that, edited the LO, tried deployment and archive exports and same problem as before - blank window. Turned on developer mode temporarily and have attached the errors as well as data.xml Possibly worth pointing out that this project started as an export of the Notts page 560 LO so began life many years ago! HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 10:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Ron, Can you please try this wizard.swf? You should load the LO in the wizrds and save it first, because the work is done in the wizard. If it is NOT working, could you please send me the data.xml? Tom Op 1-10-2012 15:41, Ron Mitchell schreef: Ok cheers - happy to test if and when you need that. 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 October 2012 14:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, it is a simplexml load error. It can't handle the '&' signs in the urls. I am busy fixing this in the wizard, but it's not ready yet. Tom Op 1-10-2012 15:29, Ron Mitchell schreef: Thanks Tom I've sent you the long list of errors offlist - seems like it might be a simplexml_load issue? Cheers Ron 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 October 2012 14:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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. -- -- 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. -- -- 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. -- -- 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Fri Oct 5 12:16:50 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 12:16:50 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <014201cda2ea$bc1a2750$344e75f0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> Message-ID: Extra code in the exporter to do XML stuff On Fri, Oct 5, 2012 at 12:15 PM, Ron Mitchell wrote: > Yep that's fixed it - great! > > Did something change in 1.8 to break this? As far as I'm aware that Google > Map page hasn't changed from the Notts 560 example which exports fine from > what I assume is a 1.7 install. > > Either way if people upgrade to 1.8 and then find they have some > existing/older LO's which don't export when others do what do they look for? > > Presumably this is a change to the wizard that you are going to commit? > > > > Cheers > > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 05 October 2012 11:54 > > > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Ah, ok. > > This wizrd fixes it partly. You NEED to change the offending line (but you > don't know which one...) In this case, it is only one. the url of the google > maps page. > > Please can you try the following to confirm: > - Open page with the new wizard > - Add a space after the url > - remove the space again (thes two actions will trigger the code changes) > - Save, and try to export. > > Thanks! > > Tom > > Op 5-10-2012 11:25, Ron Mitchell schreef: > > Hi Tom > > assuming you mean /modules/xerte/engine/wizard.swf > > I replaced that, edited the LO, tried deployment and archive exports and > same problem as before - blank window. > > Turned on developer mode temporarily and have attached the errors as well as > data.xml > > > > Possibly worth pointing out that this project started as an export of the > Notts page 560 LO so began life many years ago! > > > > HTH > > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 05 October 2012 10:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Ron, > > Can you please try this wizard.swf? You should load the LO in the wizrds and > save it first, because the work is done in the wizard. > > If it is NOT working, could you please send me the data.xml? > > Tom > > Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > > > 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 October 2012 14:34 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, it is a simplexml load error. It can't handle the '&' signs in the > urls. I am busy fixing this in the wizard, but it's not ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it might be a > simplexml_load issue? > > Cheers > > Ron > > > > 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 October 2012 14:08 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, export will copy data.xml to template.xml and after finishing with the > export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I added some > _debug statements to export.php, can you afford to switch on developer mode > in config.php? There should be a debug.log file in folder /tmp that might > give us a clue of what is going on. But be carefull, full php error > reporting will be switched on. Don't do it in a production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that template.xml is > getting written back to the user-files folder for this project - any ideas > how/why? > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 01 October 2012 13:15 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Thanks for the responses Julian/Tom > > > > 1. Not sure why this has happened in a few places but not a major problem if > it's not happening all the time. > > > > 2. a. nothing relevant in the error logs so I guess it's not escaping > causing the problem > > b. Full archive doesn't work for this project either - just a blank window > when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting written back to the > project folder in use-files so there's data.xml, preview.xml and > template.xml can't see why or where that is happening but wonder if it's > linked to the problem? > > > > Cheers > > Ron > > > > 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 October 2012 09:36 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > 1. The only instance where I expect models etc in the user-files, is when > importing a learning object that does not have a corresponding template in > the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the log files > b. Full archive export should work (as it doesn't try to read the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either of these > issues too.... > > > > 1. I've notice that some projects in the user-files folder get populated > with folders and files that shouldn't be there e.g. common, languages, > models etc. I haven't been able to identify exactly what causes this. Anyone > seen this and/or got any idea re cause/solution? > > > > 2. The example of the page 560 LO we've shared and developed on the 1.8 test > install won't export - I just get a blank window when clicking export but > other LO's do export. So I've been testing this with a copy and if I replace > data.xml and preview.xml with xml from a simple LO the project exports. I'm > wondering if there's a particular page type causing the problem or if this > is related to the Issue Tom mentioned about html escaping e.g. there are > lots of < in the xml. > > > > Cheers > > Ron > > > > This message and any attachment are intended solely 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. > > > > > > > > > -- > > -- > > > > 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. > > > > > > > > -- > > -- > > > > 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > > -- > > > > 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 Fri Oct 5 12:40:10 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 13:40:10 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <014201cda2ea$bc1a2750$344e75f0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> Message-ID: <506EC71A.8030902@tor.nl> Like Pat says, yes extra stuff in the export code. Potentially this goes wrong in Xerte Standalone as well.... not sure about that. I am aware of the problems, and yes, I will commit the changes to the wizard, but it's not enough. Question, is the url still working? I'll think of something to make sure old projects get exported correctly. Tom Op 5-10-2012 13:15, Ron Mitchell schreef: > > Yep that's fixed it - great! > > Did something change in 1.8 to break this? As far as I'm aware that > Google Map page hasn't changed from the Notts 560 example which > exports fine from what I assume is a 1.7 install. > > Either way if people upgrade to 1.8 and then find they have some > existing/older LO's which don't export when others do what do they > look for? > > Presumably this is a change to the wizard that you are going to commit? > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 05 October 2012 11:54 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and export > - Tom? > > Ah, ok. > > This wizrd fixes it partly. You NEED to change the offending line (but > you don't know which one...) In this case, it is only one. the url of > the google maps page. > > Please can you try the following to confirm: > - Open page with the new wizard > - Add a space after the url > - remove the space again (thes two actions will trigger the code changes) > - Save, and try to export. > > Thanks! > > Tom > > Op 5-10-2012 11:25, Ron Mitchell schreef: > > Hi Tom > > assuming you mean /modules/xerte/engine/wizard.swf > > I replaced that, edited the LO, tried deployment and archive > exports and same problem as before - blank window. > > Turned on developer mode temporarily and have attached the errors > as well as data.xml > > Possibly worth pointing out that this project started as an export > of the Notts page 560 LO so began life many years ago! > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 05 October 2012 10:02 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents and > export - Tom? > > Ron, > > Can you please try this wizard.swf? You should load the LO in the > wizrds and save it first, because the work is done in the wizard. > > If it is NOT working, could you please send me the data.xml? > > Tom > > Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > *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 October 2012 14:34 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files contents > and export - Tom? > > Yes, it is a simplexml load error. It can't handle the '&' > signs in the urls. I am busy fixing this in the wizard, but > it's not ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like > it might be a simplexml_load issue? > > Cheers > > Ron > > *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 October 2012 14:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files > contents and export - Tom? > > Yes, export will copy data.xml to template.xml and after > finishing with the export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back > I added some _debug statements to export.php, can you > afford to switch on developer mode in config.php? There > should be a debug.log file in folder /tmp that might give > us a clue of what is going on. But be carefull, full php > error reporting will be switched on. Don't do it in a > production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export > that template.xml is getting written back to the > user-files folder for this project - any ideas how/why? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Ron Mitchell > *Sent:* 01 October 2012 13:15 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: 2 odd issues user-files > contents and export - Tom? > > Thanks for the responses Julian/Tom > > 1. Not sure why this has happened in a few places but > not a major problem if it's not happening all the time. > > 2. a. nothing relevant in the error logs so I guess > it's not escaping causing the problem > > b. Full archive doesn't work for this project either - > just a blank window when trying to export this > particular project > > Curiously despite deleting it template.xml keeps > getting written back to the project folder in > use-files so there's data.xml, preview.xml and > template.xml can't see why or where that is happening > but wonder if it's linked to the problem? > > Cheers > > Ron > > *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 October 2012 09:36 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: 2 odd issues user-files > contents and export - Tom? > > 1. The only instance where I expect models etc in the > user-files, is when importing a learning object that > does not have a corresponding template in the > installation. > > 2. You can verify whther escaping is the culprit in > two ways > a. You should see a fatal php error from > SimpleXML.load in the log files > b. Full archive export should work (as it doesn't try > to read the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others > have see either of these issues too.... > > 1. I've notice that some projects in the > user-files folder get populated with folders and > files that shouldn't be there e.g. common, > languages, models etc. I haven't been able to > identify exactly what causes this. Anyone seen > this and/or got any idea re cause/solution? > > 2. The example of the page 560 LO we've shared and > developed on the 1.8 test install won't export - I > just get a blank window when clicking export but > other LO's do export. So I've been testing this > with a copy and if I replace data.xml and > preview.xml with xml from a simple LO the project > exports. I'm wondering if there's a particular > page type causing the problem or if this is > related to the Issue Tom mentioned about html > escaping e.g. there are lots of < in the xml. > > Cheers > > Ron > > This message and any attachment are intended > solely 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. > > > > > > > > > -- > > -- > > > > 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. > > > > > > > > -- > > -- > > > > 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > -- > > 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. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Fri Oct 5 12:43:37 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 5 Oct 2012 12:43:37 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506EC71A.8030902@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> Message-ID: Tom, Why not add an if(simplexmlload()){} to the export code? I can make the export code display a new error as well? On Fri, Oct 5, 2012 at 12:40 PM, Tom Reijnders wrote: > Like Pat says, yes extra stuff in the export code. > > Potentially this goes wrong in Xerte Standalone as well.... not sure about > that. > > I am aware of the problems, and yes, I will commit the changes to the > wizard, but it's not enough. > > Question, is the url still working? > > I'll think of something to make sure old projects get exported correctly. > > Tom > > Op 5-10-2012 13:15, Ron Mitchell schreef: > > Yep that's fixed it - great! > > Did something change in 1.8 to break this? As far as I'm aware that Google > Map page hasn't changed from the Notts 560 example which exports fine from > what I assume is a 1.7 install. > > Either way if people upgrade to 1.8 and then find they have some > existing/older LO's which don't export when others do what do they look for? > > Presumably this is a change to the wizard that you are going to commit? > > > > Cheers > > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 05 October 2012 11:54 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Ah, ok. > > This wizrd fixes it partly. You NEED to change the offending line (but you > don't know which one...) In this case, it is only one. the url of the google > maps page. > > Please can you try the following to confirm: > - Open page with the new wizard > - Add a space after the url > - remove the space again (thes two actions will trigger the code changes) > - Save, and try to export. > > Thanks! > > Tom > > Op 5-10-2012 11:25, Ron Mitchell schreef: > > Hi Tom > > assuming you mean /modules/xerte/engine/wizard.swf > > I replaced that, edited the LO, tried deployment and archive exports and > same problem as before - blank window. > > Turned on developer mode temporarily and have attached the errors as well as > data.xml > > > > Possibly worth pointing out that this project started as an export of the > Notts page 560 LO so began life many years ago! > > > > HTH > > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 05 October 2012 10:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Ron, > > Can you please try this wizard.swf? You should load the LO in the wizrds and > save it first, because the work is done in the wizard. > > If it is NOT working, could you please send me the data.xml? > > Tom > > Op 1-10-2012 15:41, Ron Mitchell schreef: > > Ok cheers - happy to test if and when you need that. > > > > 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 October 2012 14:34 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, it is a simplexml load error. It can't handle the '&' signs in the > urls. I am busy fixing this in the wizard, but it's not ready yet. > > Tom > > Op 1-10-2012 15:29, Ron Mitchell schreef: > > Thanks Tom > > I've sent you the long list of errors offlist - seems like it might be a > simplexml_load issue? > > Cheers > > Ron > > > > 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 October 2012 14:08 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Yes, export will copy data.xml to template.xml and after finishing with the > export, the file should be deleted. > > This indicates that php crashes somewhere during export. > > I'll see if I can see something in the code. A while back I added some > _debug statements to export.php, can you afford to switch on developer mode > in config.php? There should be a debug.log file in folder /tmp that might > give us a clue of what is going on. But be carefull, full php error > reporting will be switched on. Don't do it in a production installation! > > Tom > > Op 1-10-2012 14:32, Ron Mitchell schreef: > > Just a quick update - it's upon attempting to export that template.xml is > getting written back to the user-files folder for this project - any ideas > how/why? > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 01 October 2012 13:15 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > Thanks for the responses Julian/Tom > > > > 1. Not sure why this has happened in a few places but not a major problem if > it's not happening all the time. > > > > 2. a. nothing relevant in the error logs so I guess it's not escaping > causing the problem > > b. Full archive doesn't work for this project either - just a blank window > when trying to export this particular project > > Curiously despite deleting it template.xml keeps getting written back to the > project folder in use-files so there's data.xml, preview.xml and > template.xml can't see why or where that is happening but wonder if it's > linked to the problem? > > > > Cheers > > Ron > > > > 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 October 2012 09:36 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? > > > > 1. The only instance where I expect models etc in the user-files, is when > importing a learning object that does not have a corresponding template in > the installation. > > 2. You can verify whther escaping is the culprit in two ways > a. You should see a fatal php error from SimpleXML.load in the log files > b. Full archive export should work (as it doesn't try to read the data.xml) > > Tom > > Op 1-10-2012 10:29, Ron Mitchell schreef: > > Hi all > > this might be a question for Tom unless others have see either of these > issues too.... > > > > 1. I've notice that some projects in the user-files folder get populated > with folders and files that shouldn't be there e.g. common, languages, > models etc. I haven't been able to identify exactly what causes this. Anyone > seen this and/or got any idea re cause/solution? > > > > 2. The example of the page 560 LO we've shared and developed on the 1.8 test > install won't export - I just get a blank window when clicking export but > other LO's do export. So I've been testing this with a copy and if I replace > data.xml and preview.xml with xml from a simple LO the project exports. I'm > wondering if there's a particular page type causing the problem or if this > is related to the Issue Tom mentioned about html escaping e.g. there are > lots of < in the xml. > > > > Cheers > > Ron > > > > This message and any attachment are intended solely 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. > > > > > > > > > -- > > -- > > > > 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. > > > > > > > > -- > > -- > > > > 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. > > > > > > > -- > > -- > > > > 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. > > > > > > -- > > -- > > > > 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. > > > -- > -- > > 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 Fri Oct 5 12:45:06 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 05 Oct 2012 13:45:06 +0200 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> Message-ID: <506EC842.7090509@tor.nl> Yes, something along those lines. Op 5-10-2012 13:43, Pat Lockley schreef: > Tom, > > Why not add an if(simplexmlload()){} to the export code? > > I can make the export code display a new error as well? > > On Fri, Oct 5, 2012 at 12:40 PM, Tom Reijnders wrote: >> Like Pat says, yes extra stuff in the export code. >> >> Potentially this goes wrong in Xerte Standalone as well.... not sure about >> that. >> >> I am aware of the problems, and yes, I will commit the changes to the >> wizard, but it's not enough. >> >> Question, is the url still working? >> >> I'll think of something to make sure old projects get exported correctly. >> >> Tom >> >> Op 5-10-2012 13:15, Ron Mitchell schreef: >> >> Yep that's fixed it - great! >> >> Did something change in 1.8 to break this? As far as I'm aware that Google >> Map page hasn't changed from the Notts 560 example which exports fine from >> what I assume is a 1.7 install. >> >> Either way if people upgrade to 1.8 and then find they have some >> existing/older LO's which don't export when others do what do they look for? >> >> Presumably this is a change to the wizard that you are going to commit? >> >> >> >> Cheers >> >> Ron >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 05 October 2012 11:54 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> Ah, ok. >> >> This wizrd fixes it partly. You NEED to change the offending line (but you >> don't know which one...) In this case, it is only one. the url of the google >> maps page. >> >> Please can you try the following to confirm: >> - Open page with the new wizard >> - Add a space after the url >> - remove the space again (thes two actions will trigger the code changes) >> - Save, and try to export. >> >> Thanks! >> >> Tom >> >> Op 5-10-2012 11:25, Ron Mitchell schreef: >> >> Hi Tom >> >> assuming you mean /modules/xerte/engine/wizard.swf >> >> I replaced that, edited the LO, tried deployment and archive exports and >> same problem as before - blank window. >> >> Turned on developer mode temporarily and have attached the errors as well as >> data.xml >> >> >> >> Possibly worth pointing out that this project started as an export of the >> Notts page 560 LO so began life many years ago! >> >> >> >> HTH >> >> Ron >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 05 October 2012 10:02 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> Ron, >> >> Can you please try this wizard.swf? You should load the LO in the wizrds and >> save it first, because the work is done in the wizard. >> >> If it is NOT working, could you please send me the data.xml? >> >> Tom >> >> Op 1-10-2012 15:41, Ron Mitchell schreef: >> >> Ok cheers - happy to test if and when you need that. >> >> >> >> 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 October 2012 14:34 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> Yes, it is a simplexml load error. It can't handle the '&' signs in the >> urls. I am busy fixing this in the wizard, but it's not ready yet. >> >> Tom >> >> Op 1-10-2012 15:29, Ron Mitchell schreef: >> >> Thanks Tom >> >> I've sent you the long list of errors offlist - seems like it might be a >> simplexml_load issue? >> >> Cheers >> >> Ron >> >> >> >> 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 October 2012 14:08 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> Yes, export will copy data.xml to template.xml and after finishing with the >> export, the file should be deleted. >> >> This indicates that php crashes somewhere during export. >> >> I'll see if I can see something in the code. A while back I added some >> _debug statements to export.php, can you afford to switch on developer mode >> in config.php? There should be a debug.log file in folder /tmp that might >> give us a clue of what is going on. But be carefull, full php error >> reporting will be switched on. Don't do it in a production installation! >> >> Tom >> >> Op 1-10-2012 14:32, Ron Mitchell schreef: >> >> Just a quick update - it's upon attempting to export that template.xml is >> getting written back to the user-files folder for this project - any ideas >> how/why? >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell >> Sent: 01 October 2012 13:15 >> To: 'For Xerte technical developers' >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> Thanks for the responses Julian/Tom >> >> >> >> 1. Not sure why this has happened in a few places but not a major problem if >> it's not happening all the time. >> >> >> >> 2. a. nothing relevant in the error logs so I guess it's not escaping >> causing the problem >> >> b. Full archive doesn't work for this project either - just a blank window >> when trying to export this particular project >> >> Curiously despite deleting it template.xml keeps getting written back to the >> project folder in use-files so there's data.xml, preview.xml and >> template.xml can't see why or where that is happening but wonder if it's >> linked to the problem? >> >> >> >> Cheers >> >> Ron >> >> >> >> 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 October 2012 09:36 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? >> >> >> >> 1. The only instance where I expect models etc in the user-files, is when >> importing a learning object that does not have a corresponding template in >> the installation. >> >> 2. You can verify whther escaping is the culprit in two ways >> a. You should see a fatal php error from SimpleXML.load in the log files >> b. Full archive export should work (as it doesn't try to read the data.xml) >> >> Tom >> >> Op 1-10-2012 10:29, Ron Mitchell schreef: >> >> Hi all >> >> this might be a question for Tom unless others have see either of these >> issues too.... >> >> >> >> 1. I've notice that some projects in the user-files folder get populated >> with folders and files that shouldn't be there e.g. common, languages, >> models etc. I haven't been able to identify exactly what causes this. Anyone >> seen this and/or got any idea re cause/solution? >> >> >> >> 2. The example of the page 560 LO we've shared and developed on the 1.8 test >> install won't export - I just get a blank window when clicking export but >> other LO's do export. So I've been testing this with a copy and if I replace >> data.xml and preview.xml with xml from a simple LO the project exports. I'm >> wondering if there's a particular page type causing the problem or if this >> is related to the Issue Tom mentioned about html escaping e.g. there are >> lots of < in the xml. >> >> >> >> Cheers >> >> Ron >> >> >> >> This message and any attachment are intended solely 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. >> >> >> >> >> >> >> >> >> -- >> >> -- >> >> >> >> 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. >> >> >> >> >> >> >> >> -- >> >> -- >> >> >> >> 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. >> >> >> >> >> >> >> -- >> >> -- >> >> >> >> 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. >> >> >> >> >> >> -- >> >> -- >> >> >> >> 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. >> >> >> -- >> -- >> >> 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Fri Oct 5 12:48:48 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 12:48:48 +0100 Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? In-Reply-To: <506EC71A.8030902@tor.nl> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> Message-ID: <016d01cda2ef$62ade760$2809b620$@co.uk> Ok cheers thought it was worth mentioning that it exported fine in 1.7. Yes the map is still working correctly page 62 of http://vle.jisctechdis.ac.uk/xot/play.php?template_id=22 HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 12:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Like Pat says, yes extra stuff in the export code. Potentially this goes wrong in Xerte Standalone as well.... not sure about that. I am aware of the problems, and yes, I will commit the changes to the wizard, but it's not enough. Question, is the url still working? I'll think of something to make sure old projects get exported correctly. Tom Op 5-10-2012 13:15, Ron Mitchell schreef: Yep that's fixed it - great! Did something change in 1.8 to break this? As far as I'm aware that Google Map page hasn't changed from the Notts 560 example which exports fine from what I assume is a 1.7 install. Either way if people upgrade to 1.8 and then find they have some existing/older LO's which don't export when others do what do they look for? Presumably this is a change to the wizard that you are going to commit? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Ah, ok. This wizrd fixes it partly. You NEED to change the offending line (but you don't know which one...) In this case, it is only one. the url of the google maps page. Please can you try the following to confirm: - Open page with the new wizard - Add a space after the url - remove the space again (thes two actions will trigger the code changes) - Save, and try to export. Thanks! Tom Op 5-10-2012 11:25, Ron Mitchell schreef: Hi Tom assuming you mean /modules/xerte/engine/wizard.swf I replaced that, edited the LO, tried deployment and archive exports and same problem as before - blank window. Turned on developer mode temporarily and have attached the errors as well as data.xml Possibly worth pointing out that this project started as an export of the Notts page 560 LO so began life many years ago! HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 05 October 2012 10:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Ron, Can you please try this wizard.swf? You should load the LO in the wizrds and save it first, because the work is done in the wizard. If it is NOT working, could you please send me the data.xml? Tom Op 1-10-2012 15:41, Ron Mitchell schreef: Ok cheers - happy to test if and when you need that. 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 October 2012 14:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, it is a simplexml load error. It can't handle the '&' signs in the urls. I am busy fixing this in the wizard, but it's not ready yet. Tom Op 1-10-2012 15:29, Ron Mitchell schreef: Thanks Tom I've sent you the long list of errors offlist - seems like it might be a simplexml_load issue? Cheers Ron 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 October 2012 14:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Yes, export will copy data.xml to template.xml and after finishing with the export, the file should be deleted. This indicates that php crashes somewhere during export. I'll see if I can see something in the code. A while back I added some _debug statements to export.php, can you afford to switch on developer mode in config.php? There should be a debug.log file in folder /tmp that might give us a clue of what is going on. But be carefull, full php error reporting will be switched on. Don't do it in a production installation! Tom Op 1-10-2012 14:32, Ron Mitchell schreef: Just a quick update - it's upon attempting to export that template.xml is getting written back to the user-files folder for this project - any ideas how/why? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 01 October 2012 13:15 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? Thanks for the responses Julian/Tom 1. Not sure why this has happened in a few places but not a major problem if it's not happening all the time. 2. a. nothing relevant in the error logs so I guess it's not escaping causing the problem b. Full archive doesn't work for this project either - just a blank window when trying to export this particular project Curiously despite deleting it template.xml keeps getting written back to the project folder in use-files so there's data.xml, preview.xml and template.xml can't see why or where that is happening but wonder if it's linked to the problem? Cheers Ron 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 October 2012 09:36 To: For Xerte technical developers Subject: [Xerte-dev] Re: 2 odd issues user-files contents and export - Tom? 1. The only instance where I expect models etc in the user-files, is when importing a learning object that does not have a corresponding template in the installation. 2. You can verify whther escaping is the culprit in two ways a. You should see a fatal php error from SimpleXML.load in the log files b. Full archive export should work (as it doesn't try to read the data.xml) Tom Op 1-10-2012 10:29, Ron Mitchell schreef: Hi all this might be a question for Tom unless others have see either of these issues too.... 1. I've notice that some projects in the user-files folder get populated with folders and files that shouldn't be there e.g. common, languages, models etc. I haven't been able to identify exactly what causes this. Anyone seen this and/or got any idea re cause/solution? 2. The example of the page 560 LO we've shared and developed on the 1.8 test install won't export - I just get a blank window when clicking export but other LO's do export. So I've been testing this with a copy and if I replace data.xml and preview.xml with xml from a simple LO the project exports. I'm wondering if there's a particular page type causing the problem or if this is related to the Issue Tom mentioned about html escaping e.g. there are lots of < in the xml. Cheers Ron This message and any attachment are intended solely 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. -- -- 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. -- -- 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. -- -- 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. -- -- 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Oct 5 13:11:35 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 13:11:35 +0100 Subject: [Xerte-dev] Mapstraction page? In-Reply-To: <016d01cda2ef$62ade760$2809b620$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> <016d01cda2ef$62ade760$2809b620$@co.uk> Message-ID: <018b01cda2f2$9211fc50$b635f4f0$@co.uk> Hi all I'd already exchanged one or two off-list emails with Julian about this but I know he's busy so a few quick points/questions... 1. Has anyone got the mapstraction page to work in 1.8? 2. In my tests I was getting an api key error so have registered a key and tested that it works with a static page. Clearly for anyone else to use this page they will also need to register their own key although it does seem possible to register a key without domain or IP restrictions so might be work changing the Nottingham key in the mapstraction file to one that isn't restricted? 3. Having verifies that my key works with the static page I added the same lang and long details from the static page to the XOT LO and no longer getting an api key error but just getting a blank white panel and no map. Anyone got this to work or got any suggestions? Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri Oct 5 13:49:04 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 5 Oct 2012 13:49:04 +0100 Subject: [Xerte-dev] Re: Mapstraction page? In-Reply-To: <018b01cda2f2$9211fc50$b635f4f0$@co.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> <016d01cda2ef$62ade760$2809b620$@co.uk> <018b01cda2f2$9211fc50$b635f4f0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCACAE@EXCHANGE1.ad.nottingham.ac.uk> If you can regiter a key for an unrestricted domwan, go ahead and swap it for the one in the file? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 13:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Mapstraction page? Hi all I'd already exchanged one or two off-list emails with Julian about this but I know he's busy so a few quick points/questions... 1. Has anyone got the mapstraction page to work in 1.8? 2. In my tests I was getting an api key error so have registered a key and tested that it works with a static page. Clearly for anyone else to use this page they will also need to register their own key although it does seem possible to register a key without domain or IP restrictions so might be work changing the Nottingham key in the mapstraction file to one that isn't restricted? 3. Having verifies that my key works with the static page I added the same lang and long details from the static page to the XOT LO and no longer getting an api key error but just getting a blank white panel and no map. Anyone got this to work or got any suggestions? Cheers Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Oct 5 14:20:16 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 5 Oct 2012 14:20:16 +0100 Subject: [Xerte-dev] Re: Mapstraction page? In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EBCACAE@EXCHANGE1.ad.nottingham.ac.uk> References: <003301cd9fae$ebdda5f0$c398f1d0$@co.uk> <506955E0.2020602@tor.nl> <00a401cd9fce$610613c0$23123b40$@co.uk> <00b501cd9fd0$e2552fe0$a6ff8fa0$@co.uk> <5069959F.5080903@tor.nl> <00e201cd9fd8$cffc4060$6ff4c120$@co.uk> <50699BD1.9050909@tor.nl> <00f301cd9fda$6cc21cc0$46465640$@co.uk> <506EA218.80705@tor.nl> <00ed01cda2db$62c4bad0$284e3070$@co.uk> <506EBC53.2020806@tor.nl> <014201cda2ea$bc1a2750$344e75f0$@co.uk> <506EC71A.8030902@tor.nl> <016d01cda2ef$62ade760$2809b620$@co.uk> <018b01cda2f2$9211fc50$b635f4f0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCACAE@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <01af01cda2fc$297abba0$7c7032e0$@co.uk> Yeah I can do that although I guess it might quickly exceed the allowed hits if used by too many so a guide to registering a replacement would be needed but I'd like to get it working first... I tried it with Fiddler and it was failing with the following: 404 HTTP vle.jisctechdis.ac.uk /xot/mapstraction/mxn.js?(google,%20yahoo,%20microsoft,%20openlayers) The current mapstraction.htm file in the xot svn has the following: and the local file doesn't exist so I changed things so that it looks for http://mapstraction.googlecode.com/svn/trunk/source/mxn.js and verify that file exists but I'm still getting a blank page :-( any ideas? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 05 October 2012 13:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Mapstraction page? If you can regiter a key for an unrestricted domwan, go ahead and swap it for the one in the file? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 05 October 2012 13:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Mapstraction page? Hi all I'd already exchanged one or two off-list emails with Julian about this but I know he's busy so a few quick points/questions... 1. Has anyone got the mapstraction page to work in 1.8? 2. In my tests I was getting an api key error so have registered a key and tested that it works with a static page. Clearly for anyone else to use this page they will also need to register their own key although it does seem possible to register a key without domain or IP restrictions so might be work changing the Nottingham key in the mapstraction file to one that isn't restricted? 3. Having verifies that my key works with the static page I added the same lang and long details from the static page to the XOT LO and no longer getting an api key error but just getting a blank white panel and no map. Anyone got this to work or got any suggestions? Cheers Ron This message and any attachment are intended solely 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 patrick.lockley at googlemail.com Sun Oct 7 21:48:49 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sun, 7 Oct 2012 21:48:49 +0100 Subject: [Xerte-dev] Epub creation Message-ID: Hello, Playing proof of concept with 1.9 Have slightly altered some of the templates code, but also added in a new template which is a very basic epub creator. All in the SVN if you want to see Pat From Julian.Tenney at nottingham.ac.uk Mon Oct 8 09:04:27 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 8 Oct 2012 09:04:27 +0100 Subject: [Xerte-dev] Can you replicate this? Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 8 09:12:52 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 09:12:52 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: References: Message-ID: <000c01cda52c$b7d7f520$2787df60$@co.uk> Did a quick test - comments/results attached ;-) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 07 October 2012 21:49 To: For Xerte technical developers Subject: [Xerte-dev] Epub creation Hello, Playing proof of concept with 1.9 Have slightly altered some of the templates code, but also added in a new template which is a very basic epub creator. All in the SVN if you want to see Pat _______________________________________________ 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 -------------- A non-text attachment was scrubbed... Name: ebook2.epub Type: application/octet-stream Size: 3009 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Mon Oct 8 09:28:01 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 09:28:01 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <002001cda52e$d6d515a0$847f40e0$@co.uk> Don't often use the password option but just tested and can replicate the password option not showing a url and not allowing login once password option is set. Not completely sure what you mean about the indentation but not seeing any problems with indendtation. 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 October 2012 09:04 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Can you replicate this? We upgraded our server on Friday: couple of peoblems. LOs set to 'password', we can't login, get 'sorry, login failed' after the user tries to login - checked it myself with a test LO, and same thing. Related: creating a new LO, when I click on the 'password' option in the 'Access' tab, I don''t see the URL in the project tab: make it public and I can see it, but setting it to password and it doesn't show. Cosmetic, the indentation of the items in the workspace is messed up: initially they are indented two 'tabs', clicking on each item (or making a new one) indents them back again... Simon is looking at the first problem: any pointers? many thanks, Julian This message and any attachment are intended solely 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 Mon Oct 8 09:26:53 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 8 Oct 2012 09:26:53 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: <000c01cda52c$b7d7f520$2787df60$@co.uk> References: , <000c01cda52c$b7d7f520$2787df60$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B6@EXCHANGE1.ad.nottingham.ac.uk> Cool. Its a shameyour not coming this week Pat, this approach for making lots of different things is something we ought to take further - I was messing about with the twitter bootstrap library, and have a basic LO template for showing text, graphics, sounds and video that would be easy to make data driven as well, and it does all that responsive design stuff in the browser, so it runs nicely on small phones / big monitors. I could do with you talking me / us through what you've done at some point, ________________________________________ so it rns ona 320px wide iPhone 1 From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 08 October 2012 09:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Epub creation Did a quick test - comments/results attached ;-) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 07 October 2012 21:49 To: For Xerte technical developers Subject: [Xerte-dev] Epub creation Hello, Playing proof of concept with 1.9 Have slightly altered some of the templates code, but also added in a new template which is a very basic epub creator. All in the SVN if you want to see Pat _______________________________________________ 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 Oct 8 09:29:44 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 8 Oct 2012 09:29:44 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <002001cda52e$d6d515a0$847f40e0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk>, <002001cda52e$d6d515a0$847f40e0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Mon Oct 8 09:45:22 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 09:45:22 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk>, <002001cda52e$d6d515a0$847f40e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <003201cda531$41c9b0d0$c55d1270$@co.uk> I don't think this is specific to ldap unless that password option only works with ldap? Pat? I can't easily test ldap but have tested with static and if it's supposed to work with static it doesn't. 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 October 2012 09:30 To: For Xerte technical developers Subject: [Xerte-dev] Re: Can you replicate this? OK, good to know it's not us. Not desperately worried about the indentation thing, but I hope the other two things are easy to fix... I don't know the back end / ldap stuff so well, have you any ideas for Simon as to where to start looking? I'm guessing that that login page isn't directed to the new place for the ldap information? And the 'project' tab is not doing enough 'if()'s? _____ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] Sent: 08 October 2012 09:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Can you replicate this? Don't often use the password option but just tested and can replicate the password option not showing a url and not allowing login once password option is set. Not completely sure what you mean about the indentation but not seeing any problems with indendtation. 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 October 2012 09:04 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Can you replicate this? We upgraded our server on Friday: couple of peoblems. LOs set to 'password', we can't login, get 'sorry, login failed' after the user tries to login - checked it myself with a test LO, and same thing. Related: creating a new LO, when I click on the 'password' option in the 'Access' tab, I don''t see the URL in the project tab: make it public and I can see it, but setting it to password and it doesn't show. Cosmetic, the indentation of the items in the workspace is messed up: initially they are indented two 'tabs', clicking on each item (or making a new one) indents them back again... Simon is looking at the first problem: any pointers? many thanks, Julian This message and any attachment are intended solely 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 patrick.lockley at googlemail.com Mon Oct 8 09:52:06 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 09:52:06 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> <002001cda52e$d6d515a0$847f40e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: as said play.php in the root or modules / xerte / play.php will have the code in it the project tab is line 86 of this http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/properties/properties_library.php add an or "||" for password On Mon, Oct 8, 2012 at 9:29 AM, Julian Tenney wrote: > OK, good to know it's not us. Not desperately worried about the indentation > thing, but I hope the other two things are easy to fix... I don't know the > back end / ldap stuff so well, have you any ideas for Simon as to where to > start looking? I'm guessing that that login page isn't directed to the new > place for the ldap information? And the 'project' tab is not doing enough > 'if()'s? > > ________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:28 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Can you replicate this? > > Don't often use the password option but just tested and can replicate the > password option not showing a url and not allowing login once password > option is set. > > > > Not completely sure what you mean about the indentation but not seeing any > problems with indendtation. > > > > 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 October 2012 09:04 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Can you replicate this? > > > > We upgraded our server on Friday: couple of peoblems. LOs set to 'password', > we can't login, get 'sorry, login failed' after the user tries to login - > checked it myself with a test LO, and same thing. > > > > Related: creating a new LO, when I click on the 'password' option in the > 'Access' tab, I don''t see the URL in the project tab: make it public and I > can see it, but setting it to password and it doesn't show. > > > > Cosmetic, the indentation of the items in the workspace is messed up: > initially they are indented two 'tabs', clicking on each item (or making a > new one) indents them back again... > > > > Simon is looking at the first problem: any pointers? > > > > many thanks, > > > > Julian > > > > This message and any attachment are intended solely 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 Julian.Tenney at nottingham.ac.uk Mon Oct 8 09:50:25 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 8 Oct 2012 09:50:25 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <003201cda531$41c9b0d0$c55d1270$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk>, <002001cda52e$d6d515a0$847f40e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk>, <003201cda531$41c9b0d0$c55d1270$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5BB@EXCHANGE1.ad.nottingham.ac.uk> An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Mon Oct 8 09:56:00 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 09:56:00 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: <000c01cda52c$b7d7f520$2787df60$@co.uk> References: <000c01cda52c$b7d7f520$2787df60$@co.uk> Message-ID: did you try reading it on an ipad or something, doesn't seem to want to play for me (poorly metadata I suspect) On Mon, Oct 8, 2012 at 9:12 AM, Ron Mitchell wrote: > Did a quick test - comments/results attached ;-) > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 07 October 2012 21:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Epub creation > > Hello, > > Playing proof of concept with 1.9 > > Have slightly altered some of the templates code, but also added in a new > template which is a very basic epub creator. > > All in the SVN if you want to see > > Pat > > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 8 09:59:02 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 09:59:02 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B6@EXCHANGE1.ad.nottingham.ac.uk> References: <000c01cda52c$b7d7f520$2787df60$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: the core change is that templates are now defined by a .info file which contains the info for how a template works Bar that Peer, publish and export have been modularised (leading to a problem that I need to sort out as peer and export aren't always options - also the media upload option is a bit curious now). Bar that, all the other changes are new files in modules On Mon, Oct 8, 2012 at 9:26 AM, Julian Tenney wrote: > Cool. Its a shameyour not coming this week Pat, this approach for making lots of different things is something we ought to take further - I was messing about with the twitter bootstrap library, and have a basic LO template for showing text, graphics, sounds and video that would be easy to make data driven as well, and it does all that responsive design stuff in the browser, so it runs nicely on small phones / big monitors. I could do with you talking me / us through what you've done at some point, > > ________________________________________ so it rns ona 320px wide iPhone 1 > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:12 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Epub creation > > Did a quick test - comments/results attached ;-) > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 07 October 2012 21:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Epub creation > > Hello, > > Playing proof of concept with 1.9 > > Have slightly altered some of the templates code, but also added in a new > template which is a very basic epub creator. > > All in the SVN if you want to see > > Pat > > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 8 09:59:35 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 09:59:35 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5BB@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> <002001cda52e$d6d515a0$847f40e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> <003201cda531$41c9b0d0$c55d1270$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5BB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: the auth code is in library something, but I think the function name remains the same On Mon, Oct 8, 2012 at 9:50 AM, Julian Tenney wrote: > either way, from my limited understanding, the authentication stuff moved, > right? So it's possible this bit didn't change to reflect the new location > of the authentication details? This is important to fix, as students can't > access their content right now... although I have advised to take the > password restriction off unti we've fixed it, so at least they can access > the LO, > > ________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:45 > > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Can you replicate this? > > I don't think this is specific to ldap unless that password option only > works with ldap? Pat? > > I can't easily test ldap but have tested with static and if it's supposed to > work with static it doesn't. > > > > 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 October 2012 09:30 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Can you replicate this? > > > > OK, good to know it's not us. Not desperately worried about the indentation > thing, but I hope the other two things are easy to fix... I don't know the > back end / ldap stuff so well, have you any ideas for Simon as to where to > start looking? I'm guessing that that login page isn't directed to the new > place for the ldap information? And the 'project' tab is not doing enough > 'if()'s? > > > > ________________________________ > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:28 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Can you replicate this? > > Don't often use the password option but just tested and can replicate the > password option not showing a url and not allowing login once password > option is set. > > > > Not completely sure what you mean about the indentation but not seeing any > problems with indendtation. > > > > 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 October 2012 09:04 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Can you replicate this? > > > > We upgraded our server on Friday: couple of peoblems. LOs set to 'password', > we can't login, get 'sorry, login failed' after the user tries to login - > checked it myself with a test LO, and same thing. > > > > Related: creating a new LO, when I click on the 'password' option in the > 'Access' tab, I don''t see the URL in the project tab: make it public and I > can see it, but setting it to password and it doesn't show. > > > > Cosmetic, the indentation of the items in the workspace is messed up: > initially they are indented two 'tabs', clicking on each item (or making a > new one) indents them back again... > > > > Simon is looking at the first problem: any pointers? > > > > many thanks, > > > > Julian > > > > This message and any attachment are intended solely 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 Oct 8 13:42:03 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 13:42:03 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <015701cda173$3fca35a0$bf5ea0e0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> Message-ID: <00a801cda552$525d25f0$f71771d0$@co.uk> Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Mon Oct 8 13:47:44 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 13:47:44 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: References: <000c01cda52c$b7d7f520$2787df60$@co.uk> Message-ID: <00b801cda553$1eb43e90$5c1cbbb0$@co.uk> Opened it Calibre -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 08 October 2012 09:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: Epub creation did you try reading it on an ipad or something, doesn't seem to want to play for me (poorly metadata I suspect) On Mon, Oct 8, 2012 at 9:12 AM, Ron Mitchell wrote: > Did a quick test - comments/results attached ;-) > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 07 October 2012 21:49 > To: For Xerte technical developers > Subject: [Xerte-dev] Epub creation > > Hello, > > Playing proof of concept with 1.9 > > Have slightly altered some of the templates code, but also added in a > new template which is a very basic epub creator. > > All in the SVN if you want to see > > Pat > > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 8 13:47:25 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 13:47:25 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: <00b801cda553$1eb43e90$5c1cbbb0$@co.uk> References: <000c01cda52c$b7d7f520$2787df60$@co.uk> <00b801cda553$1eb43e90$5c1cbbb0$@co.uk> Message-ID: did it work? On Mon, Oct 8, 2012 at 1:47 PM, Ron Mitchell wrote: > Opened it Calibre > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 08 October 2012 09:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Epub creation > > did you try reading it on an ipad or something, doesn't seem to want to play > for me (poorly metadata I suspect) > > On Mon, Oct 8, 2012 at 9:12 AM, Ron Mitchell > wrote: >> Did a quick test - comments/results attached ;-) >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 07 October 2012 21:49 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Epub creation >> >> Hello, >> >> Playing proof of concept with 1.9 >> >> Have slightly altered some of the templates code, but also added in a >> new template which is a very basic epub creator. >> >> All in the SVN if you want to see >> >> Pat >> >> _______________________________________________ >> 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 From ronm at mitchellmedia.co.uk Mon Oct 8 14:05:44 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 14:05:44 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: References: <000c01cda52c$b7d7f520$2787df60$@co.uk> <00b801cda553$1eb43e90$5c1cbbb0$@co.uk> Message-ID: <00c301cda555$a437b590$eca720b0$@co.uk> Well yes it opened and displayed the text. That said after your previous message I tested opening in both iBooks and Stanza on my iPhone and it wouldn't :-( -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 08 October 2012 13:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Epub creation did it work? On Mon, Oct 8, 2012 at 1:47 PM, Ron Mitchell wrote: > Opened it Calibre > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 08 October 2012 09:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Epub creation > > did you try reading it on an ipad or something, doesn't seem to want > to play for me (poorly metadata I suspect) > > On Mon, Oct 8, 2012 at 9:12 AM, Ron Mitchell > > wrote: >> Did a quick test - comments/results attached ;-) >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 07 October 2012 21:49 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Epub creation >> >> Hello, >> >> Playing proof of concept with 1.9 >> >> Have slightly altered some of the templates code, but also added in a >> new template which is a very basic epub creator. >> >> All in the SVN if you want to see >> >> Pat >> >> _______________________________________________ >> 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From patrick.lockley at googlemail.com Mon Oct 8 14:13:50 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 8 Oct 2012 14:13:50 +0100 Subject: [Xerte-dev] Re: Epub creation In-Reply-To: <00c301cda555$a437b590$eca720b0$@co.uk> References: <000c01cda52c$b7d7f520$2787df60$@co.uk> <00b801cda553$1eb43e90$5c1cbbb0$@co.uk> <00c301cda555$a437b590$eca720b0$@co.uk> Message-ID: <7805E198-1EDE-4AF6-BA3D-FE1AB04DC63D@googlemail.com> Will fix iPhone tonight On 8 Oct 2012, at 14:05, "Ron Mitchell" wrote: > Well yes it opened and displayed the text. That said after your previous > message I tested opening in both iBooks and Stanza on my iPhone and it > wouldn't :-( > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 08 October 2012 13:47 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Epub creation > > did it work? > > On Mon, Oct 8, 2012 at 1:47 PM, Ron Mitchell > wrote: >> Opened it Calibre >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 08 October 2012 09:56 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Epub creation >> >> did you try reading it on an ipad or something, doesn't seem to want >> to play for me (poorly metadata I suspect) >> >> On Mon, Oct 8, 2012 at 9:12 AM, Ron Mitchell >> >> wrote: >>> Did a quick test - comments/results attached ;-) >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 07 October 2012 21:49 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Epub creation >>> >>> Hello, >>> >>> Playing proof of concept with 1.9 >>> >>> Have slightly altered some of the templates code, but also added in a >>> new template which is a very basic epub creator. >>> >>> All in the SVN if you want to see >>> >>> Pat >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 Simon.Atack at nottingham.ac.uk Mon Oct 8 15:56:34 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Mon, 8 Oct 2012 15:56:34 +0100 Subject: [Xerte-dev] Re: Can you replicate this? In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B5@EXCHANGE1.ad.nottingham.ac.uk> <002001cda52e$d6d515a0$847f40e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5B7@EXCHANGE1.ad.nottingham.ac.uk> <003201cda531$41c9b0d0$c55d1270$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5BB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1D887AC0@EXCHANGE1.ad.nottingham.ac.uk> I have found and fixed both the issues. The issue with the properties page not showing the URL was as suspect a simple additional parameter check. The second issue with logins ended up being the wrong variable names in the form being checked, to help reduce such issues in future I have implemented the authentication check in a function and placed in login_library.php and now LTI, index & the password protection on play all use these routines. Simon -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 08 October 2012 10:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Can you replicate this? the auth code is in library something, but I think the function name remains the same On Mon, Oct 8, 2012 at 9:50 AM, Julian Tenney wrote: > either way, from my limited understanding, the authentication stuff > moved, right? So it's possible this bit didn't change to reflect the > new location of the authentication details? This is important to fix, > as students can't access their content right now... although I have > advised to take the password restriction off unti we've fixed it, so > at least they can access the LO, > > ________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:45 > > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Can you replicate this? > > I don't think this is specific to ldap unless that password option > only works with ldap? Pat? > > I can't easily test ldap but have tested with static and if it's > supposed to work with static it doesn't. > > > > 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 October 2012 09:30 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Can you replicate this? > > > > OK, good to know it's not us. Not desperately worried about the > indentation thing, but I hope the other two things are easy to fix... > I don't know the back end / ldap stuff so well, have you any ideas for > Simon as to where to start looking? I'm guessing that that login page > isn't directed to the new place for the ldap information? And the > 'project' tab is not doing enough 'if()'s? > > > > ________________________________ > > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > [ronm at mitchellmedia.co.uk] > Sent: 08 October 2012 09:28 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Can you replicate this? > > Don't often use the password option but just tested and can replicate > the password option not showing a url and not allowing login once > password option is set. > > > > Not completely sure what you mean about the indentation but not seeing > any problems with indendtation. > > > > 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 October 2012 09:04 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Can you replicate this? > > > > We upgraded our server on Friday: couple of peoblems. LOs set to > 'password', we can't login, get 'sorry, login failed' after the user > tries to login - checked it myself with a test LO, and same thing. > > > > Related: creating a new LO, when I click on the 'password' option in > the 'Access' tab, I don''t see the URL in the project tab: make it > public and I can see it, but setting it to password and it doesn't show. > > > > Cosmetic, the indentation of the items in the workspace is messed up: > initially they are indented two 'tabs', clicking on each item (or > making a new one) indents them back again... > > > > Simon is looking at the first problem: any pointers? > > > > many thanks, > > > > Julian > > > > This message and any attachment are intended solely 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 Simon.Atack at nottingham.ac.uk Mon Oct 8 16:35:30 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Mon, 8 Oct 2012 16:35:30 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <00a801cda552$525d25f0$f71771d0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Mon Oct 8 17:20:51 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 8 Oct 2012 17:20:51 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00e301cda570$e33e17f0$a9ba47d0$@co.uk> Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 Simon.Atack at nottingham.ac.uk Tue Oct 9 13:43:34 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Tue, 9 Oct 2012 13:43:34 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <00e301cda570$e33e17f0$a9ba47d0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Tue Oct 9 14:45:20 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 9 Oct 2012 14:45:20 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <007301cda624$542b9bf0$fc82d3d0$@co.uk> Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 Simon.Atack at nottingham.ac.uk Tue Oct 9 14:52:55 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Tue, 9 Oct 2012 14:52:55 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <007301cda624$542b9bf0$fc82d3d0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Tue Oct 9 14:59:46 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 9 Oct 2012 14:59:46 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <008901cda626$57e18d20$07a4a760$@co.uk> Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 Simon.Atack at nottingham.ac.uk Tue Oct 9 15:07:53 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Tue, 9 Oct 2012 15:07:53 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <008901cda626$57e18d20$07a4a760$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> Ron, Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn't giving me any errors. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:00 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Tue Oct 9 15:39:29 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 9 Oct 2012 15:39:29 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00a501cda62b$e4473990$acd5acb0$@co.uk> Hi Simon yep that seems to have cracked it! Working now with both my localhost and Centos tests. The one issue I do still have is with an upgraded installation of XOT 1.7 to 1.8. This where I mentioned that on management.php if I click LTI settings View then LTI Keys View I don't get the option to add a key or view any existing keys. This is on the same server as I have a new XOT 1.8 installation and I see those options with that and it all works. The 4 LTI tables exist in the database and I've tried adding a key and secret manually but the integration still doesn't work. Any idea what might be preventing the view keys link from working? The link goes no further than shown. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 15:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn't giving me any errors. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:00 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 2645 bytes Desc: not available URL: From patrick.lockley at googlemail.com Tue Oct 9 15:41:23 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 9 Oct 2012 15:41:23 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <00a501cda62b$e4473990$acd5acb0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> <00a501cda62b$e4473990$acd5acb0$@co.uk> Message-ID: Random Q - what does the LTI adapter offer? Single sign on? On Tue, Oct 9, 2012 at 3:39 PM, Ron Mitchell wrote: > Hi Simon**** > > yep that seems to have cracked it! Working now with both my localhost and > Centos tests. **** > > ** ** > > The one issue I do still have is with an upgraded installation of XOT 1.7 > to 1.8. This where I mentioned that on management.php if I click LTI > settings View then LTI Keys View I don't get the option to add a key or > view any existing keys. This is on the same server as I have a new XOT 1.8 > installation and I see those options with that and it all works. The 4 LTI > tables exist in the database and I've tried adding a key and secret > manually but the integration still doesn't work. Any idea what might be > preventing the view keys link from working?**** > > ** ** > > **** > > The link goes no further than shown.**** > > Cheers**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Simon Atack > *Sent:* 09 October 2012 15:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > Try an update now. I have got this apparently working on mine now with > static authentication and closing the browser completely between create and > going back it isn?t giving me any errors.**** > > ** ** > > Simon**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 09 October 2012 15:00 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > ok great - glad you can reproduce the problem now and happy to test any > changes.**** > > Cheers**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 09 October 2012 14:53 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > Looks like I managed to create myself a bug! The session_status() function > I was going to use to detect if sessions were started but then found its > only in php >5.4.0 so have now done it a different way.**** > > ** ** > > I have now realised why Im getting things different from you as I have > completely closed my browser and tried and get the issue, Ill look into > this now and get back to you as soon as possible.**** > > ** ** > > Simon**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 09 October 2012 14:45 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > thanks - progress of sorts...**** > > ** ** > > 1. I thought this has fixed things but if I only log into Moodle and then > access the links to Lo's I added previously they are broken and with the > debug code in place give the following errors: **** > > Notice: Undefined index: toolkits_logon_username in > C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 > **** > > Notice: Undefined index: toolkits_logon_username in > C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 > **** > > Fatal error: Call to a member function getFirstname() on a non-object in > C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line > 352**** > > ** ** > > However if I then open and login to xot via a new tab those previous links > work.**** > > ** ** > > If I then try to add a new resources I see the list of LO's but upon > choosing one I get the following error:**** > > Fatal error: Call to undefined function session_status() in > C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54**** > > I get the same error on the Cenos installation too.**** > > ** ** > > If I close all browser windows and login to only moodle again the links > don't work again.**** > > ** ** > > HTH**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 09 October 2012 13:44 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > Please update your copy from SVN as Ive added a patch that hopefully will > fix things (under some circumstances it looks like sessions didn?t start so > I start it) this should hopefully fix the issue as the errors in line 37 & > 42 are related to no data in the SESSIONS variable and as this was blank > the user data returned nothing and therefore in the login_processing2 > function it tried to query a non existent object as this was the action if > it wasn?t set.**** > > ** ** > > Let me know if this fixes thing.**** > > ** ** > > Simon**** > > ** ** > > *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 October 2012 17:21 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > I've been going round and round the houses with this nearly all day :-( > and discovered there's a problem with my initial localhost test too. Here's > what happens locally and with your latest code in place...**** > > ** ** > > 1. I removed the external tool configuration from my localhost moodle 2 > install and also removed all lti_resource and lti_user entries in the > newxottrunktest I've been using for testing as well as the moodle course > activities - so effectively starting again from scratch. The > newxottrunktest is using static for authentication.**** > > ** ** > > 2. Configured the external tool via moodle admin**** > > 3. Add an external tool activity in a moodle course and prompted to login > to newxottrunktest and select an LO - all fine at this point.**** > > 4. Close all browser windows and re-visit the Moodle course then click the > previous external activity link - with the error reporting lines in place > I get the following:**** > > ** ** > > Notice: Undefined index: toolkits_logon_username in > C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 > **** > > Notice: Undefined index: toolkits_logon_username in > C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 > **** > > Fatal error: Call to a member function getFirstname() on a non-object in > C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line > 352**** > > ** ** > > So for me it's working when initially set up and logged in but upon > closing all browsers and logging in again it's broken. I was able to > replicate the same issue with the Centos installations too.**** > > ** ** > > The other issue about not being able to see the option to add an LTI Key > may be related to the fact that the XOT installation I was using was using > Moodle for authentication. On the same server I've added a new test > installation using static for authentication and can see the option to add > a new key with that. I'll revisit that and confirm at some point but > interested to hear your thoughts on the main issue first.**** > > ** ** > > Cheers**** > > Ron**** > > ** ** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 08 October 2012 16:35 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > Im not exactly clear about what you are trying in the first part from the > description you have a php error. Just to be safe please grab the latest > off svn as Ive made a few updates to it today (but I don?t think they > should affect this area). Does your database LTI tables exist? **** > > ** ** > > To get the php errors to display to screen add the following lines after > the config.php include in LTI/index.php (about line 12).**** > > ** ** > > error_reporting(E_ALL);**** > > ini_set(?display_errors?,"ON");**** > > ** ** > > This should then help to narrow down the issue**** > > ** ** > > 2nd point, Im can not see why same server as moodle would cause an > issue. I think it might be a misunderstanding in how to add a new key from > the management page. To add a new key: Goto management.php under ?Site?, > Click ?View? next to ?LTI settings? then ?View? next to ?LTI Keys? you will > then see an item called ?New? and the text next to it will be ?Add New LTI > Key? this will then display the form to add a new lti key.**** > > ** ** > > Simon**** > > ** ** > > ** ** > > *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 October 2012 13:42 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > have you managed to get the LTI functionality to work on a live server > rather than localhost? I've tried to get this working on a Centos server > linking from that server to an XOT 1.8 installation on the same server and > also another server. When clicking save and display or following the link > added to a course I don't get prompted to login to XOT and just get what > appears to be a blank Iframe. Do any of the LTI files need special > permissions? **** > > ** ** > > Also on the XOT installations on the same server as the Moodle I only see > the option to View LTI keys not Add a new key so I had to add the key and > secret direct to the db. Any idea why that might be?**** > > ** ** > > Cheers**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 03 October 2012 15:28 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > good point - I guess that's a real advantage in that if a teacher with > moodle course and XOT access has the relevant details they can still add an > XOT resource even if the Moodle admin hasn't set-up the specific external > tool.**** > > Cheers**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 03 October 2012 15:17 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > I have updated the documentation as suggested. As this is a landing page > to lti then the documentation on the moodle page makes sense.**** > > ** ** > > If you put the full url into the url box on the specific instance then you > would get to the correct place. This means that if Xerte hasn?t been setup > in moodle it can still be used you would just enter the information that > you entered under site administration on that specific instance.**** > > ** ** > > Simon**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 03 October 2012 14:56 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > thanks the key difference was that tick box to 'show tool type when > creating tool instances'**** > > With that ticked there's no need to add a url when adding an external tool > activity as long as the correct external tool is selected from the drop > down. Without it ticked it just goes to the login page. I hadn't ticked > that originally because the moodle help says:**** > > ** ** > > In most cases, this option does not need to be selected. Teachers can use > this tool configuration based on the Launch URL matching the Tool base URL, > which is the preferred method. The only case in which this option should be > selected is if the tool configuration is just intended for single sign on. > For example, if all launches to the tool provider just take the user to a > landing page instead of to a specific resource.**** > > ** ** > > If this is correct perhaps needs adding to the quick documentation?**** > > ** ** > > Cheers**** > > Ron**** > > ** ** > > ** ** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 03 October 2012 13:56 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > I think you haven?t set up your moodle correctly. You can have it so > moodle is set only once with the Xerte Object under the LTI > Administration[under site administration] (I have included a screenshot > from mine) once this is set and the tick box below the custom parameters > box is ticked then this will show up in the usual adding a new external > tool, type in an activity Name then in the drop down box for external tool > type choose the name you gave the object under the site administration > don?t enter anything into the launch url and just click save and display. > This then means you just select the external tool from the drop down XOT in > your case, it suggest the XOT hasn?t been setup as I have said above, there > is no reason to additionally enter the url below this.**** > > ** ** > > There is currently no support to create accounts in the lti additions, > All I do is call the authentication mechanism. For LDAP it will add users > into the logindetails table, for others I believe you would have to add > code to the authentication mechanism so that it could add to itself etc ** > ** > > ** ** > > Simon**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Julian Tenney > *Sent:* 03 October 2012 12:17 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > > In my new features slot on the 10th ok if I mention this and suggest > delegates speak to you if they have any questions?**** > > ** ** > > Please do! I?ll make a fresh zip, 1.81, the LTI release.**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 03 October 2012 12:08 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > thanks for the screenshots - very useful. All working well now! :-)**** > > ** ** > > I had added the /lti/ when configuring via admin > plugins > activity > modules > external tool but I hadn't added a url or a url with /lti/ in the > end when adding an external tool activity to a course. Now that I've done > that it works great. It seems a shame that the Moodle settings can't > automatically pick up the correct url by selecting the name of the external > tool. e.g. If I select XOT as shown in the screenshot (the name I gave to > the external tool via admin) I still have to add the url with /lti/ > appended for the selection of an LO to work otherwise it just takes me to > the standard login screen. Not a problem for me but I can see it being a > problem where users just put what they know to be the installation url, or > no url at all, rather than knowing or remembering to add /lti/. I know this > is more a moodle limitation rather than any kind of limitation of what > you've developed which is great! **** > > ** ** > > I guess once users know what to do via a guide or something then they > should remember and I guess in an institution it would be worth customising > the help for the external resource activity to show what url to add.**** > > ** ** > > I can see awareness of LTI growing quickly over the next couple of years > especially where Moodle is used as the VLE. Does the functionality exist in > what you have developed to automatically create accounts from the consumer > e.g. if the XOT db was used to store accounts? I'm guessing not at the > moment but I could see that being very useful for OER collaborative > projects etc.**** > > ** ** > > Great stuff!**** > > ** ** > > In my new features slot on the 10th ok if I mention this and suggest > delegates speak to you if they have any questions?**** > > ** ** > > Cheers**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 03 October 2012 11:08 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Ron,**** > > ** ** > > Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that > standard practice would be to run each time when upgrading code.**** > > ** ** > > It should work with all the authentication methods, I had only used it > against LDAP. I have just switched to static as authentication and gone > through it and it appears to work as Id expect. **** > > ** ** > > The steps will be (I have attached screen grabs to compare to)**** > > ** ** > > 1st you should get a login asking for username/password ( this will only > appear once) [Xerte-lti-1.png]**** > > 2nd you should get a screen with instructions on the left and list of > projects in the right with a select button at the bottom [Xerte-lti-2.png] > an empty workspace & [Xerte-lti-3.png] for workspace with some content.*** > * > > ** ** > > The obvious thing I can think of is you didn?t put the correct url into > the Tool Base URL, it should be the usual Xerte url with the addition of > /LTI/ on the end as only this URL is configured to accept the LTI link *** > * > > ** ** > > Simon**** > > ** ** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Ron Mitchell > *Sent:* 03 October 2012 10:10 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: LTI Provider**** > > ** ** > > Hi Simon**** > > thought I'd have a go at testing this for you but may be misunderstanding > how it works. Firstly will it only work with XOT configured for LDAP or > should it also work if XOT is set to static authentication?**** > > ** ** > > Results of tests so far:**** > > ** ** > > 1. Realised I had to run upgrade.php to create the lti table - this worked > fine.**** > > 2. Adding a key and secret via management.php also worked fine.**** > > 3. Configuring the Moodle external tool via admin > manage plugins etc > also worked fine **** > > 4. Adding an external tool activity to a course and selecting save and > display simply launches the XOT login page and upon login shows the > workspace e.g. there isn't an option to select a specific LO for the link. > Is this because it won't work with static authentication or am I missing > something?**** > > ** ** > > HTH**** > > Ron**** > > ** ** > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Simon Atack > *Sent:* 02 October 2012 17:14 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] LTI Provider**** > > ** ** > > First thank you all for the welcome.**** > > ** ** > > Yesterday I submitted to svn the LTI Provider integration function I have > been working on. This allow you to have launch Xerte from within a VLE > giving single sign on etc (In moodle this is the External Tool activity > plugin). **** > > ** ** > > It handles the association between the LTI userid & the Xerte username > (and allows regular re-authentication) and then if staff lets you select > the project you want to associate the link with, and then displays the > project for subsequent launches of the link. It also includes LTI > Key/Secret Management in the main Xerte management interface.**** > > ** ** > > I have tested it myself on my local box with a fresh install of Xerte > (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to > keep the changes as few as possible to integrate it in (I have extended a > couple of functions to support extra parameters as well as factoring some > repeated lines into functions so there is only 1 copy doing anything). It > would be really useful if others could download it, test it out and give > feedback. **** > > ** ** > > There is a very brief documentation file LTI Documentation.txt included > with a brief note of what you need to do, anyone having problems/or trouble > understanding how to get it working please get it touch.**** > > ** ** > > The LTI library is based off the IMS sample code for LTI in php and > extended by UoN and has been used in the Rogo OSS project.**** > > ** ** > > Thanks**** > > ** ** > > Simon**** > > ** ** > > This message and any attachment are intended solely 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 2645 bytes Desc: not available URL: From Simon.Atack at nottingham.ac.uk Tue Oct 9 16:03:46 2012 From: Simon.Atack at nottingham.ac.uk (Simon Atack) Date: Tue, 9 Oct 2012 16:03:46 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> <00a501cda62b$e4473990$acd5acb0$@co.uk> Message-ID: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F652@EXCHANGE1.ad.nottingham.ac.uk> Pat, LTI is designed so that VLE (moodle, blackboard, sakai etc) can link to resources from other web applications. XOT as an LTI Provider allows you to create a link on the VLE and connect to XOT and set this link up to redirect to a specific project. It will also trust that the VLE has authenticated the user and associate this user with an XOT user. LTI can allow an application to return grades back to the VLE from the application. More info about LTI: http://www.imsglobal.org/toolsinteroperability2.cfm Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 09 October 2012 15:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Random Q - what does the LTI adapter offer? Single sign on? On Tue, Oct 9, 2012 at 3:39 PM, Ron Mitchell > wrote: Hi Simon yep that seems to have cracked it! Working now with both my localhost and Centos tests. The one issue I do still have is with an upgraded installation of XOT 1.7 to 1.8. This where I mentioned that on management.php if I click LTI settings View then LTI Keys View I don't get the option to add a key or view any existing keys. This is on the same server as I have a new XOT 1.8 installation and I see those options with that and it all works. The 4 LTI tables exist in the database and I've tried adding a key and secret manually but the integration still doesn't work. Any idea what might be preventing the view keys link from working? [cid:image001.jpg at 01CDA635.232112E0] The link goes no further than shown. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 15:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn't giving me any errors. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:00 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2645 bytes Desc: image001.jpg URL: From patrick.lockley at googlemail.com Tue Oct 9 16:10:49 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 9 Oct 2012 16:10:49 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F652@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> <00a501cda62b$e4473990$acd5acb0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F652@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <9D3AF415-C3A9-4E8B-A80F-5FD563FCC7F3@googlemail.com> Ah ok, I half have a moodle XOT repo plugin that does similar things, but unfinished Pat On 9 Oct 2012, at 16:03, Simon Atack wrote: > Pat, > > LTI is designed so that VLE (moodle, blackboard, sakai etc) can link to resources from other web applications. XOT as an LTI Provider allows you to create a link on the VLE and connect to XOT and set this link up to redirect to a specific project. It will also trust that the VLE has authenticated the user and associate this user with an XOT user. LTI can allow an application to return grades back to the VLE from the application. > > More info about LTI: http://www.imsglobal.org/toolsinteroperability2.cfm > > Simon > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 09 October 2012 15:41 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Random Q - what does the LTI adapter offer? Single sign on? > > On Tue, Oct 9, 2012 at 3:39 PM, Ron Mitchell wrote: > Hi Simon > yep that seems to have cracked it! Working now with both my localhost and Centos tests. > > The one issue I do still have is with an upgraded installation of XOT 1.7 to 1.8. This where I mentioned that on management.php if I click LTI settings View then LTI Keys View I don't get the option to add a key or view any existing keys. This is on the same server as I have a new XOT 1.8 installation and I see those options with that and it all works. The 4 LTI tables exist in the database and I've tried adding a key and secret manually but the integration still doesn't work. Any idea what might be preventing the view keys link from working? > > > The link goes no further than shown. > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 09 October 2012 15:08 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn?t giving me any errors. > > Simon > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 09 October 2012 15:00 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > ok great - glad you can reproduce the problem now and happy to test any changes. > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 09 October 2012 14:53 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. > > I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. > > Simon > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 09 October 2012 14:45 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > thanks - progress of sorts... > > 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: > Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 > Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 > Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 > > However if I then open and login to xot via a new tab those previous links work. > > If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: > Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 > I get the same error on the Cenos installation too. > > If I close all browser windows and login to only moodle again the links don't work again. > > HTH > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 09 October 2012 13:44 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn?t start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn?t set. > > Let me know if this fixes thing. > > Simon > > 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 October 2012 17:21 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... > > 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. > > 2. Configured the external tool via moodle admin > 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. > 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: > > Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 > Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 > Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 > > So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. > > The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. > > Cheers > Ron > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 08 October 2012 16:35 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don?t think they should affect this area). Does your database LTI tables exist? > > To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). > > error_reporting(E_ALL); > ini_set(?display_errors?,"ON"); > > This should then help to narrow down the issue > > 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under ?Site?, Click ?View? next to ?LTI settings? then ?View? next to ?LTI Keys? you will then see an item called ?New? and the text next to it will be ?Add New LTI Key? this will then display the form to add a new lti key. > > Simon > > > 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 October 2012 13:42 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? > > Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? > > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 03 October 2012 15:28 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 03 October 2012 15:17 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. > > If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn?t been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. > > Simon > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 03 October 2012 14:56 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > thanks the key difference was that tick box to 'show tool type when creating tool instances' > With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: > > In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. > > If this is correct perhaps needs adding to the quick documentation? > > Cheers > Ron > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 03 October 2012 13:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > I think you haven?t set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don?t enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn?t been setup as I have said above, there is no reason to additionally enter the url below this. > > There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc > > Simon > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 03 October 2012 12:17 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? > > Please do! I?ll make a fresh zip, 1.81, the LTI release. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 03 October 2012 12:08 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > thanks for the screenshots - very useful. All working well now! :-) > > I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! > > I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. > > I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. > > Great stuff! > > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? > > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 03 October 2012 11:08 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: LTI Provider > > Ron, > > Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. > > It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. > > The steps will be (I have attached screen grabs to compare to) > > 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] > 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. > > The obvious thing I can think of is you didn?t put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link > > Simon > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 03 October 2012 10:10 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: LTI Provider > > Hi Simon > thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? > > Results of tests so far: > > 1. Realised I had to run upgrade.php to create the lti table - this worked fine. > 2. Adding a key and secret via management.php also worked fine. > 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine > 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? > > HTH > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack > Sent: 02 October 2012 17:14 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] LTI Provider > > First thank you all for the welcome. > > Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). > > It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. > > I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. > > There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. > > The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. > > Thanks > > Simon > > This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Tue Oct 9 16:15:35 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 9 Oct 2012 16:15:35 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F652@EXCHANGE1.ad.nottingham.ac.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> <00a5 01cda62b$e4473990$acd5acb0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F652@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00c901cda630$f0ec6e40$d2c54ac0$@co.uk> also a video http://vimeo.com/8073453 and blog post http://www.somerandomthoughts.com/blog/2011/11/28/moodle-2-supports-connecti ng-to-ims-lti-tools/ From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 16:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Pat, LTI is designed so that VLE (moodle, blackboard, sakai etc) can link to resources from other web applications. XOT as an LTI Provider allows you to create a link on the VLE and connect to XOT and set this link up to redirect to a specific project. It will also trust that the VLE has authenticated the user and associate this user with an XOT user. LTI can allow an application to return grades back to the VLE from the application. More info about LTI: http://www.imsglobal.org/toolsinteroperability2.cfm Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 09 October 2012 15:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Random Q - what does the LTI adapter offer? Single sign on? On Tue, Oct 9, 2012 at 3:39 PM, Ron Mitchell wrote: Hi Simon yep that seems to have cracked it! Working now with both my localhost and Centos tests. The one issue I do still have is with an upgraded installation of XOT 1.7 to 1.8. This where I mentioned that on management.php if I click LTI settings View then LTI Keys View I don't get the option to add a key or view any existing keys. This is on the same server as I have a new XOT 1.8 installation and I see those options with that and it all works. The 4 LTI tables exist in the database and I've tried adding a key and secret manually but the integration still doesn't work. Any idea what might be preventing the view keys link from working? The link goes no further than shown. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 15:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn't giving me any errors. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:00 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2645 bytes Desc: not available URL: From patrick.lockley at googlemail.com Wed Oct 10 00:06:14 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Wed, 10 Oct 2012 00:06:14 +0100 Subject: [Xerte-dev] Epub maker Message-ID: Now makes iphone epubs it is a long way from finished, but it works for fun From reijnders at tor.nl Thu Oct 11 23:34:16 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 12 Oct 2012 00:34:16 +0200 Subject: [Xerte-dev] At home... Thanks for a great two day conference! Message-ID: <50774968.4010900@tor.nl> Tom and Inge -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Fri Oct 12 09:50:52 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 12 Oct 2012 09:50:52 +0100 Subject: [Xerte-dev] Re: At home... Thanks for a great two day conference! In-Reply-To: <50774968.4010900@tor.nl> References: <50774968.4010900@tor.nl> Message-ID: <004401cda856$b00f02c0$102d0840$@co.uk> Yes it was a great couple of days and thanks to all involved - great event and great company! I know how much work it involved for Julian organising it too so hope you feel it was all worth it Julian and can relax over the weekend and reflect on the growing success that you started back when xerte began! 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: 11 October 2012 23:34 To: 'For Xerte technical developers' Subject: [Xerte-dev] At home... Thanks for a great two day conference! Tom and Inge -- -- 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 Fri Oct 12 09:57:53 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 12 Oct 2012 09:57:53 +0100 Subject: [Xerte-dev] Re: At home... Thanks for a great two day conference! In-Reply-To: <004401cda856$b00f02c0$102d0840$@co.uk> References: <50774968.4010900@tor.nl> <004401cda856$b00f02c0$102d0840$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F317@EXCHANGE1.ad.nottingham.ac.uk> I relaxed so much last night I forgot to be the tooth fairy. I have a dejected looking 6 year old. I've just put the presentations on http://www.nottingham.ac.uk/xerte/agm.htm It was well worth doing! I have to plug eventbrite, that made my life very easy. -----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: 12 October 2012 09:51 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: At home... Thanks for a great two day conference! Yes it was a great couple of days and thanks to all involved - great event and great company! I know how much work it involved for Julian organising it too so hope you feel it was all worth it Julian and can relax over the weekend and reflect on the growing success that you started back when xerte began! 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: 11 October 2012 23:34 To: 'For Xerte technical developers' Subject: [Xerte-dev] At home... Thanks for a great two day conference! Tom and Inge -- -- 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 Fri Oct 12 10:11:42 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 12 Oct 2012 10:11:42 +0100 Subject: [Xerte-dev] FW: Call Update - Call ref F4245960 Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> Does this trip any immediate thoughts? Hi I am having a problem with some (but not all) of my Xerte projects using the "export for deployment" option. Example of ones I have exported OK: http://www.nottingham.ac.uk/toolkits/play_7261 http://www.nottingham.ac.uk/toolkits/play_5335 The four I have tried but CANNOT export: http://www.nottingham.ac.uk/toolkits/play_5340 http://www.nottingham.ac.uk/toolkits/play_5990 http://www.nottingham.ac.uk/toolkits/play_7262 http://www.nottingham.ac.uk/toolkits/play_7263 For all these, I get the message: Server error The website encountered an error while retrieving http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request. Can you help please? I can't see anything obvious that I have done wrong for these 4 (as opposed to the other 9 I managed to export successfully). I need to give these (on a CD) to a student as we have currently made them private again as we are planning to develop them for next year. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Received-problem exporting some XOT as deployment zip.swm Type: application/octet-stream Size: 1797 bytes Desc: Received-problem exporting some XOT as deployment zip.swm URL: From reijnders at tor.nl Fri Oct 12 10:20:55 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 12 Oct 2012 11:20:55 +0200 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5077E0F7.7090302@tor.nl> Only if a full archive zip doesn't work either. Than, it has probably to do with non-escaped '&' characters in the data.xml file. I am working on that as we speak. The problem is already fixed in the wizard, but that's not good enough. I don't want people to have to visit each page in existing projects.... Is it possible for you to send (only) the data.xml? Thanks! Tom Op 12-10-2012 11:11, Julian Tenney schreef: > > Does this trip any immediate thoughts? > > Hi > > I am having a problem with some (but not all) of my Xerte projects > using the "export for deployment" option. > > Example of ones I have exported OK: > > http://www.nottingham.ac.uk/toolkits/play_7261 > > http://www.nottingham.ac.uk/toolkits/play_5335 > > The four I have tried but CANNOT export: > > http://www.nottingham.ac.uk/toolkits/play_5340 > > http://www.nottingham.ac.uk/toolkits/play_5990 > > http://www.nottingham.ac.uk/toolkits/play_7262 > > http://www.nottingham.ac.uk/toolkits/play_7263 > > For all these, I get the message: > > Server error > > The website encountered an error while retrieving > http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down > for maintenance or configured incorrectly. HTTP Error 500 (Internal > Server Error): An unexpected condition was encountered while the > server was attempting to fulfil the request. > > Can you help please? I can't see anything obvious that I have done > wrong for these 4 (as opposed to the other 9 I managed to export > successfully). I need to give these (on a CD) to a student as we > have currently made them private again as we are planning to develop > them for next year. > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.rochford at jiscadvance.ac.uk Fri Oct 12 10:39:01 2012 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Fri, 12 Oct 2012 10:39:01 +0100 Subject: [Xerte-dev] Thank you for an Inspirational Event Message-ID: <017801cda85d$6a2f1db0$3e8d5910$@jiscadvance.ac.uk> Hi Julian, A big thank you to you and your magnificent team, and of course to all the other delegates. It was a truly inspirational event and although I had an awful journey home negotiating pouring rain and multiple accident sites, I had much to reflect on and to distract me from the tedium of the drive. I very much hope that we are able to arrange another meeting before the end of July 2013, when it looks as though everything will change within JISC. But I am sure that what we have put in place will outlast any individual member and that, of course, is a huge tribute to your leadership. Thank you once again. Kindest regards, Thomas From patrick.lockley at googlemail.com Fri Oct 12 10:14:08 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 12 Oct 2012 10:14:08 +0100 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: suspect the script times out - how big are those files? if it takes more than 30 seconds to zip it, or the file is bigger than the memory limit it will die On Fri, Oct 12, 2012 at 10:11 AM, Julian Tenney wrote: > Does this trip any immediate thoughts? > > > > > > Hi > > > > I am having a problem with some (but not all) of my Xerte projects using the > "export for deployment" option. > > > > Example of ones I have exported OK: > > > > http://www.nottingham.ac.uk/toolkits/play_7261 > > http://www.nottingham.ac.uk/toolkits/play_5335 > > > > The four I have tried but CANNOT export: > > > > http://www.nottingham.ac.uk/toolkits/play_5340 > > http://www.nottingham.ac.uk/toolkits/play_5990 > > http://www.nottingham.ac.uk/toolkits/play_7262 > > http://www.nottingham.ac.uk/toolkits/play_7263 > > > > For all these, I get the message: > > > > Server error > > The website encountered an error while retrieving > http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down for > maintenance or configured incorrectly. HTTP Error 500 (Internal Server > Error): An unexpected condition was encountered while the server was > attempting to fulfil the request. > > > > Can you help please? I can't see anything obvious that I have done wrong > for these 4 (as opposed to the other 9 I managed to export successfully). > I need to give these (on a CD) to a student as we have currently made them > private again as we are planning to develop them for next year. > > > This message and any attachment are intended solely 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 Julian.Tenney at nottingham.ac.uk Fri Oct 12 10:44:56 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 12 Oct 2012 10:44:56 +0100 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F38F@EXCHANGE1.ad.nottingham.ac.uk> That's another line of enquiry I'm following up... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 12 October 2012 10:14 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 suspect the script times out - how big are those files? if it takes more than 30 seconds to zip it, or the file is bigger than the memory limit it will die On Fri, Oct 12, 2012 at 10:11 AM, Julian Tenney wrote: > Does this trip any immediate thoughts? > > > > > > Hi > > > > I am having a problem with some (but not all) of my Xerte projects > using the "export for deployment" option. > > > > Example of ones I have exported OK: > > > > http://www.nottingham.ac.uk/toolkits/play_7261 > > http://www.nottingham.ac.uk/toolkits/play_5335 > > > > The four I have tried but CANNOT export: > > > > http://www.nottingham.ac.uk/toolkits/play_5340 > > http://www.nottingham.ac.uk/toolkits/play_5990 > > http://www.nottingham.ac.uk/toolkits/play_7262 > > http://www.nottingham.ac.uk/toolkits/play_7263 > > > > For all these, I get the message: > > > > Server error > > The website encountered an error while retrieving > http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down > for maintenance or configured incorrectly. HTTP Error 500 (Internal > Server > Error): An unexpected condition was encountered while the server was > attempting to fulfil the request. > > > > Can you help please? I can't see anything obvious that I have done > wrong for these 4 (as opposed to the other 9 I managed to export successfully). > I need to give these (on a CD) to a student as we have currently made > them private again as we are planning to develop them for next year. > > > This message and any attachment are intended solely 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 patrick.lockley at googlemail.com Fri Oct 12 10:46:02 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 12 Oct 2012 10:46:02 +0100 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F38F@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F38F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: if it fails straight away, XML if it takes a while, PHP problems On Fri, Oct 12, 2012 at 10:44 AM, Julian Tenney wrote: > That's another line of enquiry I'm following up... > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 12 October 2012 10:14 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 > > suspect the script times out - how big are those files? > > if it takes more than 30 seconds to zip it, or the file is bigger than the memory limit it will die > > On Fri, Oct 12, 2012 at 10:11 AM, Julian Tenney wrote: >> Does this trip any immediate thoughts? >> >> >> >> >> >> Hi >> >> >> >> I am having a problem with some (but not all) of my Xerte projects >> using the "export for deployment" option. >> >> >> >> Example of ones I have exported OK: >> >> >> >> http://www.nottingham.ac.uk/toolkits/play_7261 >> >> http://www.nottingham.ac.uk/toolkits/play_5335 >> >> >> >> The four I have tried but CANNOT export: >> >> >> >> http://www.nottingham.ac.uk/toolkits/play_5340 >> >> http://www.nottingham.ac.uk/toolkits/play_5990 >> >> http://www.nottingham.ac.uk/toolkits/play_7262 >> >> http://www.nottingham.ac.uk/toolkits/play_7263 >> >> >> >> For all these, I get the message: >> >> >> >> Server error >> >> The website encountered an error while retrieving >> http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down >> for maintenance or configured incorrectly. HTTP Error 500 (Internal >> Server >> Error): An unexpected condition was encountered while the server was >> attempting to fulfil the request. >> >> >> >> Can you help please? I can't see anything obvious that I have done >> wrong for these 4 (as opposed to the other 9 I managed to export successfully). >> I need to give these (on a CD) to a student as we have currently made >> them private again as we are planning to develop them for next year. >> >> >> This message and any attachment are intended solely 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 From reijnders at tor.nl Fri Oct 12 12:32:12 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 12 Oct 2012 13:32:12 +0200 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F38F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5077FFBC.1000109@tor.nl> This was caused by an xml error Fixed it, it is in the svn you need the new website_code/php/xmlInspector.php Tom Op 12-10-2012 11:46, Pat Lockley schreef: > if it fails straight away, XML > > if it takes a while, PHP problems > > On Fri, Oct 12, 2012 at 10:44 AM, Julian Tenney > wrote: >> That's another line of enquiry I'm following up... >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley >> Sent: 12 October 2012 10:14 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 >> >> suspect the script times out - how big are those files? >> >> if it takes more than 30 seconds to zip it, or the file is bigger than the memory limit it will die >> >> On Fri, Oct 12, 2012 at 10:11 AM, Julian Tenney wrote: >>> Does this trip any immediate thoughts? >>> >>> >>> >>> >>> >>> Hi >>> >>> >>> >>> I am having a problem with some (but not all) of my Xerte projects >>> using the "export for deployment" option. >>> >>> >>> >>> Example of ones I have exported OK: >>> >>> >>> >>> http://www.nottingham.ac.uk/toolkits/play_7261 >>> >>> http://www.nottingham.ac.uk/toolkits/play_5335 >>> >>> >>> >>> The four I have tried but CANNOT export: >>> >>> >>> >>> http://www.nottingham.ac.uk/toolkits/play_5340 >>> >>> http://www.nottingham.ac.uk/toolkits/play_5990 >>> >>> http://www.nottingham.ac.uk/toolkits/play_7262 >>> >>> http://www.nottingham.ac.uk/toolkits/play_7263 >>> >>> >>> >>> For all these, I get the message: >>> >>> >>> >>> Server error >>> >>> The website encountered an error while retrieving >>> http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be down >>> for maintenance or configured incorrectly. HTTP Error 500 (Internal >>> Server >>> Error): An unexpected condition was encountered while the server was >>> attempting to fulfil the request. >>> >>> >>> >>> Can you help please? I can't see anything obvious that I have done >>> wrong for these 4 (as opposed to the other 9 I managed to export successfully). >>> I need to give these (on a CD) to a student as we have currently made >>> them private again as we are planning to develop them for next year. >>> >>> >>> This message and any attachment are intended solely 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 > _______________________________________________ > 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 Fay.Cross at nottingham.ac.uk Fri Oct 12 15:15:16 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 12 Oct 2012 15:15:16 +0100 Subject: [Xerte-dev] Xenith Code Message-ID: Hello I've just uploaded the Xenith files to the xerte svn. I mentioned yesterday that I didn't have the most up to date version with me - the main difference between the structure of what you saw yesterday and what's in these files is that you won't see any javascript in the play.html page - just the html tags. The js for the main controls are now in a file called xenith.js in the common folder. The model pages stuff is all the same. Cheers Fay -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.kemp at ntlworld.com Fri Oct 12 16:13:34 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Fri, 12 Oct 2012 16:13:34 +0100 Subject: [Xerte-dev] Re: At home... Thanks for a great two day conference! In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F317@EXCHANGE1.ad.nottingham.ac.uk> References: <50774968.4010900@tor.nl> <004401cda856$b00f02c0$102d0840$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F317@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I would just like to second everyone's comments. It was a good two day event that was well worth attending. It was great to meet everyone again and to find out about the new developments. Kind regards Johnathan On 12 October 2012 09:57, Julian Tenney wrote: > I relaxed so much last night I forgot to be the tooth fairy. I have a > dejected looking 6 year old. > > I've just put the presentations on > http://www.nottingham.ac.uk/xerte/agm.htm > > It was well worth doing! I have to plug eventbrite, that made my life very > easy. > > -----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: 12 October 2012 09:51 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: At home... Thanks for a great two day conference! > > Yes it was a great couple of days and thanks to all involved - great event > and great company! > > I know how much work it involved for Julian organising it too so hope you > feel it was all worth it Julian and can relax over the weekend and reflect > on the growing success that you started back when xerte began! > > 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: 11 October 2012 23:34 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] At home... Thanks for a great two day conference! > > Tom and Inge > > -- > -- > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri Oct 12 17:41:27 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 12 Oct 2012 17:41:27 +0100 Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 In-Reply-To: <5077FFBC.1000109@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F338@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F38F@EXCHANGE1.ad.nottingham.ac.uk> <5077FFBC.1000109@tor.nl> Message-ID: <013001cda898$6d6826d0$48387470$@co.uk> Thanks Tom I just tested this and was able to export an LO that I couldn't previously. 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 Tom Reijnders Sent: 12 October 2012 12:32 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 This was caused by an xml error Fixed it, it is in the svn you need the new website_code/php/xmlInspector.php Tom Op 12-10-2012 11:46, Pat Lockley schreef: > if it fails straight away, XML > > if it takes a while, PHP problems > > On Fri, Oct 12, 2012 at 10:44 AM, Julian Tenney > wrote: >> That's another line of enquiry I'm following up... >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 12 October 2012 10:14 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: FW: Call Update - Call ref F4245960 >> >> suspect the script times out - how big are those files? >> >> if it takes more than 30 seconds to zip it, or the file is bigger >> than the memory limit it will die >> >> On Fri, Oct 12, 2012 at 10:11 AM, Julian Tenney wrote: >>> Does this trip any immediate thoughts? >>> >>> >>> >>> >>> >>> Hi >>> >>> >>> >>> I am having a problem with some (but not all) of my Xerte projects >>> using the "export for deployment" option. >>> >>> >>> >>> Example of ones I have exported OK: >>> >>> >>> >>> http://www.nottingham.ac.uk/toolkits/play_7261 >>> >>> http://www.nottingham.ac.uk/toolkits/play_5335 >>> >>> >>> >>> The four I have tried but CANNOT export: >>> >>> >>> >>> http://www.nottingham.ac.uk/toolkits/play_5340 >>> >>> http://www.nottingham.ac.uk/toolkits/play_5990 >>> >>> http://www.nottingham.ac.uk/toolkits/play_7262 >>> >>> http://www.nottingham.ac.uk/toolkits/play_7263 >>> >>> >>> >>> For all these, I get the message: >>> >>> >>> >>> Server error >>> >>> The website encountered an error while retrieving >>> http://www.nottingham.ac.uk/toolkits/export_5340 (etc). It may be >>> down for maintenance or configured incorrectly. HTTP Error 500 >>> (Internal Server >>> Error): An unexpected condition was encountered while the server was >>> attempting to fulfil the request. >>> >>> >>> >>> Can you help please? I can't see anything obvious that I have done >>> wrong for these 4 (as opposed to the other 9 I managed to export successfully). >>> I need to give these (on a CD) to a student as we have currently >>> made them private again as we are planning to develop them for next year. >>> >>> >>> This message and any attachment are intended solely 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 > _______________________________________________ > 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 From Julian.Tenney at nottingham.ac.uk Sat Oct 13 23:03:24 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Sat, 13 Oct 2012 23:03:24 +0100 Subject: [Xerte-dev] FW: book sprint event In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event ? propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde From johnathan.kemp at ntlworld.com Sun Oct 14 11:09:33 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Sun, 14 Oct 2012 11:09:33 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney wrote: > We ought to have a punt at this. > > ________________________________________ > From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf > Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] > Sent: 13 October 2012 11:39 > To: OER-DISCUSS at JISCMAIL.AC.UK > Subject: book sprint event > > https://sites.google.com/site/docsprintsummitv2/ > > hi all...please apply for this!!!!!! calling all projects! and spread > the word (projects do NOT have to be Google Summer of Code related) > > > Google Summer of Code in collaboration with Aspiration and FLOSS Manuals > is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters > (California) Dec 3 - 7, 2012. > > The 2012 Doc Camp will feature: > > 1) An unconference on free software documentation topics - facilitated > by Aspiration > > 2) 2-5 Book Sprints to produce books on free softwares - facilitated by > FLOSS Manuals > > Building on the success of the 2011 GSoC Doc Camp we are proud to bring > you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc > Camp is a place for free software communities to meet, create a book for > their project, attract new people to their efforts, and share their > documentation experiences. The camp aims to improve free documentation > materials and skills in free software projects and individuals and help > form the identity of the emergent free documentation sector. > > Individuals and projects can apply. Food and accommodation for all > individuals will be provided and travel support (full or partial) can > also be applied for. > > Be a part of this exciting event ? propose a Book Sprint on your > favorite free software or come and help others write a book on their > favorite project. Guaranteed to be a lot of fun, productive, and a > fantastic place to advance your documentation efforts and experiences. > > For more information or to register to take part, please see > https://sites.google.com/site/docsprintsummitv2/. > > Please note proposals are due by October 26, so get yours in ASAP! > > Cheers, > Carol Smith, Allen Gunn, Adam Hyde > > > _______________________________________________ > 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 Sun Oct 14 22:21:27 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Sun, 14 Oct 2012 22:21:27 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E2@EXCHANGE1.ad.nottingham.ac.uk> I'm up for piutting in a n application, i you guys can help me, my experience is that these things take a gfew days to put ogether, I have some time this week (at the moment...). I think the videos from this week will really help. ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan [johnathan.kemp at ntlworld.com] Sent: 14 October 2012 11:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney > wrote: We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event ? propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde _______________________________________________ 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 Oct 15 09:50:53 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 15 Oct 2012 09:50:53 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> This page: https://sites.google.com/site/docsprintsummitv2/home mentions that individuals can apply through 'registration form[1]' and project can apply through the 'application form[2]', but I can't see an application form[2]. There are no contact details for queries. Am I being thick? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 14 October 2012 11:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney > wrote: We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event - propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde _______________________________________________ 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 ronm at mitchellmedia.co.uk Mon Oct 15 10:09:50 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 15 Oct 2012 10:09:50 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <002301cdaab4$d729abc0$857d0340$@co.uk> Looks like it's the same form for both but you just indicate if it's a project or individual application in the first form element https://sites.google.com/site/docsprintsummitv2/home/registration-form Happy to help but can't help wondering if their priority will be GSoC projects. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 October 2012 09:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event This page: https://sites.google.com/site/docsprintsummitv2/home mentions that individuals can apply through 'registration form[1]' and project can apply through the 'application form[2]', but I can't see an application form[2]. There are no contact details for queries. Am I being thick? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 14 October 2012 11:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney wrote: We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event - propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde _______________________________________________ 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. This message and any attachment are intended solely 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 Mon Oct 15 10:09:14 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 15 Oct 2012 10:09:14 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: <002301cdaab4$d729abc0$857d0340$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> <002301cdaab4$d729abc0$857d0340$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F8A1@EXCHANGE1.ad.nottingham.ac.uk> Possibly, but success has many friends. It's got to be worth a punt, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: book sprint event Looks like it's the same form for both but you just indicate if it's a project or individual application in the first form element https://sites.google.com/site/docsprintsummitv2/home/registration-form Happy to help but can't help wondering if their priority will be GSoC projects. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 October 2012 09:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event This page: https://sites.google.com/site/docsprintsummitv2/home mentions that individuals can apply through 'registration form[1]' and project can apply through the 'application form[2]', but I can't see an application form[2]. There are no contact details for queries. Am I being thick? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 14 October 2012 11:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney > wrote: We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event - propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde _______________________________________________ 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. This message and any attachment are intended solely 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 johnathan.kemp at ntlworld.com Mon Oct 15 12:09:37 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Mon, 15 Oct 2012 12:09:37 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F8A1@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> <002301cdaab4$d729abc0$857d0340$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F8A1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Everyone uses the same form. There is a section for individual application and a section for projects. Definitely worth a punt. I am interested but would need the project to cover my travel costs. Would we be looking to document XOT, Xerte or both? Kind regards Johnathan On 15 October 2012 10:09, Julian Tenney wrote: > Possibly, but success has many friends. It?s got to be worth a punt, > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto: > xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell > *Sent:* 15 October 2012 10:10 > > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: FW: book sprint event > > > > Looks like it's the same form for both but you just indicate if it's a > project or individual application in the first form element > https://sites.google.com/site/docsprintsummitv2/home/registration-form > > > > Happy to help but can't help wondering if their priority will be GSoC > projects. > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Julian Tenney > *Sent:* 15 October 2012 09:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: FW: book sprint event > > > > This page: > > *https://sites.google.com/site/docsprintsummitv2/home* > > * * > > mentions that individuals can apply through ?registration form[1]? and > project can apply through the ?application form[2]?, but I can?t see an > application form[2]. > > > > There are no contact details for queries. > > > > Am I being thick? > > > > *From:* xerte-dev-bounces at lists.nottingham.ac.uk [ > mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Kemp Johnathan > *Sent:* 14 October 2012 11:10 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: FW: book sprint event > > > > "Projects will be chosen from proposals submitted to the GSoC Doc Camp > before October 26 through the application form [2]. Project applications > can nominate up to 5 individuals to attend and participate in the proposed > sprint. A Project proposal does not have to nominate individuals to > participate - you can also use this as an opportunity to promote your > project to Doc Camp participants and extend your documentation community. > If the proposal is accepted the accommodation and food costs will be > covered by the Doc Camp for any listed individuals and part or complete > travel costs for each can be applied for (if applicable)." > > > > If I have understood this correctly the application would be most > appropriate to come from the "free software project" i.e. the Xerte > project, rather than from individuals. If this is the case then I guess > what you would then be looking for are expressions of interest from members > of the developer community. > > > > " part or complete travel costs for each can be applied for (if > applicable). " > > > > This may be the bit that would benefit from clarification as there may be > people out there able and willing to help with this who would find it > difficult to commit to it if there was a risk of incurring significant > financial cost. > > > > It sounds like a busy few days with a lot of hard work thrown in and a > long journey at each end, and well worth doing! > > > > Kind regards > > > > Johnathan > > > > > > On 13 October 2012 23:03, Julian Tenney > wrote: > > We ought to have a punt at this. > > ________________________________________ > From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf > Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] > Sent: 13 October 2012 11:39 > To: OER-DISCUSS at JISCMAIL.AC.UK > Subject: book sprint event > > https://sites.google.com/site/docsprintsummitv2/ > > hi all...please apply for this!!!!!! calling all projects! and spread > the word (projects do NOT have to be Google Summer of Code related) > > > Google Summer of Code in collaboration with Aspiration and FLOSS Manuals > is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters > (California) Dec 3 - 7, 2012. > > The 2012 Doc Camp will feature: > > 1) An unconference on free software documentation topics - facilitated > by Aspiration > > 2) 2-5 Book Sprints to produce books on free softwares - facilitated by > FLOSS Manuals > > Building on the success of the 2011 GSoC Doc Camp we are proud to bring > you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc > Camp is a place for free software communities to meet, create a book for > their project, attract new people to their efforts, and share their > documentation experiences. The camp aims to improve free documentation > materials and skills in free software projects and individuals and help > form the identity of the emergent free documentation sector. > > Individuals and projects can apply. Food and accommodation for all > individuals will be provided and travel support (full or partial) can > also be applied for. > > Be a part of this exciting event ? propose a Book Sprint on your > favorite free software or come and help others write a book on their > favorite project. Guaranteed to be a lot of fun, productive, and a > fantastic place to advance your documentation efforts and experiences. > > For more information or to register to take part, please see > https://sites.google.com/site/docsprintsummitv2/. > > Please note proposals are due by October 26, so get yours in ASAP! > > Cheers, > Carol Smith, Allen Gunn, Adam Hyde > > > _______________________________________________ > 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. > > > > > > This message and any attachment are intended solely 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Oct 15 13:19:10 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 15 Oct 2012 13:19:10 +0100 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> <002301cdaab4$d729abc0$857d0340$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F8A1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22FAA5@EXCHANGE1.ad.nottingham.ac.uk> I've put a submission in, so let's see what happens, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 15 October 2012 12:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event Everyone uses the same form. There is a section for individual application and a section for projects. Definitely worth a punt. I am interested but would need the project to cover my travel costs. Would we be looking to document XOT, Xerte or both? Kind regards Johnathan On 15 October 2012 10:09, Julian Tenney > wrote: Possibly, but success has many friends. It's got to be worth a punt, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: FW: book sprint event Looks like it's the same form for both but you just indicate if it's a project or individual application in the first form element https://sites.google.com/site/docsprintsummitv2/home/registration-form Happy to help but can't help wondering if their priority will be GSoC projects. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 October 2012 09:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event This page: https://sites.google.com/site/docsprintsummitv2/home mentions that individuals can apply through 'registration form[1]' and project can apply through the 'application form[2]', but I can't see an application form[2]. There are no contact details for queries. Am I being thick? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 14 October 2012 11:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: book sprint event "Projects will be chosen from proposals submitted to the GSoC Doc Camp before October 26 through the application form [2]. Project applications can nominate up to 5 individuals to attend and participate in the proposed sprint. A Project proposal does not have to nominate individuals to participate - you can also use this as an opportunity to promote your project to Doc Camp participants and extend your documentation community. If the proposal is accepted the accommodation and food costs will be covered by the Doc Camp for any listed individuals and part or complete travel costs for each can be applied for (if applicable)." If I have understood this correctly the application would be most appropriate to come from the "free software project" i.e. the Xerte project, rather than from individuals. If this is the case then I guess what you would then be looking for are expressions of interest from members of the developer community. " part or complete travel costs for each can be applied for (if applicable). " This may be the bit that would benefit from clarification as there may be people out there able and willing to help with this who would find it difficult to commit to it if there was a risk of incurring significant financial cost. It sounds like a busy few days with a lot of hard work thrown in and a long journey at each end, and well worth doing! Kind regards Johnathan On 13 October 2012 23:03, Julian Tenney > wrote: We ought to have a punt at this. ________________________________________ From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK] On Behalf Of Adam Hyde [adam.hyde at SOURCEFABRIC.ORG] Sent: 13 October 2012 11:39 To: OER-DISCUSS at JISCMAIL.AC.UK Subject: book sprint event https://sites.google.com/site/docsprintsummitv2/ hi all...please apply for this!!!!!! calling all projects! and spread the word (projects do NOT have to be Google Summer of Code related) Google Summer of Code in collaboration with Aspiration and FLOSS Manuals is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters (California) Dec 3 - 7, 2012. The 2012 Doc Camp will feature: 1) An unconference on free software documentation topics - facilitated by Aspiration 2) 2-5 Book Sprints to produce books on free softwares - facilitated by FLOSS Manuals Building on the success of the 2011 GSoC Doc Camp we are proud to bring you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc Camp is a place for free software communities to meet, create a book for their project, attract new people to their efforts, and share their documentation experiences. The camp aims to improve free documentation materials and skills in free software projects and individuals and help form the identity of the emergent free documentation sector. Individuals and projects can apply. Food and accommodation for all individuals will be provided and travel support (full or partial) can also be applied for. Be a part of this exciting event - propose a Book Sprint on your favorite free software or come and help others write a book on their favorite project. Guaranteed to be a lot of fun, productive, and a fantastic place to advance your documentation efforts and experiences. For more information or to register to take part, please see https://sites.google.com/site/docsprintsummitv2/. Please note proposals are due by October 26, so get yours in ASAP! Cheers, Carol Smith, Allen Gunn, Adam Hyde _______________________________________________ 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. This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Oct 15 13:43:03 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 15 Oct 2012 14:43:03 +0200 Subject: [Xerte-dev] Re: FW: book sprint event In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22FAA5@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3EE8E5E1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F866@EXCHANGE1.ad.nottingham.ac.uk> <002301cdaab4$d729abc0$857d0340$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22F8A1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F22FAA5@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <507C04D7.3030704@tor.nl> Yes. Definitely worth a shot! Tom and Inge Op 15-10-2012 14:19, Julian Tenney schreef: > > I've put a submission in, so let's see what happens, > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp > Johnathan > *Sent:* 15 October 2012 12:10 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: FW: book sprint event > > Everyone uses the same form. There is a section for individual > application and a section for projects. > > Definitely worth a punt. I am interested but would need the project to > cover my travel costs. > > Would we be looking to document XOT, Xerte or both? > > Kind regards > > Johnathan > > On 15 October 2012 10:09, Julian Tenney > > wrote: > > Possibly, but success has many friends. It's got to be worth a punt, > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk > ] *On Behalf Of *Ron > Mitchell > *Sent:* 15 October 2012 10:10 > > > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: FW: book sprint event > > Looks like it's the same form for both but you just indicate if it's a > project or individual application in the first form element > https://sites.google.com/site/docsprintsummitv2/home/registration-form > > Happy to help but can't help wondering if their priority will be GSoC > projects. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 15 October 2012 09:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: FW: book sprint event > > This page: > > *https://sites.google.com/site/docsprintsummitv2/home* > > ** > > mentions that individuals can apply through 'registration form[1]' and > project can apply through the 'application form[2]', but I can't see > an application form[2]. > > There are no contact details for queries. > > Am I being thick? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp > Johnathan > *Sent:* 14 October 2012 11:10 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: FW: book sprint event > > "Projects will be chosen from proposals submitted to the GSoC Doc Camp > before October 26 through the application form [2]. Project > applications can nominate up to 5 individuals to attend and > participate in the proposed sprint. A Project proposal does not have > to nominate individuals to participate - you can also use this as an > opportunity to promote your project to Doc Camp participants and > extend your documentation community. If the proposal is accepted the > accommodation and food costs will be covered by the Doc Camp for any > listed individuals and part or complete travel costs for each can be > applied for (if applicable)." > > If I have understood this correctly the application would be most > appropriate to come from the "free software project" i.e. the Xerte > project, rather than from individuals. If this is the case then I > guess what you would then be looking for are expressions of interest > from members of the developer community. > > " part or complete travel costs for each can be applied for (if > applicable). " > > This may be the bit that would benefit from clarification as there may > be people out there able and willing to help with this who would find > it difficult to commit to it if there was a risk of incurring > significant financial cost. > > It sounds like a busy few days with a lot of hard work thrown in and a > long journey at each end, and well worth doing! > > Kind regards > > Johnathan > > On 13 October 2012 23:03, Julian Tenney > > wrote: > > We ought to have a punt at this. > > ________________________________________ > From: Open Educational Resources [OER-DISCUSS at JISCMAIL.AC.UK > ] On Behalf Of Adam Hyde > [adam.hyde at SOURCEFABRIC.ORG ] > Sent: 13 October 2012 11:39 > To: OER-DISCUSS at JISCMAIL.AC.UK > Subject: book sprint event > > https://sites.google.com/site/docsprintsummitv2/ > > hi all...please apply for this!!!!!! calling all projects! and spread > the word (projects do NOT have to be Google Summer of Code related) > > > Google Summer of Code in collaboration with Aspiration and FLOSS Manuals > is hosting a "Doc Sprint Camp" at Google's Mountain View headquarters > (California) Dec 3 - 7, 2012. > > The 2012 Doc Camp will feature: > > 1) An unconference on free software documentation topics - facilitated > by Aspiration > > 2) 2-5 Book Sprints to produce books on free softwares - facilitated by > FLOSS Manuals > > Building on the success of the 2011 GSoC Doc Camp we are proud to bring > you the 2012 GSoC Doc Camp. Like the previous event the 2012 GSoC Doc > Camp is a place for free software communities to meet, create a book for > their project, attract new people to their efforts, and share their > documentation experiences. The camp aims to improve free documentation > materials and skills in free software projects and individuals and help > form the identity of the emergent free documentation sector. > > Individuals and projects can apply. Food and accommodation for all > individuals will be provided and travel support (full or partial) can > also be applied for. > > Be a part of this exciting event -- propose a Book Sprint on your > favorite free software or come and help others write a book on their > favorite project. Guaranteed to be a lot of fun, productive, and a > fantastic place to advance your documentation efforts and experiences. > > For more information or to register to take part, please see > https://sites.google.com/site/docsprintsummitv2/. > > Please note proposals are due by October 26, so get yours in ASAP! > > Cheers, > Carol Smith, Allen Gunn, Adam Hyde > > > _______________________________________________ > 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. > > This message and any attachment are intended solely 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. > -- -- 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 Mon Oct 15 15:10:57 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 15 Oct 2012 15:10:57 +0100 Subject: [Xerte-dev] FW: Xenith/XOT Glossary regexps Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F22FBA9@EXCHANGE1.ad.nottingham.ac.uk> Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: glossary.png Type: image/png Size: 44903 bytes Desc: glossary.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: glossary2.png Type: image/png Size: 55972 bytes Desc: glossary2.png URL: From J.J.Smith at gcu.ac.uk Mon Oct 15 15:48:04 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 15 Oct 2012 15:48:04 +0100 Subject: [Xerte-dev] Updated Xenith Interactivity - Timeline / Matching Pairs model Message-ID: Hi, Been working on the Interactivity - Timeline / Matching Pairs model and now have the drag and drop functionality working to the whole area of each target. Still needs a bit of work to work with the keyboard but I'm going to be away for a week and don't think I'll get much time to spend on this until my return. Fay - I had to move the "droppable" and "bind" methods of $thisAnswer in front of your .find(".target") so it kind throws out all your definitions of what the do but it's a starting point. Also, not sure what happens when they are all in place but some are wrong - should there be a reset button or should you just be able to drag them off one target onto another?? Will pick it up on my return so if anyone else works on this then please post your code!! 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 -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Mon Oct 15 15:35:19 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 15 Oct 2012 07:35:19 -0700 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F22FBA9@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22FBA9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <34DFA7F3-74F2-45C6-AB73-FB73BD866D75@googlemail.com> Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: > Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. > > -----Original Message----- > From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] > Sent: 14 October 2012 17:26 > To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl > Subject: Xenith/XOT Glossary regexps > Importance: High > > Hi guys, > > Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... > > Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... > > I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: > > // function makes every glossary word found into a link function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k // ** see recent emails on list about regular expression stuff ** > //var regExp = new RegExp(" " + glossary[k].word + " ", "ig"); > > var regExp = new RegExp('\\s' + glossary[k].word + '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); > > temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); > } > node.nodeValue = temp; > } > > and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... > > Will start adding to the list soon... > > 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 > > This message and any attachment are intended solely 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 Julian.Tenney at nottingham.ac.uk Mon Oct 15 17:00:32 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 15 Oct 2012 17:00:32 +0100 Subject: [Xerte-dev] Re: Updated Xenith Interactivity - Timeline / Matching Pairs model In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AA1BE@EXCHANGE1.ad.nottingham.ac.uk> Hey, do you need write access to the svn? Send me a google email address and I'll add you in, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 15 October 2012 15:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Updated Xenith Interactivity - Timeline / Matching Pairs model Importance: High Hi, Been working on the Interactivity - Timeline / Matching Pairs model and now have the drag and drop functionality working to the whole area of each target. Still needs a bit of work to work with the keyboard but I'm going to be away for a week and don't think I'll get much time to spend on this until my return. Fay - I had to move the "droppable" and "bind" methods of $thisAnswer in front of your .find(".target") so it kind throws out all your definitions of what the do but it's a starting point. Also, not sure what happens when they are all in place but some are wrong - should there be a reset button or should you just be able to drag them off one target onto another?? Will pick it up on my return so if anyone else works on this then please post your code!! 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: From J.J.Smith at gcu.ac.uk Mon Oct 15 18:21:55 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 15 Oct 2012 18:21:55 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Message-ID: Should work - does in test. Its really 2 regexps in one \sWORD[^\s]* should match words at beginning or end of all lines except first ^WORD[^\s]* anchors to the start of line one to take care of first word... Can probably be minimise though... See screenshots where it looks to work in Xenith anyway. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: > Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. > > -----Original Message----- > From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] > Sent: 14 October 2012 17:26 > To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl > Subject: Xenith/XOT Glossary regexps > Importance: High > > Hi guys, > > Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... > > Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... > > I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: > > // function makes every glossary word found into a link function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k // ** see recent emails on list about regular expression stuff ** > //var regExp = new RegExp(" " + glossary[k].word + " ", "ig"); > > var regExp = new RegExp('\\s' + glossary[k].word + '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); > > temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); > } > node.nodeValue = temp; > } > > and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... > > Will start adding to the list soon... > > 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 > > This message and any attachment are intended solely 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 Mon Oct 15 18:37:29 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 15 Oct 2012 18:37:29 +0100 Subject: [Xerte-dev] Re: Updated Xenith Interactivity - Timeline / Matching Pairs model Message-ID: Sure. This email is linked to my Google account so should would. Might post a few questions before i commit any changes though, just to get my head around build environments etc for xerte and xot. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Hey, do you need write access to the svn? Send me a google email address and I?ll add you in, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 15 October 2012 15:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Updated Xenith Interactivity - Timeline / Matching Pairs model Importance: High Hi, Been working on the Interactivity - Timeline / Matching Pairs model and now have the drag and drop functionality working to the whole area of each target. Still needs a bit of work to work with the keyboard but I?m going to be away for a week and don?t think I?ll get much time to spend on this until my return. Fay ? I had to move the ?droppable? and ?bind? methods of $thisAnswer in front of your .find(?.target?) so it kind throws out all your definitions of what the do but it?s a starting point. Also, not sure what happens when they are all in place but some are wrong ? should there be a reset button or should you just be able to drag them off one target onto another?? Will pick it up on my return so if anyone else works on this then please post your code!! 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 This message and any attachment are intended solely 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 Mon Oct 15 18:48:19 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 15 Oct 2012 18:48:19 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Message-ID: Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: > Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. > > -----Original Message----- > From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] > Sent: 14 October 2012 17:26 > To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl > Subject: Xenith/XOT Glossary regexps > Importance: High > > Hi guys, > > Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... > > Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... > > I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: > > // function makes every glossary word found into a link function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k // ** see recent emails on list about regular expression stuff ** > //var regExp = new RegExp(" " + glossary[k].word + " ", "ig"); > > var regExp = new RegExp('\\s' + glossary[k].word + '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); > > temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); > } > node.nodeValue = temp; > } > > and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... > > Will start adding to the list soon... > > 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 > > This message and any attachment are intended solely 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 Julian.Tenney at nottingham.ac.uk Tue Oct 16 09:25:54 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 16 Oct 2012 09:25:54 +0100 Subject: [Xerte-dev] Re: Updated Xenith Interactivity - Timeline / Matching Pairs model In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AA2A1@EXCHANGE1.ad.nottingham.ac.uk> You can commit. I think generally we know what each other is up to, ask if in doubt, -----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: 15 October 2012 18:37 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Updated Xenith Interactivity - Timeline / Matching Pairs model Sure. This email is linked to my Google account so should would. Might post a few questions before i commit any changes though, just to get my head around build environments etc for xerte and xot. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Hey, do you need write access to the svn? Send me a google email address and I?ll add you in, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 15 October 2012 15:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Updated Xenith Interactivity - Timeline / Matching Pairs model Importance: High Hi, Been working on the Interactivity - Timeline / Matching Pairs model and now have the drag and drop functionality working to the whole area of each target. Still needs a bit of work to work with the keyboard but I?m going to be away for a week and don?t think I?ll get much time to spend on this until my return. Fay ? I had to move the ?droppable? and ?bind? methods of $thisAnswer in front of your .find(?.target?) so it kind throws out all your definitions of what the do but it?s a starting point. Also, not sure what happens when they are all in place but some are wrong ? should there be a reset button or should you just be able to drag them off one target onto another?? Will pick it up on my return so if anyone else works on this then please post your code!! 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 This message and any attachment are intended solely 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 ronm at mitchellmedia.co.uk Tue Oct 16 17:28:57 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 16 Oct 2012 17:28:57 +0100 Subject: [Xerte-dev] Re: LTI Provider In-Reply-To: <00a501cda62b$e4473990$acd5acb0$@co.uk> References: <69EBE05A4BFEE840A8103DD2C84AF30F1E1CFBF6D1@EXCHANGE1.ad.nottingham.ac.uk> <001901cda146$d26c54b0$7744fe10$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886C15@EXCHANGE1.ad.nottingham.ac.uk> <003601cda157$69c72d20$3d558760$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3EBCA11E@EXCHANGE1.ad.nottingham.ac.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886D49@EXCHANGE1.ad.nottingham.ac.uk> <011a01cda16e$d5bd4d40$8137e7c0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1D886DD9@EXCHANGE1.ad.nottingham.ac.uk> <015701cda173$3fca35a0$bf5ea0e0$@co.uk> <00a801cda552$525d25f0$f71771d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F276@EXCHANGE1.ad.nottingham.ac.uk> <00e301cda570$e33e17f0$a9ba47d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F55E@EXCHANGE1.ad.nottingham.ac.uk> <007301cda624$542b9bf0$fc82d3d0$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5E1@EXCHANGE1.ad.nottingham.ac.uk> <008901cda626$57e18d20$07a4a760$@co.uk> <69EBE05A4BFEE840A8103DD2C84AF30F1E1DE1F5F6@EXCHANGE1.ad.nottingham.ac.uk> <00a5 01cda62b$e4473990$acd5acb0$@co.uk> Message-ID: <00d201cdabbb$58b31da0$0a1958e0$@co.uk> Hi Simon sorry it's taken a while to find time to test this further since we discussed it at the developer day. It appears there are two separate but not entirely unrelated issues... 1. function get_string issue As we discovered during the developer day if Moodle integration is enabled there's a clash with this function name at around line 527 of lti_util.php /* This is a bit of homage to Moodle's pattern of internationalisation */ function get_string($key,$bundle) { return $key; } What I've since discovered is that even if the site is set to another method of authentication e.g. static the clash still exists because the code in the XOT config.php simply checks if integration_config_path in the sitedetails table has a value and if it does requires that path. Obviously there might only be a conflict if the integration path is to a Moodle installation but there's not really an accurate way of checking that the path is to a moodle rather than another application. The simplest solution seems to be to do what you did last week and change the function e.g. function get_string2($key,$bundle) { return $key; } Not sure if there's any problem with that? Alternatively how about checking if it exists e.g. has a moodle path set and then using get_string2 e.g. /* This is a bit of homage to Moodle's pattern of internationalisation */ if(!function_exists("get_string")) { function get_string($key,$bundle) { return $key; }}else{ function get_string2($key,$bundle) { return $key; }} I tested this and it resolves the cannot redeclare error 2. re-authenticating LTI if Moodle authentication is used There's a more fundamental issue with the LTI functionality if Moodle authentication is used with XOT. I've tried to find a solution to this but couldn't find the right section of LTI code. I think there needs to be a check to see if Moodle authentication is in use and if it is to pick up the username from the session variable without displaying a form to re-authenticate. e.g. when adding a new external LO if the time period has expired or its first use then check if Moodle authentication is in use and if it is just check for the username in the session and use that rather than displaying the login form. I can help resolve/test this but not sure where to prevent the form and use the session instead? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:39 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon yep that seems to have cracked it! Working now with both my localhost and Centos tests. The one issue I do still have is with an upgraded installation of XOT 1.7 to 1.8. This where I mentioned that on management.php if I click LTI settings View then LTI Keys View I don't get the option to add a key or view any existing keys. This is on the same server as I have a new XOT 1.8 installation and I see those options with that and it all works. The 4 LTI tables exist in the database and I've tried adding a key and secret manually but the integration still doesn't work. Any idea what might be preventing the view keys link from working? The link goes no further than shown. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 15:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Try an update now. I have got this apparently working on mine now with static authentication and closing the browser completely between create and going back it isn't giving me any errors. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 15:00 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon ok great - glad you can reproduce the problem now and happy to test any changes. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 14:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Looks like I managed to create myself a bug! The session_status() function I was going to use to detect if sessions were started but then found its only in php >5.4.0 so have now done it a different way. I have now realised why Im getting things different from you as I have completely closed my browser and tried and get the issue, Ill look into this now and get back to you as soon as possible. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 09 October 2012 14:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks - progress of sorts... 1. I thought this has fixed things but if I only log into Moodle and then access the links to Lo's I added previously they are broken and with the debug code in place give the following errors: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 However if I then open and login to xot via a new tab those previous links work. If I then try to add a new resources I see the list of LO's but upon choosing one I get the following error: Fatal error: Call to undefined function session_status() in C:\xampp\htdocs\newxottrunktest\LTI\ims-lti\UoN_LTI.php on line 54 I get the same error on the Cenos installation too. If I close all browser windows and login to only moodle again the links don't work again. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 09 October 2012 13:44 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Please update your copy from SVN as Ive added a patch that hopefully will fix things (under some circumstances it looks like sessions didn't start so I start it) this should hopefully fix the issue as the errors in line 37 & 42 are related to no data in the SESSIONS variable and as this was blank the user data returned nothing and therefore in the login_processing2 function it tried to query a non existent object as this was the action if it wasn't set. Let me know if this fixes thing. Simon 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 October 2012 17:21 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon I've been going round and round the houses with this nearly all day :-( and discovered there's a problem with my initial localhost test too. Here's what happens locally and with your latest code in place... 1. I removed the external tool configuration from my localhost moodle 2 install and also removed all lti_resource and lti_user entries in the newxottrunktest I've been using for testing as well as the moodle course activities - so effectively starting again from scratch. The newxottrunktest is using static for authentication. 2. Configured the external tool via moodle admin 3. Add an external tool activity in a moodle course and prompted to login to newxottrunktest and select an LO - all fine at this point. 4. Close all browser windows and re-visit the Moodle course then click the previous external activity link - with the error reporting lines in place I get the following: Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 37 Notice: Undefined index: toolkits_logon_username in C:\xampp\htdocs\newxottrunktest\website_code\php\user_library.php on line 42 Fatal error: Call to a member function getFirstname() on a non-object in C:\xampp\htdocs\newxottrunktest\website_code\php\login_library.php on line 352 So for me it's working when initially set up and logged in but upon closing all browsers and logging in again it's broken. I was able to replicate the same issue with the Centos installations too. The other issue about not being able to see the option to add an LTI Key may be related to the fact that the XOT installation I was using was using Moodle for authentication. On the same server I've added a new test installation using static for authentication and can see the option to add a new key with that. I'll revisit that and confirm at some point but interested to hear your thoughts on the main issue first. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 08 October 2012 16:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Im not exactly clear about what you are trying in the first part from the description you have a php error. Just to be safe please grab the latest off svn as Ive made a few updates to it today (but I don't think they should affect this area). Does your database LTI tables exist? To get the php errors to display to screen add the following lines after the config.php include in LTI/index.php (about line 12). error_reporting(E_ALL); ini_set('display_errors',"ON"); This should then help to narrow down the issue 2nd point, Im can not see why same server as moodle would cause an issue. I think it might be a misunderstanding in how to add a new key from the management page. To add a new key: Goto management.php under "Site", Click "View" next to "LTI settings" then "View" next to "LTI Keys" you will then see an item called "New" and the text next to it will be "Add New LTI Key" this will then display the form to add a new lti key. Simon 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 October 2012 13:42 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon have you managed to get the LTI functionality to work on a live server rather than localhost? I've tried to get this working on a Centos server linking from that server to an XOT 1.8 installation on the same server and also another server. When clicking save and display or following the link added to a course I don't get prompted to login to XOT and just get what appears to be a blank Iframe. Do any of the LTI files need special permissions? Also on the XOT installations on the same server as the Moodle I only see the option to View LTI keys not Add a new key so I had to add the key and secret direct to the db. Any idea why that might be? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 15:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon good point - I guess that's a real advantage in that if a teacher with moodle course and XOT access has the relevant details they can still add an XOT resource even if the Moodle admin hasn't set-up the specific external tool. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 15:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I have updated the documentation as suggested. As this is a landing page to lti then the documentation on the moodle page makes sense. If you put the full url into the url box on the specific instance then you would get to the correct place. This means that if Xerte hasn't been setup in moodle it can still be used you would just enter the information that you entered under site administration on that specific instance. Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 14:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks the key difference was that tick box to 'show tool type when creating tool instances' With that ticked there's no need to add a url when adding an external tool activity as long as the correct external tool is selected from the drop down. Without it ticked it just goes to the login page. I hadn't ticked that originally because the moodle help says: In most cases, this option does not need to be selected. Teachers can use this tool configuration based on the Launch URL matching the Tool base URL, which is the preferred method. The only case in which this option should be selected is if the tool configuration is just intended for single sign on. For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource. If this is correct perhaps needs adding to the quick documentation? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 13:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, I think you haven't set up your moodle correctly. You can have it so moodle is set only once with the Xerte Object under the LTI Administration[under site administration] (I have included a screenshot from mine) once this is set and the tick box below the custom parameters box is ticked then this will show up in the usual adding a new external tool, type in an activity Name then in the drop down box for external tool type choose the name you gave the object under the site administration don't enter anything into the launch url and just click save and display. This then means you just select the external tool from the drop down XOT in your case, it suggest the XOT hasn't been setup as I have said above, there is no reason to additionally enter the url below this. There is currently no support to create accounts in the lti additions, All I do is call the authentication mechanism. For LDAP it will add users into the logindetails table, for others I believe you would have to add code to the authentication mechanism so that it could add to itself etc Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 03 October 2012 12:17 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider > In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Please do! I'll make a fresh zip, 1.81, the LTI release. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 12:08 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thanks for the screenshots - very useful. All working well now! :-) I had added the /lti/ when configuring via admin > plugins > activity modules > external tool but I hadn't added a url or a url with /lti/ in the end when adding an external tool activity to a course. Now that I've done that it works great. It seems a shame that the Moodle settings can't automatically pick up the correct url by selecting the name of the external tool. e.g. If I select XOT as shown in the screenshot (the name I gave to the external tool via admin) I still have to add the url with /lti/ appended for the selection of an LO to work otherwise it just takes me to the standard login screen. Not a problem for me but I can see it being a problem where users just put what they know to be the installation url, or no url at all, rather than knowing or remembering to add /lti/. I know this is more a moodle limitation rather than any kind of limitation of what you've developed which is great! I guess once users know what to do via a guide or something then they should remember and I guess in an institution it would be worth customising the help for the external resource activity to show what url to add. I can see awareness of LTI growing quickly over the next couple of years especially where Moodle is used as the VLE. Does the functionality exist in what you have developed to automatically create accounts from the consumer e.g. if the XOT db was used to store accounts? I'm guessing not at the moment but I could see that being very useful for OER collaborative projects etc. Great stuff! In my new features slot on the 10th ok if I mention this and suggest delegates speak to you if they have any questions? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 03 October 2012 11:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: LTI Provider Ron, Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code. It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect. The steps will be (I have attached screen grabs to compare to) 1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png] 2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content. The obvious thing I can think of is you didn't put the correct url into the Tool Base URL, it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link Simon From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 03 October 2012 10:10 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: LTI Provider Hi Simon thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication? Results of tests so far: 1. Realised I had to run upgrade.php to create the lti table - this worked fine. 2. Adding a key and secret via management.php also worked fine. 3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine 4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack Sent: 02 October 2012 17:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] LTI Provider First thank you all for the welcome. Yesterday I submitted to svn the LTI Provider integration function I have been working on. This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin). It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the project you want to associate the link with, and then displays the project for subsequent launches of the link. It also includes LTI Key/Secret Management in the main Xerte management interface. I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+. I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything). It would be really useful if others could download it, test it out and give feedback. There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch. The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project. Thanks Simon This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2645 bytes Desc: not available URL: From reijnders at tor.nl Tue Oct 16 20:31:20 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Tue, 16 Oct 2012 21:31:20 +0200 Subject: [Xerte-dev] PhpStorm license Message-ID: <507DB608.1050105@tor.nl> L.S., Based on my chat with Simon last week I applied for a license of PhpStorm (A html5/javascript/php IDE) for the Xerte project. We were granted with a 1 year unlimited license for the xerte project. I am not sure I should put the license here, but I will gladly share the key with you, should you wish to try out PhpStrom for yourself. See also http://www.jetbrains.com/phpstorm/ And this is the official answer to my application: Hello Tom, Thank you for your interest in JetBrains' PhpStorm. We have approved your request and sent the license key to your email in a separate message. Please, feel free to share the key with other contributors to the project. The license will work for one year and covers all new versions released before the license expiration date. Should you have any further questions, please, don't hesitate to contact me, I'll be happy to help. Good luck with your project! Have a great day) Kind regards, Nadya Kudryavtseva Community Support Coordinator JetBrains, s.r.o. http://www.jetbrains.com/ "Develop with pleasure!" -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Tue Oct 16 22:31:31 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Tue, 16 Oct 2012 22:31:31 +0100 Subject: [Xerte-dev] Xertrans google group Message-ID: Hello, Have deleted this as we don't need it anymore Pat From Fay.Cross at nottingham.ac.uk Wed Oct 17 09:50:30 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 17 Oct 2012 09:50:30 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: Message-ID: Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: > Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. > > -----Original Message----- > From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] > Sent: 14 October 2012 17:26 > To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; > ronm at mitchellmedia.co.uk; reijnders at tor.nl > Subject: Xenith/XOT Glossary regexps > Importance: High > > Hi guys, > > Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... > > Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... > > I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: > > // function makes every glossary word found into a link function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k // ** see recent emails on list about regular expression stuff ** > //var regExp = new RegExp(" " + glossary[k].word + " ", > "ig"); > > var regExp = new RegExp('\\s' + glossary[k].word + > '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); > > temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); > } > node.nodeValue = temp; > } > > and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... > > Will start adding to the list soon... > > 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,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 > > This message and any attachment are intended solely 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 From Julian.Tenney at nottingham.ac.uk Wed Oct 17 10:27:12 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 17 Oct 2012 10:27:12 +0100 Subject: [Xerte-dev] Re: PhpStorm license In-Reply-To: <507DB608.1050105@tor.nl> References: <507DB608.1050105@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AA874@EXCHANGE1.ad.nottingham.ac.uk> I also recently secured a license from them for the Xerte project for WebStorm which is similar but oriented more towards front end developers doing HTML .js .css. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 16 October 2012 20:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] PhpStorm license L.S., Based on my chat with Simon last week I applied for a license of PhpStorm (A html5/javascript/php IDE) for the Xerte project. We were granted with a 1 year unlimited license for the xerte project. I am not sure I should put the license here, but I will gladly share the key with you, should you wish to try out PhpStrom for yourself. See also http://www.jetbrains.com/phpstorm/ And this is the official answer to my application: Hello Tom, Thank you for your interest in JetBrains' PhpStorm. We have approved your request and sent the license key to your email in a separate message. Please, feel free to share the key with other contributors to the project. The license will work for one year and covers all new versions released before the license expiration date. Should you have any further questions, please, don't hesitate to contact me, I'll be happy to help. Good luck with your project! Have a great day) Kind regards, Nadya Kudryavtseva Community Support Coordinator JetBrains, s.r.o. http://www.jetbrains.com/ "Develop with pleasure!" -- -- 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 Wed Oct 17 11:25:14 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 17 Oct 2012 12:25:14 +0200 Subject: [Xerte-dev] Re: PhpStorm license In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AA874@EXCHANGE1.ad.nottingham.ac.uk> References: <507DB608.1050105@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F3AA874@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <507E878A.1000807@tor.nl> phpStorm includes all the functionallity of WebStrom (or so they say.. :-) ) Tom Op 17-10-2012 11:27, Julian Tenney schreef: > > I also recently secured a license from them for the Xerte project for > WebStorm which is similar but oriented more towards front end > developers doing HTML .js .css. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 16 October 2012 20:31 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] PhpStorm license > > L.S., > > Based on my chat with Simon last week I applied for a license of > PhpStorm (A html5/javascript/php IDE) for the Xerte project. We were > granted with a 1 year unlimited license for the xerte project. I am > not sure I should put the license here, but I will gladly share the > key with you, should you wish to try out PhpStrom for yourself. > > See also http://www.jetbrains.com/phpstorm/ > > And this is the official answer to my application: > > Hello Tom, > > Thank you for your interest in JetBrains' PhpStorm. > > We have approved your request and sent the license key to your email > in a separate message. Please, feel free to share the key with other > contributors to the project. The license will work for one year and > covers all new versions released before the license expiration date. > > Should you have any further questions, please, don't hesitate to > contact me, I'll be happy to help. Good luck with your project! > > Have a great day) > > Kind regards, > > Nadya Kudryavtseva > Community Support Coordinator > JetBrains, s.r.o. > http://www.jetbrains.com/ > "Develop with pleasure!" > > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Oct 18 09:12:23 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 18 Oct 2012 09:12:23 +0100 Subject: [Xerte-dev] FW: Xerte Project Annual General Meeting videos on YouTube (links) Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> From: Hanford Sally Sent: 17 October 2012 13:43 To: Tenney Julian Subject: Xerte Project Annual General Meeting videos on YouTube (links) Hi Julian Here are the YouTube links for the Xerte AGM recordings: 1. Wyn Morgan, Amber Thomas and Julian Tenney and Ron Mitchell: http://www.youtube.com/watch?v=PAM5zQZ_BvI 2. Tom Reijnders talking about the technical work to bring internationalisation to the software: http://www.youtube.com/watch?v=_GjnYCOMuYI 3. Johnathan Kemp: www.youtube.com/watch?v=vdiwRsxoViQ 4. Fay Cross and Alistair McNaught: http://www.youtube.com/watch?v=az7SMFlge1s 5. Inge Donkervoort: http://www.youtube.com/watch?v=8871x_Vo-DY Regards Sally ___________ Sally Hanford Information Services King's Meadow Campus, Lenton Lane, Nottingham NG7 2NR t: 0115 84 66785 w: nottingham.ac.uk [cid:image001.png at 01CDAC53.5D41F880] [cid:image002.png at 01CDAC53.5D41F880] [cid:image003.png at 01CDAC53.5D41F880] [cid:image004.png at 01CDAC53.5D41F880] [cid:image005.jpg at 01CDAC53.5D41F880] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 991 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 1120 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 1621 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 1265 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 3659 bytes Desc: image005.jpg URL: From Julian.Tenney at nottingham.ac.uk Thu Oct 18 11:43:42 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 18 Oct 2012 11:43:42 +0100 Subject: [Xerte-dev] Back BUttons In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F82D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAE58@EXCHANGE1.ad.nottingham.ac.uk> Johnathan, I have just checked into the xerte repository the changes we talked about last week: There is a method rootIcon.setNavigationStyle(style);//'linear' or 'menu' It adjusts the navigation style and switches out the back button for a modified one (not settled on the final graphics yet, but it looks OK) Also a rootIcon.addHomeButton(x,y) method which, well, you've figured that out. It always takes the user to page one of the LO (though this could be parameterised maybe: addHomeButtn(x,y,index);//where index is the page to go to. I think we should do support for switching various buttons around / setting up different interfaces in the engine, rather than the LO code, so you can easily get the nav style and interfcesetup you want by calling (ideally) one method. How would we go about this? I'm around tomorrow, and have some time to look at this, then I'm off all of next week, Example attached, you'll need the files I checked in. I added the 'Home' button string to the en_GB file. So this raises another question about how do we make sure new features are supported in all the languages? Julian From: Kemp Johnathan [mailto:johnathan.kemp at ntlworld.com] Sent: 15 October 2012 11:31 To: Julian Tenney Subject: Re: Navigation changes to Xerte / XOT with respect to Connector Pages Depends if we are also going to have a "Home" button. If so then that would also need creating. I guess the rest is handled in the makePages script so I can take a look at that once the buttons are available. Since the "Historic" navigation style will not offer the Contents button or the Page n of m display, how would you prefer these were handled? Is it acceptable to you that the Contents button is hidden in this situation rather than just disabled? Kind regards Johnathan On 15 October 2012 09:33, Julian Tenney > wrote: Cheers, I'll look at it later in the week, the setNavigationStyle() is still in the code, and the historical code is just commented out, so all that needs to happen from my point of view is to make a different looking back (rather than prev) button, and switch it out when the function gets called, right? From: Kemp Johnathan [mailto:johnathan.kemp at ntlworld.com] Sent: 13 October 2012 16:19 To: Julian Tenney Subject: Navigation changes to Xerte / XOT with respect to Connector Pages Hello Julian, Thanks once again for arranging such a useful event. Following on from the discussions regarding the Xerte Navigation options and the Connector pages you asked me remind you as to what changes needed making. A new option for the Learning Object Navigation attribute of "Historic" This option would provide a Home Button, a Back Button (Historic) and a Next button (linear). The Contents button and Progress display (page n of m) would not be displayed. The back button would display a different symbol to that used by the current linear back button. Other buttons such as the help and media buttons would not be affected. At present I use the following code to disable the buttons based on attributes in the xwd form // next button and continue button if (nextSet != undefined){ rootIcon.nextBtn.setEnabled(nextSet); rootIcon.contButton.setEnabled(nextSet); } // back button if (backSet != undefined){ rootIcon.backBtn.setEnabled(backSet); } // table of contents if (tocSet != undefined){ rootIcon.tocBtn.setEnabled(tocSet); } If you could let me know what calls I will need to make to enable / disable the home button and linear back buttons I will then mock up some demonstration xwds for a connector page to show how the Author might be given choices to control which buttons are displayed or hidden. Then you will be in a better position to decide how you would prefer this was handled in the xwd forms. I will try to keep this as simple as possible, but am aware that I am currently trying to both keep it simple and give users the flexibility that some will want to have.. Kind regards Johnathan This message and any attachment are intended solely 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: back.rlo Type: application/octet-stream Size: 1016 bytes Desc: back.rlo URL: From Fay.Cross at nottingham.ac.uk Thu Oct 18 14:09:18 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 18 Oct 2012 14:09:18 +0100 Subject: [Xerte-dev] Adding phrases to the language files In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAE58@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F82D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAE58@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Probably a question for Tom. There are a few extra words/phrases that I'm using in the HTML5 version that aren't in the Flash version. What language file should I add these too? They're things for the interface rather than individual pages. Shall I just add them to the engine_en-GB.xml file in xerte svn/runtime/languages? Or is there somewhere else too? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu Oct 18 14:21:36 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 18 Oct 2012 14:21:36 +0100 Subject: [Xerte-dev] Re: Adding phrases to the language files In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F82D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAE58@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAF94@EXCHANGE1.ad.nottingham.ac.uk> Add them to the same file the flash engine uses, unless (I can't think of one) there is a good reason not to? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 18 October 2012 14:09 To: For Xerte technical developers Subject: [Xerte-dev] Adding phrases to the language files Probably a question for Tom. There are a few extra words/phrases that I'm using in the HTML5 version that aren't in the Flash version. What language file should I add these too? They're things for the interface rather than individual pages. Shall I just add them to the engine_en-GB.xml file in xerte svn/runtime/languages? Or is there somewhere else too? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu Oct 18 14:53:19 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 18 Oct 2012 15:53:19 +0200 Subject: [Xerte-dev] Re: Adding phrases to the language files In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAF94@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F22F82D@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAE58@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F3AAF94@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <508009CF.8070306@tor.nl> Yes, they should be in the engine files. Just add them to the engine_en-GB.xml file. The individual maintainers of the language files should pick thme up from there. Tom Op 18-10-2012 15:21, Julian Tenney schreef: > > Add them to the same file the flash engine uses, unless (I can't think > of one) there is a good reason not to? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Fay Cross > *Sent:* 18 October 2012 14:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Adding phrases to the language files > > Probably a question for Tom. > > There are a few extra words/phrases that I'm using in the HTML5 > version that aren't in the Flash version. What language file should I > add these too? They're things for the interface rather than > individual pages. > > Shall I just add them to the engine_en-GB.xml file in xerte > svn/runtime/languages? Or is there somewhere else too? > > Thanks > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Oct 19 08:37:41 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 08:37:41 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , Message-ID: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: > Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. > > -----Original Message----- > From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] > Sent: 14 October 2012 17:26 > To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; > ronm at mitchellmedia.co.uk; reijnders at tor.nl > Subject: Xenith/XOT Glossary regexps > Importance: High > > Hi guys, > > Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... > > Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... > > I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: > > // function makes every glossary word found into a link function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k // ** see recent emails on list about regular expression stuff ** > //var regExp = new RegExp(" " + glossary[k].word + " ", > "ig"); > > var regExp = new RegExp('\\s' + glossary[k].word + > '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); > > temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); > } > node.nodeValue = temp; > } > > and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... > > Will start adding to the list soon... > > 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,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 > > This message and any attachment are intended solely 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 _______________________________________________ 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 -------------- A non-text attachment was scrubbed... Name: glossary.png Type: image/png Size: 27397 bytes Desc: glossary.png URL: From reijnders at tor.nl Fri Oct 19 09:13:02 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 19 Oct 2012 10:13:02 +0200 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , Message-ID: <50810B8E.1080607@tor.nl> John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: > Hi Fay, > > Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! > > Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. > > > // function makes every glossary word found into a link > function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'gi'); > temp = temp.replace(regExp, '$1$2$3'); > } > node.nodeValue = temp; > } > > > Again this has only been tested with Xenith code. It's also thrown up other questions such as: > > 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? > 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? > > 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 Fay Cross [Fay.Cross at nottingham.ac.uk] > Sent: 17 October 2012 09:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). > > > -----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: 15 October 2012 18:48 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! > > Will look on my return unless its solved beforehand... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Pat Lockley wrote: > > > Don't think that regexp works if the word is the first thing in a sentence > > On 15 Oct 2012, at 07:10, Julian Tenney wrote: > >> Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. >> >> -----Original Message----- >> From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] >> Sent: 14 October 2012 17:26 >> To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; >> ronm at mitchellmedia.co.uk; reijnders at tor.nl >> Subject: Xenith/XOT Glossary regexps >> Importance: High >> >> Hi guys, >> >> Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... >> >> Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... >> >> I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: >> >> // function makes every glossary word found into a link function insertGlossaryTag(node) { >> var temp = node.nodeValue; >> for (var k=0; k> // ** see recent emails on list about regular expression stuff ** >> //var regExp = new RegExp(" " + glossary[k].word + " ", >> "ig"); >> >> var regExp = new RegExp('\\s' + glossary[k].word + >> '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); >> >> temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); >> } >> node.nodeValue = temp; >> } >> >> and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... >> >> Will start adding to the list soon... >> >> 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,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 >> >> This message and any attachment are intended solely 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 > _______________________________________________ > 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. > -- -- 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 Oct 19 09:30:33 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 19 Oct 2012 09:30:33 +0100 Subject: [Xerte-dev] Friday Problem: Any ideas Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A61@EXCHANGE1.ad.nottingham.ac.uk> Have you got any idea how we could tackle this problem: Background: Supervising students in a lab is a PITA because there are so many of them. Typically, supervisor walks around the room talking to students about what they are seeing happening, and makes sure they're seeing the right things and deducing the right conclusions for the right reasons. Proposal: iPads. Student works through some preconfigured worksheet (capable of equations / formulae) on an iPad during the lab session. Supervisor has the ability to see all of the student's individual documents from his iPad, and provide comments to the student as required over the wi-fi. Comments are ephemeral, and disappear once closed, must support a dialog between the student and supervisor. Supervisor can look in at any student's doc at any time. I want to tackle this with existing tools, or some very lightweight development to join up some technologies, not a custom built project from scratch. -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Oct 19 09:33:51 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 09:33:51 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Message-ID: Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 Oct 19 09:47:01 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 19 Oct 2012 09:47:01 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk> > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 Fri Oct 19 09:59:04 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 19 Oct 2012 09:59:04 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk> References: , <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Thanks John, will try your new code in html5 version later today. I agree with Tom that it shouldn't look for plurals too. I might change my code so that only the first instance of a particular word on a page gets made into a link so pages don't get covered with links to the same word's definition. I'm not sure if this would be a problem or not. I haven't had a chance to look at what you did on the drag and drop yet but will try to have a look at this later too. ________________________________________ 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: 19 October 2012 09:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 Fri Oct 19 10:09:09 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 10:09:09 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Message-ID: Hi Have rethought the whole scroll to other term idea and could get annoying if you have multiple terms in same definition and no way to go back. Perhaps just the same popup on the terms as in the body of the text. Fay - yeah one definition per page might be a good idea. I think simply removing the global (g) option should solve this. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: Thanks John, will try your new code in html5 version later today. I agree with Tom that it shouldn't look for plurals too. I might change my code so that only the first instance of a particular word on a page gets made into a link so pages don't get covered with links to the same word's definition. I'm not sure if this would be a problem or not. I haven't had a chance to look at what you did on the drag and drop yet but will try to have a look at this later too. ________________________________________ 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: 19 October 2012 09:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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 Universi Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 Fri Oct 19 10:16:29 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 19 Oct 2012 11:16:29 +0200 Subject: [Xerte-dev] Issue with XOT18 and permissions Message-ID: <50811A6D.3030406@tor.nl> I've got a local install of the SVN version of XOT (latest) Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Fri Oct 19 10:48:50 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 19 Oct 2012 10:48:50 +0100 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <50811A6D.3030406@tor.nl> References: <50811A6D.3030406@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4B23@EXCHANGE1.ad.nottingham.ac.uk> I don't know the answer, but this came up before? -----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: 19 October 2012 10:16 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Issue with XOT18 and permissions I've got a local install of the SVN version of XOT (latest) Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? 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 From ronm at mitchellmedia.co.uk Fri Oct 19 11:41:22 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 19 Oct 2012 11:41:22 +0100 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <50811A6D.3030406@tor.nl> References: <50811A6D.3030406@tor.nl> Message-ID: <011401cdade6$49083390$db189ab0$@co.uk> I've never seen that using static, guest or moodle authentication Tom but I have seen it on the Techdis sandpit which also uses db authentication although is 1.7 rather than 1.8. In fact what happens on the sandpit sometimes (mainly when using IE I think) is that when you first login you see lots of LO's not just your own, but can't do anything with them and then have to refresh and login again and then it works. So this sounds similar to what you have reported with 1.8. Sorry that doesn't give the cause/solution but I've certainly not seen the same thing with any of the other authentication methods so it does suggest something not quite right with the db method. 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: 19 October 2012 10:16 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Issue with XOT18 and permissions I've got a local install of the SVN version of XOT (latest) Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? 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 Fri Oct 19 14:02:31 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 14:02:31 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk>, Message-ID: Hi Fay, Yes, have confirmed that simply removing the global (g) flag from the regular expression means that only the first instance (per page) is highlighted (see screenshot 1). var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'i'); Although I suppose that this could be incorporated as an option when creating the glossary? But it might be pointless, if as Julian points out that not many people define a glossary. IDEA FOR CONSIDERATION: Not knowing the xot code very well I can't answer this question but would it be possible to build a huge shared glossary across all LOs and then have some code that imported only those that are present in that particular LO? Making it as easy as possible for people and removing the repetition might allow better use and a controllable glossary gets around the problems associated with just linking to online definitions... Also, is "Glossary" a universal term? It's hardcoded here (in xenith.js) but should this be moved to the engine language file? openDialog("glossary", "Glossary"); 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 19 October 2012 09:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks John, will try your new code in html5 version later today. I agree with Tom that it shouldn't look for plurals too. I might change my code so that only the first instance of a particular word on a page gets made into a link so pages don't get covered with links to the same word's definition. I'm not sure if this would be a problem or not. I haven't had a chance to look at what you did on the drag and drop yet but will try to have a look at this later too. ________________________________________ 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: 19 October 2012 09:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 -------------- A non-text attachment was scrubbed... Name: glossary.png Type: image/png Size: 31976 bytes Desc: glossary.png URL: From Fay.Cross at nottingham.ac.uk Fri Oct 19 14:25:05 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 19 Oct 2012 14:25:05 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk>, , Message-ID: Yes, I made the language changes yesterday actually (new files in svn) as I had a feeling I had a few hard coded things in there. All the phrases now come from the language files. I think the shared glossary thing has been raised in the past but it's not as simple as it seems. A word may have one meaning in one subject and a completely different meaning in another - I guess you could have a way to let the author choose whether to use the definition someone else has added or write their own but it does get quite complicated going down that route. ________________________________________ 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: 19 October 2012 14:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Fay, Yes, have confirmed that simply removing the global (g) flag from the regular expression means that only the first instance (per page) is highlighted (see screenshot 1). var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'i'); Although I suppose that this could be incorporated as an option when creating the glossary? But it might be pointless, if as Julian points out that not many people define a glossary. IDEA FOR CONSIDERATION: Not knowing the xot code very well I can't answer this question but would it be possible to build a huge shared glossary across all LOs and then have some code that imported only those that are present in that particular LO? Making it as easy as possible for people and removing the repetition might allow better use and a controllable glossary gets around the problems associated with just linking to online definitions... Also, is "Glossary" a universal term? It's hardcoded here (in xenith.js) but should this be moved to the engine language file? openDialog("glossary", "Glossary"); 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 19 October 2012 09:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks John, will try your new code in html5 version later today. I agree with Tom that it shouldn't look for plurals too. I might change my code so that only the first instance of a particular word on a page gets made into a link so pages don't get covered with links to the same word's definition. I'm not sure if this would be a problem or not. I haven't had a chance to look at what you did on the drag and drop yet but will try to have a look at this later too. ________________________________________ 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: 19 October 2012 09:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 Fay.Cross at nottingham.ac.uk Fri Oct 19 16:28:56 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 19 Oct 2012 16:28:56 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A92@EXCHANGE1.ad.nottingham.ac.uk>, , , Message-ID: I've just added your regExp in and I can't break it now! I've had to change the code slightly elsewhere when it finds the matching definition as the word isn't necessarily lower case any more but apart from that it seems perfect to me. Thanks for your help with this. ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 19 October 2012 14:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Yes, I made the language changes yesterday actually (new files in svn) as I had a feeling I had a few hard coded things in there. All the phrases now come from the language files. I think the shared glossary thing has been raised in the past but it's not as simple as it seems. A word may have one meaning in one subject and a completely different meaning in another - I guess you could have a way to let the author choose whether to use the definition someone else has added or write their own but it does get quite complicated going down that route. ________________________________________ 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: 19 October 2012 14:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Fay, Yes, have confirmed that simply removing the global (g) flag from the regular expression means that only the first instance (per page) is highlighted (see screenshot 1). var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'i'); Although I suppose that this could be incorporated as an option when creating the glossary? But it might be pointless, if as Julian points out that not many people define a glossary. IDEA FOR CONSIDERATION: Not knowing the xot code very well I can't answer this question but would it be possible to build a huge shared glossary across all LOs and then have some code that imported only those that are present in that particular LO? Making it as easy as possible for people and removing the repetition might allow better use and a controllable glossary gets around the problems associated with just linking to online definitions... Also, is "Glossary" a universal term? It's hardcoded here (in xenith.js) but should this be moved to the engine language file? openDialog("glossary", "Glossary"); 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 19 October 2012 09:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks John, will try your new code in html5 version later today. I agree with Tom that it shouldn't look for plurals too. I might change my code so that only the first instance of a particular word on a page gets made into a link so pages don't get covered with links to the same word's definition. I'm not sure if this would be a problem or not. I haven't had a chance to look at what you did on the drag and drop yet but will try to have a look at this later too. ________________________________________ 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: 19 October 2012 09:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? Nice idea. In my experience, not many people take the time to add a highly detailed glossary, and the glossary is only as good as it's list of definitions, and one problem is recreating it for every LO. It would be worth seeing if there is any open dictionary service, say, that would make it easy to look up *any* word (but I know there are problems with that because of context). However, that's a separate 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: 19 October 2012 09:34 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom Yes, that's what i thought but just thought i'd check. I think the best way is if content authors define plurals in the glossary if required. This possibly leads to another question: should glossary terms that appear in glossary descriptions be hyperlinked to their relevant glossary item? For example if you had the glossary open and the first definition mentions xerte then should xerte be hyperlinked and if you click on it then the glossary scrolls down to xerte? Would anyone find that to be useful functionality that I could\should work on? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: John, Yes, I think this regexp is usable in xot as well. I'll implement it and will test it. With regards to your second remark, my vote would be not to do this, because the way plurals are formed is different from language to language. Regards, Tom Op 19-10-2012 9:37, Smith, John schreef: Hi Fay, Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k$2$3'); } node.nodeValue = temp; } Again this has only been tested with Xenith code. It's also thrown up other questions such as: 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? 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 Fay Cross [Fay.Cross at nottingham.ac.uk] Sent: 17 October 2012 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). -----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: 15 October 2012 18:48 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! Will look on my return unless its solved beforehand... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Pat Lockley wrote: Don't think that regexp works if the word is the first thing in a sentence On 15 Oct 2012, at 07:10, Julian Tenney wrote: Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. -----Original Message----- From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] Sent: 14 October 2012 17:26 To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; ronm at mitchellmedia.co.uk; reijnders at tor.nl Subject: Xenith/XOT Glossary regexps Importance: High Hi guys, Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: // function makes every glossary word found into a link function insertGlossaryTag(node) { var temp = node.nodeValue; for (var k=0; k' + glossary[k].word + ' '); } node.nodeValue = temp; } and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... Will start adding to the list soon... 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,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 This message and any attachment are intended solely 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 _______________________________________________ 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. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From patrick.lockley at googlemail.com Fri Oct 19 16:31:51 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 19 Oct 2012 08:31:51 -0700 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <50811A6D.3030406@tor.nl> References: <50811A6D.3030406@tor.nl> Message-ID: Sounds like the session isn't being set properly On 19 Oct 2012, at 02:16, Tom Reijnders wrote: > I've got a local install of the SVN version of XOT (latest) > > Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. > > If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? > > 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 patrick.lockley at googlemail.com Fri Oct 19 16:28:41 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 19 Oct 2012 08:28:41 -0700 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: Message-ID: <420ECE7C-897C-40EA-A5A5-FBDAC8C44B94@googlemail.com> What if the word is in a URL? On 19 Oct 2012, at 00:37, "Smith, John" wrote: > Hi Fay, > > Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! > > Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. > > > // function makes every glossary word found into a link > function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'gi'); > temp = temp.replace(regExp, '$1$2$3'); > } > node.nodeValue = temp; > } > > > Again this has only been tested with Xenith code. It's also thrown up other questions such as: > > 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? > 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? > > 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 Fay Cross [Fay.Cross at nottingham.ac.uk] > Sent: 17 October 2012 09:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). > > > -----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: 15 October 2012 18:48 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! > > Will look on my return unless its solved beforehand... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Pat Lockley wrote: > > > Don't think that regexp works if the word is the first thing in a sentence > > On 15 Oct 2012, at 07:10, Julian Tenney wrote: > >> Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. >> >> -----Original Message----- >> From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] >> Sent: 14 October 2012 17:26 >> To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; >> ronm at mitchellmedia.co.uk; reijnders at tor.nl >> Subject: Xenith/XOT Glossary regexps >> Importance: High >> >> Hi guys, >> >> Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... >> >> Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... >> >> I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: >> >> // function makes every glossary word found into a link function insertGlossaryTag(node) { >> var temp = node.nodeValue; >> for (var k=0; k> // ** see recent emails on list about regular expression stuff ** >> //var regExp = new RegExp(" " + glossary[k].word + " ", >> "ig"); >> >> var regExp = new RegExp('\\s' + glossary[k].word + >> '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); >> >> temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); >> } >> node.nodeValue = temp; >> } >> >> and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... >> >> Will start adding to the list soon... >> >> 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,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 >> >> This message and any attachment are intended solely 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 > _______________________________________________ > 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 patrick.lockley at googlemail.com Fri Oct 19 16:33:31 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Fri, 19 Oct 2012 08:33:31 -0700 Subject: [Xerte-dev] Re: Friday Problem: Any ideas In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A61@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F4A4A61@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5972EA9D-7BB1-4BB6-AFF3-19781D773CC7@googlemail.com> Sounds like etherpad? On 19 Oct 2012, at 01:30, Julian Tenney wrote: > Have you got any idea how we could tackle this problem: > > Background: Supervising students in a lab is a PITA because there are so many of them. Typically, supervisor walks around the room talking to students about what they are seeing happening, and makes sure they?re seeing the right things and deducing the right conclusions for the right reasons. > > Proposal: iPads. Student works through some preconfigured worksheet (capable of equations / formulae) on an iPad during the lab session. Supervisor has the ability to see all of the student?s individual documents from his iPad, and provide comments to the student as required over the wi-fi. Comments are ephemeral, and disappear once closed, must support a dialog between the student and supervisor. Supervisor can look in at any student?s doc at any time. > > I want to tackle this with existing tools, or some very lightweight development to join up some technologies, not a custom built project from scratch. > > > This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri Oct 19 16:43:24 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 16:43:24 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: <420ECE7C-897C-40EA-A5A5-FBDAC8C44B94@googlemail.com> References: , <420ECE7C-897C-40EA-A5A5-FBDAC8C44B94@googlemail.com> Message-ID: Hi Tom It needs to have some whitespace (except if first word) before it but thinking about it if the word is a valid html tag option name or a word in an html tag option setting then I suppose it might break part of the page... if anyone can come up with any examples that break the regular expression then I can work with that. Didn't include any lookbehind in case it wasn't supported in older browsers. 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 Lockley [patrick.lockley at googlemail.com] Sent: 19 October 2012 16:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps What if the word is in a URL? On 19 Oct 2012, at 00:37, "Smith, John" wrote: > Hi Fay, > > Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! > > Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. > > > // function makes every glossary word found into a link > function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'gi'); > temp = temp.replace(regExp, '$1$2$3'); > } > node.nodeValue = temp; > } > > > Again this has only been tested with Xenith code. It's also thrown up other questions such as: > > 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? > 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? > > 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 Fay Cross [Fay.Cross at nottingham.ac.uk] > Sent: 17 October 2012 09:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). > > > -----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: 15 October 2012 18:48 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! > > Will look on my return unless its solved beforehand... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Pat Lockley wrote: > > > Don't think that regexp works if the word is the first thing in a sentence > > On 15 Oct 2012, at 07:10, Julian Tenney wrote: > >> Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. >> >> -----Original Message----- >> From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] >> Sent: 14 October 2012 17:26 >> To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; >> ronm at mitchellmedia.co.uk; reijnders at tor.nl >> Subject: Xenith/XOT Glossary regexps >> Importance: High >> >> Hi guys, >> >> Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... >> >> Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... >> >> I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: >> >> // function makes every glossary word found into a link function insertGlossaryTag(node) { >> var temp = node.nodeValue; >> for (var k=0; k> // ** see recent emails on list about regular expression stuff ** >> //var regExp = new RegExp(" " + glossary[k].word + " ", >> "ig"); >> >> var regExp = new RegExp('\\s' + glossary[k].word + >> '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); >> >> temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); >> } >> node.nodeValue = temp; >> } >> >> and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... >> >> Will start adding to the list soon... >> >> 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,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 >> >> This message and any attachment are intended solely 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 > _______________________________________________ > 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 This message and any attachment are intended solely 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 Fri Oct 19 16:44:23 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 19 Oct 2012 16:44:23 +0100 Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps In-Reply-To: References: , <420ECE7C-897C-40EA-A5A5-FBDAC8C44B94@googlemail.com>, Message-ID: Sorry Pat!! Too much going on in background! 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: 19 October 2012 16:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps Hi Tom It needs to have some whitespace (except if first word) before it but thinking about it if the word is a valid html tag option name or a word in an html tag option setting then I suppose it might break part of the page... if anyone can come up with any examples that break the regular expression then I can work with that. Didn't include any lookbehind in case it wasn't supported in older browsers. 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 Lockley [patrick.lockley at googlemail.com] Sent: 19 October 2012 16:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps What if the word is in a URL? On 19 Oct 2012, at 00:37, "Smith, John" wrote: > Hi Fay, > > Greetings from Czeck Republic!! Yes, sorry, I got a bit carried away and didn't read the brief correctly or do sufficient testing!! > > Anyway, I think I have cracked it and now have a regular expression that 'seems' to work as desired (in my testing anyway!!) but will need to be tested with real life data that I don't have access to so i'm putting it out there to see if anyone can break it. It also only uses a single glossary term and 3 capture groups to capture the before and after parts (which may be nothing - using the ^ and $) and the actual term (so that we maintain the case). It also handles some punctuation (this can easily be expanded upon). This means that it may even be suitable for xot also. > > > // function makes every glossary word found into a link > function insertGlossaryTag(node) { > var temp = node.nodeValue; > for (var k=0; k var regExp = new RegExp('(^|\\s)(' + glossary[k].word + ')([\\s\\.,!?]|$)', 'gi'); > temp = temp.replace(regExp, '$1$2$3'); > } > node.nodeValue = temp; > } > > > Again this has only been tested with Xenith code. It's also thrown up other questions such as: > > 1. Should it match the first or second part of a hyphenated word: not a real life example but cat-fish for example? > 2. How should it handle plurals, if even at all: such at cats. It could have 's' and 'es' etc added to the punctuation group so would hyperlink cat but with a letter s afterwards, still not hyperlinked which would be fine? > > 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 Fay Cross [Fay.Cross at nottingham.ac.uk] > Sent: 17 October 2012 09:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thanks for looking into this John. I'm just looking at the code you sent and you're right it doesn't take punctuation into account. It works when the word is at the beginning or end of a sentence, with or without a space immediately before or after but whenever there's punctuation next to it (cat. cat? etc.) it just gets replaced with cat and the punctuation is lost. Also, longer words that start with a word from the glossary get replaced with the shorter glossary word (e.g. category becomes cat). > > > -----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: 15 October 2012 18:48 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: FW: Xenith/XOT Glossary regexps > > Thinking about it over dinner though I've not taken ending punctuation into consideration - beginners mistake!! > > Will look on my return unless its solved beforehand... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Pat Lockley wrote: > > > Don't think that regexp works if the word is the first thing in a sentence > > On 15 Oct 2012, at 07:10, Julian Tenney wrote: > >> Just forwarding this to the list for everyone's info: Fay can use it in the Xenith code, I'm not sure if I can integrate it into engine as this is (I guess) javascript and not the actionscript RegExp engine (although the expressions should work in both...). I'll try.. >> >> -----Original Message----- >> From: Smith, John [mailto:J.J.Smith at gcu.ac.uk] >> Sent: 14 October 2012 17:26 >> To: julian.tenney at nottingham.ac.uk; Fay.Cross at nottingham.ac.uk; >> ronm at mitchellmedia.co.uk; reijnders at tor.nl >> Subject: Xenith/XOT Glossary regexps >> Importance: High >> >> Hi guys, >> >> Great to meet you all and I've been looking through the xenith code to see where I can contribute. Also, have been looking through the archives and came across the regexp problem for the glossary. Since i'm only today on the list proper not sure whether a reply will go through to the correct place so sending to you all to see if it helps... >> >> Not sure whether this has been fixed yet but it seems the problem is partly caused by /b requiring a word boundary and there being no word boundary on the very first word. Also, seem to remember somewhere that /b can in some cases match international characters in the middle of words which might not be the desired effect... >> >> I have changed the regexp to this "\sTERM[^\s]*|^TERM[^\s]*" in the xenith.js code as so: >> >> // function makes every glossary word found into a link function insertGlossaryTag(node) { >> var temp = node.nodeValue; >> for (var k=0; k> // ** see recent emails on list about regular expression stuff ** >> //var regExp = new RegExp(" " + glossary[k].word + " ", >> "ig"); >> >> var regExp = new RegExp('\\s' + glossary[k].word + >> '[^\\s]*|^' + glossary[k].word + '[^\\s]*', 'gi'); >> >> temp = temp.replace(regExp, ' ' + glossary[k].word + ' '); >> } >> node.nodeValue = temp; >> } >> >> and now it seems to match all the words, no matter where they are and irrespective of spaces. See attached screenshots - you can see there are no spaces before any words and only some have a space after. Probably needs further testing to go into xot though... >> >> Will start adding to the list soon... >> >> 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,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 >> >> This message and any attachment are intended solely 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 > _______________________________________________ > 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 This message and any attachment are intended solely 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 J.J.Smith at gcu.ac.uk Sat Oct 20 16:25:56 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sat, 20 Oct 2012 16:25:56 +0100 Subject: [Xerte-dev] Question about workflow when working with the Xerte branch code Message-ID: Hi, Looking for a bit of advice here about how you all work on developing the trunk code. I've only been working on the Xenith code so far, but have just checked it out and then copied to the webroot so that I can run it from localhost. However when it comes to XOT there's slightly more needs done to take care of permissions and possibly update to the database. Now I'm going to have xot installed on a server back in Glasgow but want to work on improving the code if required and this is where i'm wondering what other people do... Do you check the source out of the SVN straight onto a server (or to a laptop/desktop to work on and copy from there to the server) and then what do you do each time you do this to make sure everything still runs? I'm assuming that most people will have a stable production server running the branch and then have a development one either on the same server or locally on a desktop/laptop - am I right? Also, regarding desktop Xerte, what tools do I need to run/compile the source for this? Just Flex or anything else? I'd rather get this right from the start so that I can spend more time developing rather than debugging my setup problems so any advice welcome!! 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 J.J.Smith at gcu.ac.uk Sat Oct 20 16:32:59 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sat, 20 Oct 2012 16:32:59 +0100 Subject: [Xerte-dev] Question about test files Message-ID: Hi, Sorry, thought I would post this as a second question to keep it separate. This thought just came to me while testing the regular expression code for Xerte - I don't really have any 'real world' data.xml files to test that changes that are being made still cover all eventualities and that existing LOs still work. Is there a collection of 'test' xml and media files that cover all functionality of the engine or could we create one so that anyone just starting to get involved (like me) has a variety of these to test their changes? 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 ronm at mitchellmedia.co.uk Sat Oct 20 18:34:52 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Sat, 20 Oct 2012 18:34:52 +0100 Subject: [Xerte-dev] Re: Question about workflow when working with the Xerte branch code In-Reply-To: References: Message-ID: <000c01cdaee9$3749f860$a5dde920$@co.uk> Hi John I suspect everyone works slightly differently so I'm not sure there's a definitive answer but I'll summarise what I tend to do... Checkout XOT and Xerte svn's to local copies on ext HDD Export XOT to one or more localhost installations and test locally Where appropriate also maintain a production and test install on live servers e.g. for testing updates on live server after first testing locally Copy any changes back to local svn files and commit from there For Xerte 2 again I tend to work with an exported copy and also export the runtime folder to the local programme files installation You don't need Flex for Xerte 2 - just Xerte desktop and perhaps your chosen script editor. Obviously if you plan to make changes to the various .fla files you'll need Flash Xerte 3 is a different kettle of fish but It's only really Julian who messes with that! ;-) 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: 20 October 2012 16:26 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Question about workflow when working with the Xerte branch code Importance: High Hi, Looking for a bit of advice here about how you all work on developing the trunk code. I've only been working on the Xenith code so far, but have just checked it out and then copied to the webroot so that I can run it from localhost. However when it comes to XOT there's slightly more needs done to take care of permissions and possibly update to the database. Now I'm going to have xot installed on a server back in Glasgow but want to work on improving the code if required and this is where i'm wondering what other people do... Do you check the source out of the SVN straight onto a server (or to a laptop/desktop to work on and copy from there to the server) and then what do you do each time you do this to make sure everything still runs? I'm assuming that most people will have a stable production server running the branch and then have a development one either on the same server or locally on a desktop/laptop - am I right? Also, regarding desktop Xerte, what tools do I need to run/compile the source for this? Just Flex or anything else? I'd rather get this right from the start so that I can spend more time developing rather than debugging my setup problems so any advice welcome!! 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 _______________________________________________ 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 patrick.lockley at googlemail.com Sat Oct 20 18:35:33 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sat, 20 Oct 2012 10:35:33 -0700 Subject: [Xerte-dev] Re: Question about workflow when working with the Xerte branch code In-Reply-To: <000c01cdaee9$3749f860$a5dde920$@co.uk> References: <000c01cdaee9$3749f860$a5dde920$@co.uk> Message-ID: <4BDB0801-68C2-43C0-8BE3-A870CFA0AAF9@googlemail.com> I have the svn as a folder, but I only really ever make changes in branches - I think trunk reflects the live zip? On 20 Oct 2012, at 10:34, "Ron Mitchell" wrote: > Hi John > I suspect everyone works slightly differently so I'm not sure there's a definitive answer but I'll summarise what I tend to do... > > Checkout XOT and Xerte svn's to local copies on ext HDD > Export XOT to one or more localhost installations and test locally > Where appropriate also maintain a production and test install on live servers e.g. for testing updates on live server after first testing locally > Copy any changes back to local svn files and commit from there > For Xerte 2 again I tend to work with an exported copy and also export the runtime folder to the local programme files installation > You don't need Flex for Xerte 2 - just Xerte desktop and perhaps your chosen script editor. Obviously if you plan to make changes to the various .fla files you'll need Flash > Xerte 3 is a different kettle of fish but It's only really Julian who messes with that! ;-) > 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: 20 October 2012 16:26 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Question about workflow when working with the Xerte branch code > Importance: High > > Hi, > > Looking for a bit of advice here about how you all work on developing the trunk code. > > I've only been working on the Xenith code so far, but have just checked it out and then copied to the webroot so that I can run it from localhost. However when it comes to XOT there's slightly more needs done to take care of permissions and possibly update to the database. Now I'm going to have xot installed on a server back in Glasgow but want to work on improving the code if required and this is where i'm wondering what other people do... > > Do you check the source out of the SVN straight onto a server (or to a laptop/desktop to work on and copy from there to the server) and then what do you do each time you do this to make sure everything still runs? I'm assuming that most people will have a stable production server running the branch and then have a development one either on the same server or locally on a desktop/laptop - am I right? > > Also, regarding desktop Xerte, what tools do I need to run/compile the source for this? Just Flex or anything else? > > I'd rather get this right from the start so that I can spend more time developing rather than debugging my setup problems so any advice welcome!! > > 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 > _______________________________________________ > 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 patrick.lockley at googlemail.com Sat Oct 20 18:36:40 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sat, 20 Oct 2012 10:36:40 -0700 Subject: [Xerte-dev] Re: Question about test files In-Reply-To: References: Message-ID: Www.nottingham.ac.uk/toolkits/export_560 should work and give you a big test file On 20 Oct 2012, at 08:32, "Smith, John" wrote: > Hi, > > Sorry, thought I would post this as a second question to keep it separate. > > This thought just came to me while testing the regular expression code for Xerte - I don't really have any 'real world' data.xml files to test that changes that are being made still cover all eventualities and that existing LOs still work. > > Is there a collection of 'test' xml and media files that cover all functionality of the engine or could we create one so that anyone just starting to get involved (like me) has a variety of these to test their changes? > > 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 > _______________________________________________ > 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 Sat Oct 20 19:05:04 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 20 Oct 2012 20:05:04 +0200 Subject: [Xerte-dev] Re: Question about workflow when working with the Xerte branch code In-Reply-To: References: Message-ID: <5082E7D0.60707@tor.nl> Hi John, For Xerte2, if you change the .fla files, please don't check those in, or make sure you have flash 8 lying around. Otherwise The Nottingham people can't do anything with that anymore. For XOT, you can't use a svn checkout directly. You have to export the svn to a server. That is what I tend to do. I just asked Simon what development environment he uses, and he uses phpstorm. We have a license of that, ask me, if you want a copy. I've just started setting it up, and so far I am impressed (after it's setup correctly, which takes some time) 1. Local svn copy on local machine 2. Deploy on remote server (linux in my case) 3. Debug remote server, through ide 4. Update and commit directly from the IDE. Tom Op 20-10-2012 17:25, Smith, John schreef: > Hi, > > Looking for a bit of advice here about how you all work on developing the trunk code. > > I've only been working on the Xenith code so far, but have just checked it out and then copied to the webroot so that I can run it from localhost. However when it comes to XOT there's slightly more needs done to take care of permissions and possibly update to the database. Now I'm going to have xot installed on a server back in Glasgow but want to work on improving the code if required and this is where i'm wondering what other people do... > > Do you check the source out of the SVN straight onto a server (or to a laptop/desktop to work on and copy from there to the server) and then what do you do each time you do this to make sure everything still runs? I'm assuming that most people will have a stable production server running the branch and then have a development one either on the same server or locally on a desktop/laptop - am I right? > > Also, regarding desktop Xerte, what tools do I need to run/compile the source for this? Just Flex or anything else? > > I'd rather get this right from the start so that I can spend more time developing rather than debugging my setup problems so any advice welcome!! > > 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 > _______________________________________________ > 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 Sat Oct 20 21:00:08 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 20 Oct 2012 22:00:08 +0200 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: References: <50811A6D.3030406@tor.nl> Message-ID: <508302C8.9090908@tor.nl> You're right. I verified that the session is indeed not set. But how come.... 1. Start clean browser, and goto login page (new session is started, right?) 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID 4. Logout 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set 6. Go to properties page and now $_SESSION is set correctly.... I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. Tom Op 19-10-2012 17:31, Pat Lockley schreef: > Sounds like the session isn't being set properly > > On 19 Oct 2012, at 02:16, Tom Reijnders wrote: > >> I've got a local install of the SVN version of XOT (latest) >> >> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >> >> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >> >> 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From patrick.lockley at googlemail.com Sat Oct 20 23:04:23 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sat, 20 Oct 2012 15:04:23 -0700 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <508302C8.9090908@tor.nl> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> Message-ID: <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> The session should be started by config.php I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly Maybe because properties is a new window? Might be that reason? I'd make sure there is nothing before the require config.php in properties.php On 20 Oct 2012, at 13:00, Tom Reijnders wrote: > You're right. > > I verified that the session is indeed not set. But how come.... > 1. Start clean browser, and goto login page (new session is started, right?) > 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set > 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID > 4. Logout > 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set > 6. Go to properties page and now $_SESSION is set correctly.... > > I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. > > By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. > > Tom > > Op 19-10-2012 17:31, Pat Lockley schreef: >> Sounds like the session isn't being set properly >> >> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >> >>> I've got a local install of the SVN version of XOT (latest) >>> >>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>> >>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>> >>> 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 > > -- > -- > > 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 Sun Oct 21 09:31:50 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 21 Oct 2012 10:31:50 +0200 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> Message-ID: <5083B2F6.2090703@tor.nl> It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. Op 21-10-2012 0:04, Pat Lockley schreef: > The session should be started by config.php > > I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly > > Maybe because properties is a new window? Might be that reason? > > I'd make sure there is nothing before the require config.php in properties.php > > On 20 Oct 2012, at 13:00, Tom Reijnders wrote: > >> You're right. >> >> I verified that the session is indeed not set. But how come.... >> 1. Start clean browser, and goto login page (new session is started, right?) >> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >> 4. Logout >> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >> 6. Go to properties page and now $_SESSION is set correctly.... >> >> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >> >> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >> >> Tom >> >> Op 19-10-2012 17:31, Pat Lockley schreef: >>> Sounds like the session isn't being set properly >>> >>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>> >>>> I've got a local install of the SVN version of XOT (latest) >>>> >>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>> >>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>> >>>> 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 >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Sun Oct 21 10:02:17 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 21 Oct 2012 10:02:17 +0100 Subject: [Xerte-dev] Re: Question about workflow when working with the Xerte branch code In-Reply-To: <5082E7D0.60707@tor.nl> References: , <5082E7D0.60707@tor.nl> Message-ID: Hi, Many thanks to everyone who has responded with details about their development setup and it's kind of what I thought anyway that everyone would do things differently depending on what they are working on. I think I'll collate some of the stuff together and make a 'Getting Started' document for the Community site so that anyone else new coming on board can get an idea of what others do. I'll not name anyone in main body of this document (unless you want me to) and just make it generic in case any of it could be used to identify any potential security loopholes, etc. We can always add names at the end if required. Tom - I've not settled on a dev environment yet so yes, if there is potentially a licence available for phpStorm then I wouldn't mind trying it out. Usually I use Eclipse or just TextPad but want to make best use of the time i'll be able to devote to this project. Please contact me off list at jjs (at) gcu.ac.uk 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: 20 October 2012 19:05 To: For Xerte technical developers Subject: [Xerte-dev] Re: Question about workflow when working with the Xerte branch code Hi John, For Xerte2, if you change the .fla files, please don't check those in, or make sure you have flash 8 lying around. Otherwise The Nottingham people can't do anything with that anymore. For XOT, you can't use a svn checkout directly. You have to export the svn to a server. That is what I tend to do. I just asked Simon what development environment he uses, and he uses phpstorm. We have a license of that, ask me, if you want a copy. I've just started setting it up, and so far I am impressed (after it's setup correctly, which takes some time) 1. Local svn copy on local machine 2. Deploy on remote server (linux in my case) 3. Debug remote server, through ide 4. Update and commit directly from the IDE. Tom Op 20-10-2012 17:25, Smith, John schreef: > Hi, > > Looking for a bit of advice here about how you all work on developing the trunk code. > > I've only been working on the Xenith code so far, but have just checked it out and then copied to the webroot so that I can run it from localhost. However when it comes to XOT there's slightly more needs done to take care of permissions and possibly update to the database. Now I'm going to have xot installed on a server back in Glasgow but want to work on improving the code if required and this is where i'm wondering what other people do... > > Do you check the source out of the SVN straight onto a server (or to a laptop/desktop to work on and copy from there to the server) and then what do you do each time you do this to make sure everything still runs? I'm assuming that most people will have a stable production server running the branch and then have a development one either on the same server or locally on a desktop/laptop - am I right? > > Also, regarding desktop Xerte, what tools do I need to run/compile the source for this? Just Flex or anything else? > > I'd rather get this right from the start so that I can spend more time developing rather than debugging my setup problems so any advice welcome!! > > 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 > _______________________________________________ > 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. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the 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 patrick.lockley at googlemail.com Sun Oct 21 13:41:45 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Sun, 21 Oct 2012 13:41:45 +0100 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <5083B2F6.2090703@tor.nl> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> <5083B2F6.2090703@tor.nl> Message-ID: <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> Logout should destroy the session? Maybe it isn't On 21 Oct 2012, at 09:31, Tom Reijnders wrote: > It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. > > > Op 21-10-2012 0:04, Pat Lockley schreef: >> The session should be started by config.php >> >> I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly >> >> Maybe because properties is a new window? Might be that reason? >> >> I'd make sure there is nothing before the require config.php in properties.php >> >> On 20 Oct 2012, at 13:00, Tom Reijnders wrote: >> >>> You're right. >>> >>> I verified that the session is indeed not set. But how come.... >>> 1. Start clean browser, and goto login page (new session is started, right?) >>> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >>> 4. Logout >>> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>> 6. Go to properties page and now $_SESSION is set correctly.... >>> >>> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >>> >>> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >>> >>> Tom >>> >>> Op 19-10-2012 17:31, Pat Lockley schreef: >>>> Sounds like the session isn't being set properly >>>> >>>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>>> >>>>> I've got a local install of the SVN version of XOT (latest) >>>>> >>>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>>> >>>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>>> >>>>> 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 >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > 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 Oct 22 07:37:21 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 22 Oct 2012 08:37:21 +0200 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> <5083B2F6.2090703@tor.nl> <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> Message-ID: <5084E9A1.7080801@tor.nl> Figured it out. It turned out to be my own mistake. The website is internally available as http://server.tor.nl/~tom/xot18 and as https://server.tor.nl/~tom/xot18, with https://server.tor.nl/~tom/xot18 in the sitedetails table. Externally, only the https variant exists, hence the entry in sitedetails. Now, if you open the browser and type in server.tor.nl/~tom/xot18, the browser automatically chooses http://, and that seems to work, until you open a window in XOT that uses the url from sitedetails. Than in prionciple we switch domains, and a new session is started. If you than logout, we end up in the login page on https://, and from then on, everuything works as expected.... Thanks Pat, for not giving up... :-) Tom Op 21-10-2012 14:41, Pat Lockley schreef: > Logout should destroy the session? Maybe it isn't > > On 21 Oct 2012, at 09:31, Tom Reijnders wrote: > >> It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. >> >> >> Op 21-10-2012 0:04, Pat Lockley schreef: >>> The session should be started by config.php >>> >>> I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly >>> >>> Maybe because properties is a new window? Might be that reason? >>> >>> I'd make sure there is nothing before the require config.php in properties.php >>> >>> On 20 Oct 2012, at 13:00, Tom Reijnders wrote: >>> >>>> You're right. >>>> >>>> I verified that the session is indeed not set. But how come.... >>>> 1. Start clean browser, and goto login page (new session is started, right?) >>>> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >>>> 4. Logout >>>> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>> 6. Go to properties page and now $_SESSION is set correctly.... >>>> >>>> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >>>> >>>> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >>>> >>>> Tom >>>> >>>> Op 19-10-2012 17:31, Pat Lockley schreef: >>>>> Sounds like the session isn't being set properly >>>>> >>>>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>>>> >>>>>> I've got a local install of the SVN version of XOT (latest) >>>>>> >>>>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>>>> >>>>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>>>> >>>>>> 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 >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From patrick.lockley at googlemail.com Mon Oct 22 09:15:38 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 22 Oct 2012 09:15:38 +0100 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <5084E9A1.7080801@tor.nl> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> <5083B2F6.2090703@tor.nl> <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> <5084E9A1.7080801@tor.nl> Message-ID: <7939A31A-20F3-4278-A14E-DC05A016386F@googlemail.com> Is it worth adding a session ID check in index.php? On 22 Oct 2012, at 07:37, Tom Reijnders wrote: > Figured it out. > > It turned out to be my own mistake. > > The website is internally available as http://server.tor.nl/~tom/xot18 and as https://server.tor.nl/~tom/xot18, with https://server.tor.nl/~tom/xot18 in the sitedetails table. Externally, only the https variant exists, hence the entry in sitedetails. > > Now, if you open the browser and type in server.tor.nl/~tom/xot18, the browser automatically chooses http://, and that seems to work, until you open a window in XOT that uses the url from sitedetails. Than in prionciple we switch domains, and a new session is started. > > If you than logout, we end up in the login page on https://, and from then on, everuything works as expected.... > > Thanks Pat, for not giving up... :-) > > Tom > > Op 21-10-2012 14:41, Pat Lockley schreef: >> Logout should destroy the session? Maybe it isn't >> >> On 21 Oct 2012, at 09:31, Tom Reijnders wrote: >> >>> It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. >>> >>> >>> Op 21-10-2012 0:04, Pat Lockley schreef: >>>> The session should be started by config.php >>>> >>>> I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly >>>> >>>> Maybe because properties is a new window? Might be that reason? >>>> >>>> I'd make sure there is nothing before the require config.php in properties.php >>>> >>>> On 20 Oct 2012, at 13:00, Tom Reijnders wrote: >>>> >>>>> You're right. >>>>> >>>>> I verified that the session is indeed not set. But how come.... >>>>> 1. Start clean browser, and goto login page (new session is started, right?) >>>>> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >>>>> 4. Logout >>>>> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>> 6. Go to properties page and now $_SESSION is set correctly.... >>>>> >>>>> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >>>>> >>>>> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >>>>> >>>>> Tom >>>>> >>>>> Op 19-10-2012 17:31, Pat Lockley schreef: >>>>>> Sounds like the session isn't being set properly >>>>>> >>>>>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>>>>> >>>>>>> I've got a local install of the SVN version of XOT (latest) >>>>>>> >>>>>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>>>>> >>>>>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>>>>> >>>>>>> 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 >>>>> -- >>>>> -- >>>>> >>>>> Tom Reijnders >>>>> TOR Informatica >>>>> Chopinlaan 27 >>>>> 5242HM Rosmalen >>>>> Tel: 073 5226191 >>>>> Fax: 073 5226196 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > 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 Oct 22 11:13:56 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 22 Oct 2012 12:13:56 +0200 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <7939A31A-20F3-4278-A14E-DC05A016386F@googlemail.com> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> <5083B2F6.2090703@tor.nl> <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> <5084E9A1.7080801@tor.nl> <7939A31A-20F3-4278-A14E-DC05A016386F@googlemail.com> Message-ID: <50851C64.5050001@tor.nl> Yes, I was wondereing about that, but not really a session ID check, because the session ID is the same.... But we could do something like if ($_SERVER['script_uri'] != $xerte_toolkits_site->site_url) { header("Location: " . $xerte_toolkits_site->site_url); } Op 22-10-2012 10:15, Pat Lockley schreef: > Is it worth adding a session ID check in index.php? > > On 22 Oct 2012, at 07:37, Tom Reijnders wrote: > >> Figured it out. >> >> It turned out to be my own mistake. >> >> The website is internally available as http://server.tor.nl/~tom/xot18 and as https://server.tor.nl/~tom/xot18, with https://server.tor.nl/~tom/xot18 in the sitedetails table. Externally, only the https variant exists, hence the entry in sitedetails. >> >> Now, if you open the browser and type in server.tor.nl/~tom/xot18, the browser automatically chooses http://, and that seems to work, until you open a window in XOT that uses the url from sitedetails. Than in prionciple we switch domains, and a new session is started. >> >> If you than logout, we end up in the login page on https://, and from then on, everuything works as expected.... >> >> Thanks Pat, for not giving up... :-) >> >> Tom >> >> Op 21-10-2012 14:41, Pat Lockley schreef: >>> Logout should destroy the session? Maybe it isn't >>> >>> On 21 Oct 2012, at 09:31, Tom Reijnders wrote: >>> >>>> It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. >>>> >>>> >>>> Op 21-10-2012 0:04, Pat Lockley schreef: >>>>> The session should be started by config.php >>>>> >>>>> I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly >>>>> >>>>> Maybe because properties is a new window? Might be that reason? >>>>> >>>>> I'd make sure there is nothing before the require config.php in properties.php >>>>> >>>>> On 20 Oct 2012, at 13:00, Tom Reijnders wrote: >>>>> >>>>>> You're right. >>>>>> >>>>>> I verified that the session is indeed not set. But how come.... >>>>>> 1. Start clean browser, and goto login page (new session is started, right?) >>>>>> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>>> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >>>>>> 4. Logout >>>>>> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>>> 6. Go to properties page and now $_SESSION is set correctly.... >>>>>> >>>>>> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >>>>>> >>>>>> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 19-10-2012 17:31, Pat Lockley schreef: >>>>>>> Sounds like the session isn't being set properly >>>>>>> >>>>>>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>>>>>> >>>>>>>> I've got a local install of the SVN version of XOT (latest) >>>>>>>> >>>>>>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>>>>>> >>>>>>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>>>>>> >>>>>>>> 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 >>>>>> -- >>>>>> -- >>>>>> >>>>>> Tom Reijnders >>>>>> TOR Informatica >>>>>> Chopinlaan 27 >>>>>> 5242HM Rosmalen >>>>>> Tel: 073 5226191 >>>>>> Fax: 073 5226196 >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From patrick.lockley at googlemail.com Mon Oct 22 11:23:53 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 22 Oct 2012 11:23:53 +0100 Subject: [Xerte-dev] Re: Issue with XOT18 and permissions In-Reply-To: <50851C64.5050001@tor.nl> References: <50811A6D.3030406@tor.nl> <508302C8.9090908@tor.nl> <81CFAEBD-C24F-40DE-95CB-2A97B2C2B7CD@googlemail.com> <5083B2F6.2090703@tor.nl> <61FD08D8-CB43-4FFE-9C77-312E04CB9E9E@googlemail.com> <5084E9A1.7080801@tor.nl> <7939A31A-20F3-4278-A14E-DC05A016386F@googlemail.com> <50851C64.5050001@tor.nl> Message-ID: <57FE6F4A-2E20-408D-B9BF-EBD1745296BC@googlemail.com> Also a good step - but ideally it should fail if there is no session login ID set On 22 Oct 2012, at 11:13, Tom Reijnders wrote: > Yes, I was wondereing about that, but not really a session ID check, because the session ID is the same.... > > But we could do something like > > if ($_SERVER['script_uri'] != $xerte_toolkits_site->site_url) > { > header("Location: " . $xerte_toolkits_site->site_url); > } > Op 22-10-2012 10:15, Pat Lockley schreef: >> Is it worth adding a session ID check in index.php? >> >> On 22 Oct 2012, at 07:37, Tom Reijnders wrote: >> >>> Figured it out. >>> >>> It turned out to be my own mistake. >>> >>> The website is internally available as http://server.tor.nl/~tom/xot18 and as https://server.tor.nl/~tom/xot18, with https://server.tor.nl/~tom/xot18 in the sitedetails table. Externally, only the https variant exists, hence the entry in sitedetails. >>> >>> Now, if you open the browser and type in server.tor.nl/~tom/xot18, the browser automatically chooses http://, and that seems to work, until you open a window in XOT that uses the url from sitedetails. Than in prionciple we switch domains, and a new session is started. >>> >>> If you than logout, we end up in the login page on https://, and from then on, everuything works as expected.... >>> >>> Thanks Pat, for not giving up... :-) >>> >>> Tom >>> >>> Op 21-10-2012 14:41, Pat Lockley schreef: >>>> Logout should destroy the session? Maybe it isn't >>>> >>>> On 21 Oct 2012, at 09:31, Tom Reijnders wrote: >>>> >>>>> It is, config.php is the first thing required by properties.php. The thing that I don't understand is that after logout/login, this DOES work. >>>>> >>>>> >>>>> Op 21-10-2012 0:04, Pat Lockley schreef: >>>>>> The session should be started by config.php >>>>>> >>>>>> I think in theory it has to be the first thing done when a script executes else the session sometimes wipes itself or isn't set properly >>>>>> >>>>>> Maybe because properties is a new window? Might be that reason? >>>>>> >>>>>> I'd make sure there is nothing before the require config.php in properties.php >>>>>> >>>>>> On 20 Oct 2012, at 13:00, Tom Reijnders wrote: >>>>>> >>>>>>> You're right. >>>>>>> >>>>>>> I verified that the session is indeed not set. But how come.... >>>>>>> 1. Start clean browser, and goto login page (new session is started, right?) >>>>>>> 2. Login, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>>>> 3. Go to property page and right after require_once("./config.php"); (which has the session_start()), $_SESSION is empty, but the $_REQUEST and also $_COOKIE contain the correct PHPSESSID >>>>>>> 4. Logout >>>>>>> 5. Login again, and verify in debugger (or by dumping to debug.log) that $_SESSION is properly set >>>>>>> 6. Go to properties page and now $_SESSION is set correctly.... >>>>>>> >>>>>>> I don't understand this behaviour at all.... In step 2, 3, 5 and 6 the PHPSESSID is the same. >>>>>>> >>>>>>> By the way, this doesn't have anything to do with Db authentication, as I can reproduce this with Static Auth as well. >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 19-10-2012 17:31, Pat Lockley schreef: >>>>>>>> Sounds like the session isn't being set properly >>>>>>>> >>>>>>>> On 19 Oct 2012, at 02:16, Tom Reijnders wrote: >>>>>>>> >>>>>>>>> I've got a local install of the SVN version of XOT (latest) >>>>>>>>> >>>>>>>>> Dont know if it has to do with the fact that I use the Db auth method, but whenever I log in the first time, I don't get permission to look at my own lerning objects, i.e. they are listed correctly in the workspace, but I can't look at the properties, preview them or edit them. >>>>>>>>> >>>>>>>>> If I logout, and login again, everything seems to work fine. Anyone any idea what is going on here? >>>>>>>>> >>>>>>>>> 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 >>>>>>> -- >>>>>>> -- >>>>>>> >>>>>>> Tom Reijnders >>>>>>> TOR Informatica >>>>>>> Chopinlaan 27 >>>>>>> 5242HM Rosmalen >>>>>>> Tel: 073 5226191 >>>>>>> Fax: 073 5226196 >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Xerte-dev mailing list >>>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> -- >>>>> -- >>>>> >>>>> Tom Reijnders >>>>> TOR Informatica >>>>> Chopinlaan 27 >>>>> 5242HM Rosmalen >>>>> Tel: 073 5226191 >>>>> Fax: 073 5226196 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > 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 J.J.Smith at gcu.ac.uk Wed Oct 24 22:29:50 2012 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 24 Oct 2012 22:29:50 +0100 Subject: [Xerte-dev] Latest Xenith Code Message-ID: Hi Fay, Have just checked out the latest Xenith code to work on and noticed that it isn't working. You've probably figured this out to but the models folder now needs to be renamed to models_html5 as it's stopping any of the models being found.Don't have committer access to the Xerte stuff, only the xot stuff so can't fix it. 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 d_b_burnett at hotmail.com Thu Oct 25 20:57:29 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 25 Oct 2012 15:57:29 -0400 Subject: [Xerte-dev] XOT SCORM package structure. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Pat or anyone: Getting this when we hit export SCORM 1.2 "The requested URL /scorm_rich_rich_116 was not found on this server." I take it that's a missing php page. Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? Not much time unfortunately. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 991 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 1120 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 1621 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 1265 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 3659 bytes Desc: not available URL: From reijnders at tor.nl Thu Oct 25 22:31:31 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 25 Oct 2012 23:31:31 +0200 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5089AFB3.7050200@tor.nl> As far as I know, it is not a php file or any other file. This comes from the file website_code\php\url_library.php Replace line 84: return $string . "_rich_" . $template_number; With return $string . "_" . $template_number; Regards, Tom Op 25-10-2012 21:57, Dave Burnett schreef: > Pat or anyone: > > Getting this when we hit export SCORM 1.2 > > "The requested URL /scorm_rich_rich_116 was not found on this server." > > I take it that's a missing php page. > > Is there a way to hand-roll the 1.2 package using a Deployment or > Archive zip? > > Not much time unfortunately. > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Thu Oct 25 22:38:38 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Thu, 25 Oct 2012 22:38:38 +0100 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: <5089AFB3.7050200@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> <5089AFB3.7050200@tor.nl> Message-ID: <50B7B208-D488-440D-B855-52653DA2D999@googlemail.com> Might need to check your .htaccess file? If that's not up to date? On 25 Oct 2012, at 22:31, Tom Reijnders wrote: > As far as I know, it is not a php file or any other file. > > This comes from the file website_code\php\url_library.php > > Replace line 84: > > return $string . "_rich_" . $template_number; > > With > > return $string . "_" . $template_number; > > > Regards, > > Tom > > Op 25-10-2012 21:57, Dave Burnett schreef: >> Pat or anyone: >> >> Getting this when we hit export SCORM 1.2 >> >> "The requested URL /scorm_rich_rich_116 was not found on this server." >> >> I take it that's a missing php page. >> >> Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? >> >> Not much time unfortunately. >> >> This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Thu Oct 25 22:44:51 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Thu, 25 Oct 2012 22:44:51 +0100 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: <5089AFB3.7050200@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> <5089AFB3.7050200@tor.nl> Message-ID: <3E60C719-35E9-40CF-9B2F-0F68F9DEFC4D@googlemail.com> The installer mods the .htaccess - does this need updating? On 25 Oct 2012, at 22:31, Tom Reijnders wrote: > As far as I know, it is not a php file or any other file. > > This comes from the file website_code\php\url_library.php > > Replace line 84: > > return $string . "_rich_" . $template_number; > > With > > return $string . "_" . $template_number; > > > Regards, > > Tom > > Op 25-10-2012 21:57, Dave Burnett schreef: >> Pat or anyone: >> >> Getting this when we hit export SCORM 1.2 >> >> "The requested URL /scorm_rich_rich_116 was not found on this server." >> >> I take it that's a missing php page. >> >> Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? >> >> Not much time unfortunately. >> >> This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Thu Oct 25 22:48:39 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Thu, 25 Oct 2012 22:48:39 +0100 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: <5089AFB3.7050200@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> <5089AFB3.7050200@tor.nl> Message-ID: You could also set apache to be turned off in management.php On 25 Oct 2012, at 22:31, Tom Reijnders wrote: > As far as I know, it is not a php file or any other file. > > This comes from the file website_code\php\url_library.php > > Replace line 84: > > return $string . "_rich_" . $template_number; > > With > > return $string . "_" . $template_number; > > > Regards, > > Tom > > Op 25-10-2012 21:57, Dave Burnett schreef: >> Pat or anyone: >> >> Getting this when we hit export SCORM 1.2 >> >> "The requested URL /scorm_rich_rich_116 was not found on this server." >> >> I take it that's a missing php page. >> >> Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? >> >> Not much time unfortunately. >> >> This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Fri Oct 26 08:46:56 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 26 Oct 2012 08:46:56 +0100 Subject: [Xerte-dev] Re: Latest Xenith Code In-Reply-To: References: Message-ID: Thanks John, I made some changes and uploaded them just before I left on Wednesday. It kept on failing when I tried to change the folder name for some reason but I didn't think anyone would look at them before I was back in today! I'll sort it this morning. -----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: 24 October 2012 22:30 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Latest Xenith Code Importance: High Hi Fay, Have just checked out the latest Xenith code to work on and noticed that it isn't working. You've probably figured this out to but the models folder now needs to be renamed to models_html5 as it's stopping any of the models being found.Don't have committer access to the Xerte stuff, only the xot stuff so can't fix it. 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From i.donkervoort at 12change.eu Fri Oct 26 09:16:15 2012 From: i.donkervoort at 12change.eu (Inge Donkervoort 12Change) Date: Fri, 26 Oct 2012 10:16:15 +0200 Subject: [Xerte-dev] Tabel question In-Reply-To: References: Message-ID: <508A46CF.9070403@12change.eu> Hi, When the table is to long it will look like this. Is it possible to add a scrollbar? Thx. Regards, Inge 12Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: eiefjjic.png Type: image/png Size: 23497 bytes Desc: not available URL: From d_b_burnett at hotmail.com Fri Oct 26 10:30:06 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 26 Oct 2012 05:30:06 -0400 Subject: [Xerte-dev] Re: Tabel question In-Reply-To: <508A46CF.9070403@12change.eu> References: , , <508A46CF.9070403@12change.eu> Message-ID: Inge, what is this from? Date: Fri, 26 Oct 2012 10:16:15 +0200 From: i.donkervoort at 12change.eu To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Tabel question Hi, When the table is to long it will look like this. Is it possible to add a scrollbar? Thx. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: eiefjjic.png Type: image/png Size: 23497 bytes Desc: not available URL: From i.donkervoort at 12change.eu Fri Oct 26 10:53:19 2012 From: i.donkervoort at 12change.eu (Inge Donkervoort 12Change) Date: Fri, 26 Oct 2012 11:53:19 +0200 Subject: [Xerte-dev] Re: Tabel question In-Reply-To: References: , , <508A46CF.9070403@12change.eu> Message-ID: <508A5D8F.3020703@12change.eu> Hi Dave, XOT 1.8 table page. Regards, Inge 12Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn Op 26-10-2012 11:30, Dave Burnett schreef: > Inge, what is this from? > > ------------------------------------------------------------------------ > Date: Fri, 26 Oct 2012 10:16:15 +0200 > From: i.donkervoort at 12change.eu > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Tabel question > > Hi, > > When the table is to long it will look like this. Is it possible to > add a scrollbar? > > > > > Thx. > > Regards, > Inge > 12Change > Chopinlaan 27 > 5242 HM Rosmalen > T 073-5226195 > F 073-5226196 > E i.donkervoort at 12change.eu > I www.12change.eu > > T twitter > L linkedIn > > > This message and any attachment are intended solely 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 23497 bytes Desc: not available URL: From Fay.Cross at nottingham.ac.uk Fri Oct 26 10:54:29 2012 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 26 Oct 2012 10:54:29 +0100 Subject: [Xerte-dev] Re: Tabel question In-Reply-To: <508A5D8F.3020703@12change.eu> References: , , <508A46CF.9070403@12change.eu> <508A5D8F.3020703@12change.eu> Message-ID: I'll have a look later to see if I can add a scroll bar. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Inge Donkervoort 12Change Sent: 26 October 2012 10:53 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Tabel question Hi Dave, XOT 1.8 table page. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn Op 26-10-2012 11:30, Dave Burnett schreef: Inge, what is this from? ________________________________ Date: Fri, 26 Oct 2012 10:16:15 +0200 From: i.donkervoort at 12change.eu To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Tabel question Hi, When the table is to long it will look like this. Is it possible to add a scrollbar? [cid:image001.png at 01CDB368.452FBEA0] Thx. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 23497 bytes Desc: image001.png URL: From d_b_burnett at hotmail.com Fri Oct 26 11:10:07 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Fri, 26 Oct 2012 06:10:07 -0400 Subject: [Xerte-dev] Re: Tabel question In-Reply-To: References: , , , , <508A46CF.9070403@12change.eu> , <508A5D8F.3020703@12change.eu>, Message-ID: scrolling="auto"?? From: Fay.Cross at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Fri, 26 Oct 2012 10:54:29 +0100 Subject: [Xerte-dev] Re: Tabel question I?ll have a look later to see if I can add a scroll bar. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Inge Donkervoort 12Change Sent: 26 October 2012 10:53 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Tabel question Hi Dave, XOT 1.8 table page. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn Op 26-10-2012 11:30, Dave Burnett schreef: Inge, what is this from? Date: Fri, 26 Oct 2012 10:16:15 +0200 From: i.donkervoort at 12change.eu To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Tabel question Hi, When the table is to long it will look like this. Is it possible to add a scrollbar? Thx. Regards, Inge1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn This message and any attachment are intended solely 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 listXerte-dev at lists.nottingham.ac.ukhttp://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 attachmentmay still contain software viruses which could damage your computer system:you are advised to perform your own checks. Email communications with theUniversity 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 23497 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Mon Oct 29 09:01:35 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 09:01:35 +0000 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C023E@EXCHANGE1.ad.nottingham.ac.uk> If you export a very simple scorm package from xerte desktop, and then replace the files in there with the files from deployment it should work, I think, as the scorm package only references index.htm, but there will be a reference in there to the.rlo file you'll need to change From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 25 October 2012 20:57 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] XOT SCORM package structure. Pat or anyone: Getting this when we hit export SCORM 1.2 "The requested URL /scorm_rich_rich_116 was not found on this server." I take it that's a missing php page. Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? Not much time unfortunately. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon Oct 29 10:05:12 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 29 Oct 2012 11:05:12 +0100 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C023E@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C023E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <508E54D8.2050207@tor.nl> Dave, is this now fixed for you? Julian, this was a typo in the url library in the case apache rewrite rules were active. Tom Op 29-10-2012 10:01, Julian Tenney schreef: > > If you export a very simple scorm package from xerte desktop, and then > replace the files in there with the files from deployment it should > work, I think, as the scorm package only references index.htm, but > there will be a reference in there to the.rlo file you'll need to change > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Dave > Burnett > *Sent:* 25 October 2012 20:57 > *To:* xerte-dev at lists.nottingham.ac.uk > *Subject:* [Xerte-dev] XOT SCORM package structure. > > Pat or anyone: > > Getting this when we hit export SCORM 1.2 > > "The requested URL /scorm_rich_rich_116 was not found on this server." > > I take it that's a missing php page. > > Is there a way to hand-roll the 1.2 package using a Deployment or > Archive zip? > > Not much time unfortunately. > > > This message and any attachment are intended solely 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Oct 29 10:38:29 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 10:38:29 +0000 Subject: [Xerte-dev] Re: Tabel question In-Reply-To: <508A5D8F.3020703@12change.eu> References: , , <508A46CF.9070403@12change.eu> <508A5D8F.3020703@12change.eu> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C033B@EXCHANGE1.ad.nottingham.ac.uk> It's not as simple as scrolling = auto because each row is a separate icon, so we need to add a scroll bar to the page icon (I think), I'll have a look at some point. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Inge Donkervoort 12Change Sent: 26 October 2012 10:53 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Tabel question Hi Dave, XOT 1.8 table page. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn Op 26-10-2012 11:30, Dave Burnett schreef: Inge, what is this from? ________________________________ Date: Fri, 26 Oct 2012 10:16:15 +0200 From: i.donkervoort at 12change.eu To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Tabel question Hi, When the table is to long it will look like this. Is it possible to add a scrollbar? [cid:image001.png at 01CDB5C1.88DE2D70] Thx. Regards, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 23497 bytes Desc: image001.png URL: From d_b_burnett at hotmail.com Mon Oct 29 11:32:38 2012 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 29 Oct 2012 07:32:38 -0400 Subject: [Xerte-dev] Re: XOT SCORM package structure. In-Reply-To: <508E54D8.2050207@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C3F3AACB9@EXCHANGE1.ad.nottingham.ac.uk>, , <12C67A1EEC419342AF5E59DA31562C3F0C3F5C023E@EXCHANGE1.ad.nottingham.ac.uk>, <508E54D8.2050207@tor.nl> Message-ID: Yes, thanks Tom and Julian. Date: Mon, 29 Oct 2012 11:05:12 +0100 From: reijnders at tor.nl To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: XOT SCORM package structure. Dave, is this now fixed for you? Julian, this was a typo in the url library in the case apache rewrite rules were active. Tom Op 29-10-2012 10:01, Julian Tenney schreef: If you export a very simple scorm package from xerte desktop, and then replace the files in there with the files from deployment it should work, I think, as the scorm package only references index.htm, but there will be a reference in there to the.rlo file you?ll need to change From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 25 October 2012 20:57 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] XOT SCORM package structure. Pat or anyone: Getting this when we hit export SCORM 1.2 "The requested URL /scorm_rich_rich_116 was not found on this server." I take it that's a missing php page. Is there a way to hand-roll the 1.2 package using a Deployment or Archive zip? Not much time unfortunately. This message and any attachment are intended solely 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.lockley at googlemail.com Mon Oct 29 12:47:49 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 12:47:49 +0000 Subject: [Xerte-dev] 1.9 properties Message-ID: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> Hello, On the properties panel there are several options which are sort of xerte specific - XML and media and quota for example. Some of the new templates aren't XML, so XML makes no sense - and the media and quota code is very xerte specific. Would people think 1) all off these options should exist for all templates? 2) should tabs exist even if the functionality doesn't? 3) what sort of message should it say 4) what if I have scope for an extra tab? From ronm at mitchellmedia.co.uk Mon Oct 29 13:15:10 2012 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Mon, 29 Oct 2012 13:15:10 -0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> Message-ID: <016601cdb5d7$6d73e3c0$485bab40$@co.uk> 1, 2 & 3 Personally I don't think it's a necessity that the same tabs exist for all templates but I suspect it's easier to just display a message like 'This property is not relevant to this template' than it is to change the code to dynamically change tabs based on the template in use. 4 Increase the properties window size and display 'This property is not relevant to this template' for Xerte templates? Just my quick thoughts... Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 12:48 To: For Xerte technical developers Subject: [Xerte-dev] 1.9 properties Hello, On the properties panel there are several options which are sort of xerte specific - XML and media and quota for example. Some of the new templates aren't XML, so XML makes no sense - and the media and quota code is very xerte specific. Would people think 1) all off these options should exist for all templates? 2) should tabs exist even if the functionality doesn't? 3) what sort of message should it say 4) what if I have scope for an extra tab? _______________________________________________ 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 patrick.lockley at googlemail.com Mon Oct 29 13:24:46 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 13:24:46 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <016601cdb5d7$6d73e3c0$485bab40$@co.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> Message-ID: WordPress has a theme supports function, so I am thinking of having a list to indicate the tabs per template, or something similar On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: > 1, 2 & 3 > Personally I don't think it's a necessity that the same tabs exist for all > templates but I suspect it's easier to just display a message like 'This > property is not relevant to this template' than it is to change the code to > dynamically change tabs based on the template in use. > > 4 > Increase the properties window size and display 'This property is not > relevant to this template' for Xerte templates? > > Just my quick thoughts... > Ron > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 12:48 > To: For Xerte technical developers > Subject: [Xerte-dev] 1.9 properties > > Hello, > > On the properties panel there are several options which are sort of xerte > specific - XML and media and quota for example. > > Some of the new templates aren't XML, so XML makes no sense - and the media > and quota code is very xerte specific. > > Would people think > > 1) all off these options should exist for all templates? > 2) should tabs exist even if the functionality doesn't? > 3) what sort of message should it say > 4) what if I have scope for an extra tab? > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 29 13:25:08 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 13:25:08 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> Message-ID: Also, would JSON export be more useful / as useful as XML export? On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: > WordPress has a theme supports function, so I am thinking of having a > list to indicate the tabs per template, or something similar > > On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >> 1, 2 & 3 >> Personally I don't think it's a necessity that the same tabs exist for all >> templates but I suspect it's easier to just display a message like 'This >> property is not relevant to this template' than it is to change the code to >> dynamically change tabs based on the template in use. >> >> 4 >> Increase the properties window size and display 'This property is not >> relevant to this template' for Xerte templates? >> >> Just my quick thoughts... >> Ron >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley >> Sent: 29 October 2012 12:48 >> To: For Xerte technical developers >> Subject: [Xerte-dev] 1.9 properties >> >> Hello, >> >> On the properties panel there are several options which are sort of xerte >> specific - XML and media and quota for example. >> >> Some of the new templates aren't XML, so XML makes no sense - and the media >> and quota code is very xerte specific. >> >> Would people think >> >> 1) all off these options should exist for all templates? >> 2) should tabs exist even if the functionality doesn't? >> 3) what sort of message should it say >> 4) what if I have scope for an extra tab? >> _______________________________________________ >> 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 Oct 29 13:54:41 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 13:54:41 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> Yes. I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. So you might have a sequence of API-like calls, i.e. http://server.com/toolkits/getInfo_1234 //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. Can XML *always* be output as JSON and vice versa? I suppose you can always crunch what you get for the format you need, but better to get what you need straight away, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 13:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties Also, would JSON export be more useful / as useful as XML export? On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: > WordPress has a theme supports function, so I am thinking of having a > list to indicate the tabs per template, or something similar > > On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >> 1, 2 & 3 >> Personally I don't think it's a necessity that the same tabs exist >> for all templates but I suspect it's easier to just display a message >> like 'This property is not relevant to this template' than it is to >> change the code to dynamically change tabs based on the template in use. >> >> 4 >> Increase the properties window size and display 'This property is not >> relevant to this template' for Xerte templates? >> >> Just my quick thoughts... >> Ron >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 12:48 >> To: For Xerte technical developers >> Subject: [Xerte-dev] 1.9 properties >> >> Hello, >> >> On the properties panel there are several options which are sort of >> xerte specific - XML and media and quota for example. >> >> Some of the new templates aren't XML, so XML makes no sense - and the >> media and quota code is very xerte specific. >> >> Would people think >> >> 1) all off these options should exist for all templates? >> 2) should tabs exist even if the functionality doesn't? >> 3) what sort of message should it say >> 4) what if I have scope for an extra tab? >> _______________________________________________ >> 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 From patrick.lockley at googlemail.com Mon Oct 29 13:57:46 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 13:57:46 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I think there is a big case for an API to be honest - allows a lot of stuff to happen but that's just me On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: > Yes. > > I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. > > So you might have a sequence of API-like calls, i.e. > > http://server.com/toolkits/getInfo_1234 > > //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. > > Can XML *always* be output as JSON and vice versa? I suppose you can always crunch what you get for the format you need, but better to get what you need straight away, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 13:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Also, would JSON export be more useful / as useful as XML export? > > On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >> WordPress has a theme supports function, so I am thinking of having a >> list to indicate the tabs per template, or something similar >> >> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>> 1, 2 & 3 >>> Personally I don't think it's a necessity that the same tabs exist >>> for all templates but I suspect it's easier to just display a message >>> like 'This property is not relevant to this template' than it is to >>> change the code to dynamically change tabs based on the template in use. >>> >>> 4 >>> Increase the properties window size and display 'This property is not >>> relevant to this template' for Xerte templates? >>> >>> Just my quick thoughts... >>> Ron >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 12:48 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] 1.9 properties >>> >>> Hello, >>> >>> On the properties panel there are several options which are sort of >>> xerte specific - XML and media and quota for example. >>> >>> Some of the new templates aren't XML, so XML makes no sense - and the >>> media and quota code is very xerte specific. >>> >>> Would people think >>> >>> 1) all off these options should exist for all templates? >>> 2) should tabs exist even if the functionality doesn't? >>> 3) what sort of message should it say >>> 4) what if I have scope for an extra tab? >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 Oct 29 14:06:26 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:06:26 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> Agree. Tend to think you'd be an excellent person to write 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 Lockley Sent: 29 October 2012 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties I think there is a big case for an API to be honest - allows a lot of stuff to happen but that's just me On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: > Yes. > > I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. > > So you might have a sequence of API-like calls, i.e. > > http://server.com/toolkits/getInfo_1234 > > //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. > > Can XML *always* be output as JSON and vice versa? I suppose you can > always crunch what you get for the format you need, but better to get > what you need straight away, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 13:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Also, would JSON export be more useful / as useful as XML export? > > On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >> WordPress has a theme supports function, so I am thinking of having a >> list to indicate the tabs per template, or something similar >> >> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>> 1, 2 & 3 >>> Personally I don't think it's a necessity that the same tabs exist >>> for all templates but I suspect it's easier to just display a >>> message like 'This property is not relevant to this template' than >>> it is to change the code to dynamically change tabs based on the template in use. >>> >>> 4 >>> Increase the properties window size and display 'This property is >>> not relevant to this template' for Xerte templates? >>> >>> Just my quick thoughts... >>> Ron >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 12:48 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] 1.9 properties >>> >>> Hello, >>> >>> On the properties panel there are several options which are sort of >>> xerte specific - XML and media and quota for example. >>> >>> Some of the new templates aren't XML, so XML makes no sense - and >>> the media and quota code is very xerte specific. >>> >>> Would people think >>> >>> 1) all off these options should exist for all templates? >>> 2) should tabs exist even if the functionality doesn't? >>> 3) what sort of message should it say >>> 4) what if I have scope for an extra tab? >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 29 14:09:20 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:09:20 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Happy to give it a whirl - could I ask for a roadmap in return :) On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: > Agree. Tend to think you'd be an excellent person to write 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 Lockley > Sent: 29 October 2012 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > I think there is a big case for an API to be honest - allows a lot of stuff to happen > > but that's just me > > On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >> Yes. >> >> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >> >> So you might have a sequence of API-like calls, i.e. >> >> http://server.com/toolkits/getInfo_1234 >> >> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >> >> Can XML *always* be output as JSON and vice versa? I suppose you can >> always crunch what you get for the format you need, but better to get >> what you need straight away, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 13:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> Also, would JSON export be more useful / as useful as XML export? >> >> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>> WordPress has a theme supports function, so I am thinking of having a >>> list to indicate the tabs per template, or something similar >>> >>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>> 1, 2 & 3 >>>> Personally I don't think it's a necessity that the same tabs exist >>>> for all templates but I suspect it's easier to just display a >>>> message like 'This property is not relevant to this template' than >>>> it is to change the code to dynamically change tabs based on the template in use. >>>> >>>> 4 >>>> Increase the properties window size and display 'This property is >>>> not relevant to this template' for Xerte templates? >>>> >>>> Just my quick thoughts... >>>> Ron >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 12:48 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] 1.9 properties >>>> >>>> Hello, >>>> >>>> On the properties panel there are several options which are sort of >>>> xerte specific - XML and media and quota for example. >>>> >>>> Some of the new templates aren't XML, so XML makes no sense - and >>>> the media and quota code is very xerte specific. >>>> >>>> Would people think >>>> >>>> 1) all off these options should exist for all templates? >>>> 2) should tabs exist even if the functionality doesn't? >>>> 3) what sort of message should it say >>>> 4) what if I have scope for an extra tab? >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:10:29 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:10:29 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> Well, what things would it address: we should make a list somewhere (titanpad?) -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties Happy to give it a whirl - could I ask for a roadmap in return :) On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: > Agree. Tend to think you'd be an excellent person to write 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 > Lockley > Sent: 29 October 2012 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > I think there is a big case for an API to be honest - allows a lot of > stuff to happen > > but that's just me > > On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >> Yes. >> >> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >> >> So you might have a sequence of API-like calls, i.e. >> >> http://server.com/toolkits/getInfo_1234 >> >> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >> >> Can XML *always* be output as JSON and vice versa? I suppose you can >> always crunch what you get for the format you need, but better to get >> what you need straight away, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 13:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> Also, would JSON export be more useful / as useful as XML export? >> >> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>> WordPress has a theme supports function, so I am thinking of having >>> a list to indicate the tabs per template, or something similar >>> >>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>> 1, 2 & 3 >>>> Personally I don't think it's a necessity that the same tabs exist >>>> for all templates but I suspect it's easier to just display a >>>> message like 'This property is not relevant to this template' than >>>> it is to change the code to dynamically change tabs based on the template in use. >>>> >>>> 4 >>>> Increase the properties window size and display 'This property is >>>> not relevant to this template' for Xerte templates? >>>> >>>> Just my quick thoughts... >>>> Ron >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 12:48 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] 1.9 properties >>>> >>>> Hello, >>>> >>>> On the properties panel there are several options which are sort of >>>> xerte specific - XML and media and quota for example. >>>> >>>> Some of the new templates aren't XML, so XML makes no sense - and >>>> the media and quota code is very xerte specific. >>>> >>>> Would people think >>>> >>>> 1) all off these options should exist for all templates? >>>> 2) should tabs exist even if the functionality doesn't? >>>> 3) what sort of message should it say >>>> 4) what if I have scope for an extra tab? >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From patrick.lockley at googlemail.com Mon Oct 29 14:11:39 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:11:39 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: or we could use the community website On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: > Well, what things would it address: we should make a list somewhere (titanpad?) > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 14:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Happy to give it a whirl - could I ask for a roadmap in return :) > > On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >> Agree. Tend to think you'd be an excellent person to write 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 >> Lockley >> Sent: 29 October 2012 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> I think there is a big case for an API to be honest - allows a lot of >> stuff to happen >> >> but that's just me >> >> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>> Yes. >>> >>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>> >>> So you might have a sequence of API-like calls, i.e. >>> >>> http://server.com/toolkits/getInfo_1234 >>> >>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>> >>> Can XML *always* be output as JSON and vice versa? I suppose you can >>> always crunch what you get for the format you need, but better to get >>> what you need straight away, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 13:25 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> Also, would JSON export be more useful / as useful as XML export? >>> >>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>> WordPress has a theme supports function, so I am thinking of having >>>> a list to indicate the tabs per template, or something similar >>>> >>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>> 1, 2 & 3 >>>>> Personally I don't think it's a necessity that the same tabs exist >>>>> for all templates but I suspect it's easier to just display a >>>>> message like 'This property is not relevant to this template' than >>>>> it is to change the code to dynamically change tabs based on the template in use. >>>>> >>>>> 4 >>>>> Increase the properties window size and display 'This property is >>>>> not relevant to this template' for Xerte templates? >>>>> >>>>> Just my quick thoughts... >>>>> Ron >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>> Lockley >>>>> Sent: 29 October 2012 12:48 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] 1.9 properties >>>>> >>>>> Hello, >>>>> >>>>> On the properties panel there are several options which are sort of >>>>> xerte specific - XML and media and quota for example. >>>>> >>>>> Some of the new templates aren't XML, so XML makes no sense - and >>>>> the media and quota code is very xerte specific. >>>>> >>>>> Would people think >>>>> >>>>> 1) all off these options should exist for all templates? >>>>> 2) should tabs exist even if the functionality doesn't? >>>>> 3) what sort of message should it say >>>>> 4) what if I have scope for an extra tab? >>>>> _______________________________________________ >>>>> 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 >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:11:57 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:11:57 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> OK! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties or we could use the community website On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: > Well, what things would it address: we should make a list somewhere > (titanpad?) > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 14:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Happy to give it a whirl - could I ask for a roadmap in return :) > > On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >> Agree. Tend to think you'd be an excellent person to write 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 >> Lockley >> Sent: 29 October 2012 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> I think there is a big case for an API to be honest - allows a lot of >> stuff to happen >> >> but that's just me >> >> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>> Yes. >>> >>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>> >>> So you might have a sequence of API-like calls, i.e. >>> >>> http://server.com/toolkits/getInfo_1234 >>> >>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>> >>> Can XML *always* be output as JSON and vice versa? I suppose you can >>> always crunch what you get for the format you need, but better to >>> get what you need straight away, >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 13:25 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> Also, would JSON export be more useful / as useful as XML export? >>> >>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>> WordPress has a theme supports function, so I am thinking of having >>>> a list to indicate the tabs per template, or something similar >>>> >>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>> 1, 2 & 3 >>>>> Personally I don't think it's a necessity that the same tabs exist >>>>> for all templates but I suspect it's easier to just display a >>>>> message like 'This property is not relevant to this template' than >>>>> it is to change the code to dynamically change tabs based on the template in use. >>>>> >>>>> 4 >>>>> Increase the properties window size and display 'This property is >>>>> not relevant to this template' for Xerte templates? >>>>> >>>>> Just my quick thoughts... >>>>> Ron >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>> Lockley >>>>> Sent: 29 October 2012 12:48 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] 1.9 properties >>>>> >>>>> Hello, >>>>> >>>>> On the properties panel there are several options which are sort >>>>> of xerte specific - XML and media and quota for example. >>>>> >>>>> Some of the new templates aren't XML, so XML makes no sense - and >>>>> the media and quota code is very xerte specific. >>>>> >>>>> Would people think >>>>> >>>>> 1) all off these options should exist for all templates? >>>>> 2) should tabs exist even if the functionality doesn't? >>>>> 3) what sort of message should it say >>>>> 4) what if I have scope for an extra tab? >>>>> _______________________________________________ >>>>> 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 >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 patrick.lockley at googlemail.com Mon Oct 29 14:13:13 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:13:13 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: are we allowed to? *semi serious question* On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney wrote: > OK! > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 14:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > or we could use the community website > > On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: >> Well, what things would it address: we should make a list somewhere >> (titanpad?) >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:09 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> Happy to give it a whirl - could I ask for a roadmap in return :) >> >> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >>> Agree. Tend to think you'd be an excellent person to write 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 >>> Lockley >>> Sent: 29 October 2012 13:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> I think there is a big case for an API to be honest - allows a lot of >>> stuff to happen >>> >>> but that's just me >>> >>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>>> Yes. >>>> >>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>> >>>> So you might have a sequence of API-like calls, i.e. >>>> >>>> http://server.com/toolkits/getInfo_1234 >>>> >>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>> >>>> Can XML *always* be output as JSON and vice versa? I suppose you can >>>> always crunch what you get for the format you need, but better to >>>> get what you need straight away, >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 13:25 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> Also, would JSON export be more useful / as useful as XML export? >>>> >>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>>> WordPress has a theme supports function, so I am thinking of having >>>>> a list to indicate the tabs per template, or something similar >>>>> >>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>>> 1, 2 & 3 >>>>>> Personally I don't think it's a necessity that the same tabs exist >>>>>> for all templates but I suspect it's easier to just display a >>>>>> message like 'This property is not relevant to this template' than >>>>>> it is to change the code to dynamically change tabs based on the template in use. >>>>>> >>>>>> 4 >>>>>> Increase the properties window size and display 'This property is >>>>>> not relevant to this template' for Xerte templates? >>>>>> >>>>>> Just my quick thoughts... >>>>>> Ron >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>>> Lockley >>>>>> Sent: 29 October 2012 12:48 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>> >>>>>> Hello, >>>>>> >>>>>> On the properties panel there are several options which are sort >>>>>> of xerte specific - XML and media and quota for example. >>>>>> >>>>>> Some of the new templates aren't XML, so XML makes no sense - and >>>>>> the media and quota code is very xerte specific. >>>>>> >>>>>> Would people think >>>>>> >>>>>> 1) all off these options should exist for all templates? >>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>> 3) what sort of message should it say >>>>>> 4) what if I have scope for an extra tab? >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 Oct 29 14:18:19 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:18:19 +0000 Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT In-Reply-To: References: <79F36DCF1B3589429DDB4BB689DBFCDA017B16@DB3PRD0104MB107.eurprd01.prod.exchangelabs.com> <79F36DCF1B3589429DDB4BB689DBFCDA01E26D@DB3PRD0104MB104.eurprd01.prod.exchangelabs.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C028E@EXCHANGE1.ad.nottingham.ac.uk> <858B1BAF-D49C-44DB-B94D-B2BBE3726904@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C034C@EXCHANGE1.ad.nottingham.ac.uk> <0CDEFB24-6A59-4823-806B-E782C01B53A9@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C03DF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> [moved from the xerte list] So here is the problem for us. We (Nottingham) don't have any interest in supporting, or developing standalone Xerte anymore. From our point of view, very few people use it, and it's flash, and is dead or dying. I cannot justify putting our time and effort myself into supporting the old stuff, and I think that if we try and keep the two things running we are just going to make a big mess. At the very least, it makes problems much more complicated. At some point, we need to let the standalone Xerte die, and I'm at that point. The future for me is with toolkits, we saw that at the event a couple of weeks ago when you asked 'how many people use standalone xerte?'. It was hardly any, and they are almost all using templates anyway, and could do that on an xampp install of toolkits. Debate it or not, Nottingham's position is not to put any time into the standalone / flash stuff anymore. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 29 October 2012 12:01 To: Xerte discussion list Subject: [Xerte] Re: plain text connector page problem in XOT The source of the list of pages in a project is different for Xerte projects and for XOT or Page Templates projects. XOT contains the data for all the pages in the project in a single .xml file so the connector pages access the page ID by extXML.firstChild.childNodes[i].attributes.pageID In desktop Xerte pages projects each page has its own separate xml file. Xerte builds an array rootIcon.pages from which the page data can be accessed e.g. rootIcon.pages[i].extXML.firstChild.childNodes[0].attributes.pageID The building of the array takes place at run time and has not completed by the time the rootIcon.onInit event is broadcast. So the data is not available to the xwd file to be able to offer a list of pages. However in desktop Xerte Julian modified the engine so that on changing the page title i.e. name attribute in the page's xwd form this value was transferred to the associated page icon's name attribute written in the .rlo file. So in desktop Xerte the source of the page names would have to be the rlo file. Is it doable that the engine could be coded so that one solution can work in the xwd forms for the pages and for the page models, irrespective of them residing in Xerte or XOT? Kind regards Johnathan Kind regards Johnathan On 29 October 2012 11:33, Julian Tenney > wrote: I can code it, the engine needs to do it, based on that type in .xwd Then the wizard needs to build the list based on the data on the tree, and show the user page titles to choose from. When one is selected it needs to generate an ID if one doesn't exist on the target page, and then link to that. I think that would work? I think also the user could screw it up by changing the ID later and breaking the link: the generated ID would be targ12398637562 or something like that, it would be better to prompt the user to create a friendly one if one didn't exist. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 10:52 To: Xerte discussion list Subject: [Xerte] Re: plain text connector page problem in XOT Strikes me it better to offer a choice of valid options than to try to validate later on? No idea how to code it though Of course you could go crazy and connect to pages in other projects.... On 29 Oct 2012, at 10:43, Julian Tenney > wrote: Good idea. That would require some work in the engine, and a type in the xwd file of 'pageList'. For attributes labelled as such, the engine would then present the drop down, and could generate IDs automagically if they didn't exist... From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 10:34 To: Xerte discussion list Subject: [Xerte] Re: plain text connector page problem in XOT Why not provide a drop down list of pages? On 29 Oct 2012, at 10:30, Kemp Johnathan > wrote: One problem may be that people are failing to locate the documentation that supports the Connector pages. Which does not surprise me as at the moment the only place I know they are accessible from is either the help folder of a desktop Xerte install, or from the SVN. It should be possible to check for page ID and then for page "title". When you say "page title" are you referring to the xml attribute "name" ? In desktop Xerte there is both a "name" and a "title" attribute but in XOT the label "Page Title" is used to refer to the attribute "name". So for Xerte use which would you want it to be? I am concerned that this approach may instead complicate things. By using only Page IDs for connections projects retain a consistency of approach and the connections are safe from side effects resulting from the renaming (retitling) of a page. Page IDs are free from having to do duty as a page title and so can reflect the logical structure of the connections. Perhaps an alternative solution is to include an info statement to remind people to set a page ID for their destination page. Kind regards Johnathan On 29 October 2012 09:35, Julian Tenney > wrote: People are missing the need to create a page ID? Is that the root cause of the problem here? I've wondered if the navigation stuff should use either the page title or the page ID? I've had feedback from people that the ID makes things too complicated / is easy to miss etc. If the code looked first for an ID, and if found, navigated to that, but if not found, it then checked the page titles, and if found, navigated to that, it would catch both situations? We have got to keep the 'keep it simple' mantra in mind here. Andy is an experienced user, and this should be a simple task. This tells me something could be improved. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 27 October 2012 10:38 To: Xerte discussion list Subject: [Xerte] Re: plain text connector page problem in XOT In principle it is possible to add this functionality to any page that has a text block. However this raises the question of when is a connector page not a connector page. For you could end up potentially with a list of connector pages that duplicated most of the existing pages. I would be personally inclined to treat the ability to link from text as in the Plain Text Connector Page as something that is not really a "Connector Page" if we ever went down the route of making this facility available to all text blocks. Almost all the other Connector pages offer facilities to control the navigation options of the destination page, a feature not offered when making a text based connection. I think the concept of connector pages is still in its infancy. There is a bit of tidying up that I am working with Julian on, to improve the options regarding navigation and setting navigation for destination pages. Then I think it will be worth waiting a while and seeing what the take up of the Connector pages is and getting a feel for how people use them. There is also the major issue of HTML5. Until I am clearer about the implications of converting existing Connector pages to HTML5 I am rather loathe to expand the range of Connector pages available. Kind regards Johnathan On 26 October 2012 16:32, Davidson, Andrew > wrote: Thanks Johnathan - very helpful. Yes, it was a very simple solution - Dave showed me that I wasn't inserting a page id where it was needed. Makes sense now but in the instruction I only could see about copying and pasting text with the page id - anyway, it's a great addition for Xerte Online Toolkits and I wonder if it will be possible to add this function to other page types in XOT such as a page with graphics and text or a page with video and text. Best Andy From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 26 October 2012 16:27 To: Xerte discussion list Subject: [Xerte] Re: plain text connector page problem in XOT You have two ways to use the Page Models in Xerte 2.18 desktop. I hope that soon we will be able to improve the File / New menu so that all the options for creating a the different project types are listed there. However currently... If you want a page templates type project i.e. a toolkits style project then do Pages / Create Template Project from Pages. Add pages in the same way as normal for Page Templates or XOT projects. If you want to use the new Pages type project that gives full access to the page models and also the editing environment then do Pages / Create New Page Project Add pages by selecting the "Interface" element in the project tree and then select the page type that you want to add from the range of page type folders that you will find off the Pages Menu. As to how to duplicate the problem that Andrew is experiencing, I am not sure since I am not sure what the cause of the problem is. It may be as simple as not having specified a page ID for the destination page. Kind regards Johnathan On 25 October 2012 17:19, Dave Burnett > wrote: Johnathan, how would one go about recreating Andy's situation in 2.18 desktop? Thnx, Dave Date: Thu, 25 Oct 2012 17:13:52 +0100 From: johnathan.kemp at ntlworld.com To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Re: plain text connector page problem in XOT The link to your project is not much help as I can't access the values you have entered into the form for the page. If you take a look at the learning object you should find it has an optional property of "Add Author Support". Add this attribute to your learning object and ensure the check box is ticked. Then play your project once more and try your hyperlink. You should see a message displayed "Page ID: somePageID could not be found in this project" Where "somePageID" will be the pageID you have specified in your link. Then check the destination page to ensure that you have given it an optional attribute of "Page ID" and that you have set the Page ID attribute to the value you have used in your link. That should sort it. Kind regards Johnathan On 25 October 2012 15:34, Davidson, Andrew > wrote: Hi I am trying to use the plain text connector page in XOT but for some reason I can't get the link to work - http://xerte.warwick.ac.uk/play_116 it highlights as a link on page 3 but does not link back to page 2. Here is the code I entered as a hyperlink asfunction:_level0.engine.fnTextCon,page2 any ideas? Thanks. This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely 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 Mon Oct 29 14:18:40 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:18:40 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> Is there a wiki? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties are we allowed to? *semi serious question* On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney wrote: > OK! > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 14:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > or we could use the community website > > On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: >> Well, what things would it address: we should make a list somewhere >> (titanpad?) >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:09 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> Happy to give it a whirl - could I ask for a roadmap in return :) >> >> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >>> Agree. Tend to think you'd be an excellent person to write 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 >>> Lockley >>> Sent: 29 October 2012 13:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> I think there is a big case for an API to be honest - allows a lot >>> of stuff to happen >>> >>> but that's just me >>> >>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>>> Yes. >>>> >>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>> >>>> So you might have a sequence of API-like calls, i.e. >>>> >>>> http://server.com/toolkits/getInfo_1234 >>>> >>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>> >>>> Can XML *always* be output as JSON and vice versa? I suppose you >>>> can always crunch what you get for the format you need, but better >>>> to get what you need straight away, >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 13:25 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> Also, would JSON export be more useful / as useful as XML export? >>>> >>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>>> WordPress has a theme supports function, so I am thinking of >>>>> having a list to indicate the tabs per template, or something >>>>> similar >>>>> >>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>>> 1, 2 & 3 >>>>>> Personally I don't think it's a necessity that the same tabs >>>>>> exist for all templates but I suspect it's easier to just display >>>>>> a message like 'This property is not relevant to this template' >>>>>> than it is to change the code to dynamically change tabs based on the template in use. >>>>>> >>>>>> 4 >>>>>> Increase the properties window size and display 'This property is >>>>>> not relevant to this template' for Xerte templates? >>>>>> >>>>>> Just my quick thoughts... >>>>>> Ron >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Pat Lockley >>>>>> Sent: 29 October 2012 12:48 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>> >>>>>> Hello, >>>>>> >>>>>> On the properties panel there are several options which are sort >>>>>> of xerte specific - XML and media and quota for example. >>>>>> >>>>>> Some of the new templates aren't XML, so XML makes no sense - and >>>>>> the media and quota code is very xerte specific. >>>>>> >>>>>> Would people think >>>>>> >>>>>> 1) all off these options should exist for all templates? >>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>> 3) what sort of message should it say >>>>>> 4) what if I have scope for an extra tab? >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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 Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:19:25 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:19:25 +0000 Subject: [Xerte-dev] FW: [Xerte] work in the engine ... help Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0552@EXCHANGE1.ad.nottingham.ac.uk> Same answer here as well. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan Sent: 29 October 2012 12:22 To: Xerte discussion list Subject: [Xerte] work in the engine ... help Julian whilst you are talking about "work in the engine..." Part of the recent discussion regarding the Connector page ID has been about what information we make available to support the author in the use of the page. It seems to me that we have two possibly conflicting demands on Xerte / XOT 1. Keep it simple 2. Provide more complex page types e.g. Mapstraction, Connector Pages, to meet the demands of specific project needs, more experience users, learning technologists etc. More features can be perceived as making a page type less intuitive or less simple to use. But much of this could be resolved if some simple help documentation could be made available to the page user, from the xwd form. The current xwd forms are rather limited in the support you can provide from within the form. Ron Mitchell sent me a sample project based on work carried out prior to the development of XOT which included support for help links either for each field or from an info tag. However there appear to be issues with the addressing of the files linked to depending whether you are in Xerte or XOT. Ron wrote "However from a quick test it seems the info tag link might only work with a full url e.g. Help for plain text connector. Click here]]> also in XOT the local help links alongside each option only seem to work in desktop even if a full url is used. XOT didn't even exist when we first implemented this so it would probably need a change to the engine code to allow the help links to work in XOT and local info links to work in desktop. " At present in both XOT and Xerte we have the ability to access an image for a page type and a brief description. The engine manages the locating of these files, which are stored in specific folders in the project folder or XOT installation. Would it not be possible to utilise this same approach to open from the page's xwd a help file. If this was a pdf we could have a single file that could include graphics and text as well as links to sections of the document if required. Help files could be created in Open Office which is Open Source. Kind regards Johnathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001.txt URL: From patrick.lockley at googlemail.com Mon Oct 29 14:21:17 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:21:17 +0000 Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> References: <79F36DCF1B3589429DDB4BB689DBFCDA017B16@DB3PRD0104MB107.eurprd01.prod.exchangelabs.com> <79F36DCF1B3589429DDB4BB689DBFCDA01E26D@DB3PRD0104MB104.eurprd01.prod.exchangelabs.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C028E@EXCHANGE1.ad.nottingham.ac.uk> <858B1BAF-D49C-44DB-B94D-B2BBE3726904@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C034C@EXCHANGE1.ad.nottingham.ac.uk> <0CDEFB24-6A59-4823-806B-E782C01B53A9@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C03DF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: The editor is still flash though? On Mon, Oct 29, 2012 at 2:18 PM, Julian Tenney wrote: > [moved from the xerte list] > > So here is the problem for us. We (Nottingham) don?t have any interest in > supporting, or developing standalone Xerte anymore. From our point of view, > very few people use it, and it?s flash, and is dead or dying. > > > > I cannot justify putting our time and effort myself into supporting the old > stuff, and I think that if we try and keep the two things running we are > just going to make a big mess. At the very least, it makes problems much > more complicated. At some point, we need to let the standalone Xerte die, > and I?m at that point. The future for me is with toolkits, we saw that at > the event a couple of weeks ago when you asked ?how many people use > standalone xerte??. It was hardly any, and they are almost all using > templates anyway, and could do that on an xampp install of toolkits. > > > > Debate it or not, Nottingham?s position is not to put any time into the > standalone / flash stuff anymore. > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan > Sent: 29 October 2012 12:01 > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > The source of the list of pages in a project is different for Xerte projects > and for XOT or Page Templates projects. > > XOT contains the data for all the pages in the project in a single .xml file > so the connector pages access the page ID by > > extXML.firstChild.childNodes[i].attributes.pageID > > In desktop Xerte pages projects each page has its own separate xml file. > Xerte builds an array rootIcon.pages from which the page data can be > accessed e.g. > > rootIcon.pages[i].extXML.firstChild.childNodes[0].attributes.pageID > > The building of the array takes place at run time and has not completed by > the time the rootIcon.onInit event is broadcast. So the data is not > available to the xwd file to be able to offer a list of pages. > > > > However in desktop Xerte Julian modified the engine so that on changing the > page title i.e. name attribute in the page's xwd form this value was > transferred to the associated page icon's name attribute written in the > .rlo file. So in desktop Xerte the source of the page names would have to be > the rlo file. > > > > Is it doable that the engine could be coded so that one solution can work in > the xwd forms for the pages and for the page models, irrespective of them > residing in Xerte or XOT? > > > > Kind regards > > > > Johnathan > > > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 11:33, Julian Tenney > wrote: > > I can code it, the engine needs to do it, based on that type in .xwd > > > > > > > > Then the wizard needs to build the list based on the data on the tree, and > show the user page titles to choose from. When one is selected it needs to > generate an ID if one doesn?t exist on the target page, and then link to > that. I think that would work? I think also the user could screw it up by > changing the ID later and breaking the link: the generated ID would be > targ12398637562 or something like that, it would be better to prompt the > user to create a friendly one if one didn?t exist. > > > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 10:52 > > > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > Strikes me it better to offer a choice of valid options than to try to > validate later on? > > > > No idea how to code it though > > > > Of course you could go crazy and connect to pages in other projects.... > > On 29 Oct 2012, at 10:43, Julian Tenney > wrote: > > Good idea. That would require some work in the engine, and a type in the xwd > file of ?pageList?. For attributes labelled as such, the engine would then > present the drop down, and could generate IDs automagically if they didn?t > exist? > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 10:34 > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > Why not provide a drop down list of pages? > > On 29 Oct 2012, at 10:30, Kemp Johnathan > wrote: > > One problem may be that people are failing to locate the documentation that > supports the Connector pages. Which does not surprise me as at the moment > the only place I know they are accessible from is either the help folder of > a desktop Xerte install, or from the SVN. > > > > It should be possible to check for page ID and then for page "title". > > When you say "page title" are you referring to the xml attribute "name" ? > > In desktop Xerte there is both a "name" and a "title" attribute but in XOT > the label "Page Title" is used to refer to the attribute "name". So for > Xerte use which would you want it to be? > > > > I am concerned that this approach may instead complicate things. By using > only Page IDs for connections projects retain a consistency of approach and > the connections are safe from side effects resulting from the renaming > (retitling) of a page. Page IDs are free from having to do duty as a page > title and so can reflect the logical structure of the connections. > > > > Perhaps an alternative solution is to include an info statement to remind > people to set a page ID for their destination page. > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 09:35, Julian Tenney > wrote: > > People are missing the need to create a page ID? Is that the root cause of > the problem here? > > > > I?ve wondered if the navigation stuff should use either the page title or > the page ID? I?ve had feedback from people that the ID makes things too > complicated / is easy to miss etc. If the code looked first for an ID, and > if found, navigated to that, but if not found, it then checked the page > titles, and if found, navigated to that, it would catch both situations? > > > > We have got to keep the ?keep it simple? mantra in mind here. Andy is an > experienced user, and this should be a simple task. This tells me something > could be improved. > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan > Sent: 27 October 2012 10:38 > > > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > In principle it is possible to add this functionality to any page that has a > text block. > > > > However this raises the question of when is a connector page not a connector > page. For you could end up potentially with a list of connector pages that > duplicated most of the existing pages. I would be personally inclined to > treat the ability to link from text as in the Plain Text Connector Page as > something that is not really a "Connector Page" if we ever went down the > route of making this facility available to all text blocks. Almost all the > other Connector pages offer facilities to control the navigation options of > the destination page, a feature not offered when making a text based > connection. > > > > I think the concept of connector pages is still in its infancy. There is a > bit of tidying up that I am working with Julian on, to improve the options > regarding navigation and setting navigation for destination pages. Then I > think it will be worth waiting a while and seeing what the take up of the > Connector pages is and getting a feel for how people use them. > > > > There is also the major issue of HTML5. Until I am clearer about the > implications of converting existing Connector pages to HTML5 I am rather > loathe to expand the range of Connector pages available. > > > > Kind regards > > > > Johnathan > > > > On 26 October 2012 16:32, Davidson, Andrew > wrote: > > Thanks Johnathan ? very helpful. Yes, it was a very simple solution ? Dave > showed me that I wasn?t inserting a page id where it was needed. Makes sense > now but in the instruction I only could see about copying and pasting text > with the page id ? anyway, it?s a great addition for Xerte Online Toolkits > and I wonder if it will be possible to add this function to other page types > in XOT such as a page with graphics and text or a page with video and text. > > > > Best > > > > Andy > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan > Sent: 26 October 2012 16:27 > To: Xerte discussion list > > > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > You have two ways to use the Page Models in Xerte 2.18 desktop. I hope that > soon we will be able to improve the File / New menu so that all the options > for creating a the different project types are listed there. However > currently... > > > > If you want a page templates type project i.e. a toolkits style project then > do > > Pages / Create Template Project from Pages. > > > > Add pages in the same way as normal for Page Templates or XOT projects. > > > > If you want to use the new Pages type project that gives full access to the > page models and also the editing environment then do > > > > Pages / Create New Page Project > > > > Add pages by selecting the "Interface" element in the project tree and then > select the page type that you want to add from the range of page type > folders that you will find off the Pages Menu. > > > > As to how to duplicate the problem that Andrew is experiencing, I am not > sure since I am not sure what the cause of the problem is. It may be as > simple as not having specified a page ID for the destination page. > > > > Kind regards > > > > Johnathan > > > > > > On 25 October 2012 17:19, Dave Burnett wrote: > > Johnathan, how would one go about recreating Andy's situation in 2.18 > desktop? > > > > Thnx, > > Dave > > > > > > > > Date: Thu, 25 Oct 2012 17:13:52 +0100 > > From: johnathan.kemp at ntlworld.com > > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > The link to your project is not much help as I can't access the values you > have entered into the form for the page. > > > > If you take a look at the learning object you should find it has an optional > property of "Add Author Support". Add this attribute to your learning object > and ensure the check box is ticked. Then play your project once more and try > your hyperlink. You should see a message displayed "Page ID: somePageID > could not be found in this project" > > > > Where "somePageID" will be the pageID you have specified in your link. > > > > Then check the destination page to ensure that you have given it an optional > attribute of "Page ID" and that you have set the Page ID attribute to the > value you have used in your link. > > > > That should sort it. > > > > Kind regards > > > > Johnathan > > > > On 25 October 2012 15:34, Davidson, Andrew > wrote: > > Hi > > I am trying to use the plain text connector page in XOT but for some reason > I can?t get the link to work ? http://xerte.warwick.ac.uk/play_116 > > it highlights as a link on page 3 but does not link back to page 2. Here is > the code I entered as a hyperlink > > asfunction:_level0.engine.fnTextCon,page2 > > any ideas? > > Thanks. > > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any > attachment are intended solely for the addressee and may contain > confidential information. If you have received this message in error, please > send it back to me, and immediately delete it. Please do not use, copy or > disclose the information contained in this message or in any attachment. Any > views or opinions expressed by the author of this email do not necessarily > reflect the views of the University of Nottingham. This message has been > checked for viruses but the contents of an attachment may still contain > software viruses which could damage your computer system: you are advised to > perform your own checks. Email communications with the University of > Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely 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 reijnders at tor.nl Mon Oct 29 14:21:39 2012 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 29 Oct 2012 15:21:39 +0100 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <508E90F3.3030209@tor.nl> Yes Op 29-10-2012 15:18, Julian Tenney schreef: > Is there a wiki? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 14:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > are we allowed to? *semi serious question* > > On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney wrote: >> OK! >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:12 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> or we could use the community website >> >> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: >>> Well, what things would it address: we should make a list somewhere >>> (titanpad?) >>> >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 14:09 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> Happy to give it a whirl - could I ask for a roadmap in return :) >>> >>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >>>> Agree. Tend to think you'd be an excellent person to write 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 >>>> Lockley >>>> Sent: 29 October 2012 13:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> I think there is a big case for an API to be honest - allows a lot >>>> of stuff to happen >>>> >>>> but that's just me >>>> >>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>>>> Yes. >>>>> >>>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>>> >>>>> So you might have a sequence of API-like calls, i.e. >>>>> >>>>> http://server.com/toolkits/getInfo_1234 >>>>> >>>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>>> >>>>> Can XML *always* be output as JSON and vice versa? I suppose you >>>>> can always crunch what you get for the format you need, but better >>>>> to get what you need straight away, >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>> Lockley >>>>> Sent: 29 October 2012 13:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>> >>>>> Also, would JSON export be more useful / as useful as XML export? >>>>> >>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>>>> WordPress has a theme supports function, so I am thinking of >>>>>> having a list to indicate the tabs per template, or something >>>>>> similar >>>>>> >>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>>>> 1, 2 & 3 >>>>>>> Personally I don't think it's a necessity that the same tabs >>>>>>> exist for all templates but I suspect it's easier to just display >>>>>>> a message like 'This property is not relevant to this template' >>>>>>> than it is to change the code to dynamically change tabs based on the template in use. >>>>>>> >>>>>>> 4 >>>>>>> Increase the properties window size and display 'This property is >>>>>>> not relevant to this template' for Xerte templates? >>>>>>> >>>>>>> Just my quick thoughts... >>>>>>> Ron >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Pat Lockley >>>>>>> Sent: 29 October 2012 12:48 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> On the properties panel there are several options which are sort >>>>>>> of xerte specific - XML and media and quota for example. >>>>>>> >>>>>>> Some of the new templates aren't XML, so XML makes no sense - and >>>>>>> the media and quota code is very xerte specific. >>>>>>> >>>>>>> Would people think >>>>>>> >>>>>>> 1) all off these options should exist for all templates? >>>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>>> 3) what sort of message should it say >>>>>>> 4) what if I have scope for an extra tab? >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> 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 >>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:22:40 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:22:40 +0000 Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT In-Reply-To: References: <79F36DCF1B3589429DDB4BB689DBFCDA017B16@DB3PRD0104MB107.eurprd01.prod.exchangelabs.com> <79F36DCF1B3589429DDB4BB689DBFCDA01E26D@DB3PRD0104MB104.eurprd01.prod.exchangelabs.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C028E@EXCHANGE1.ad.nottingham.ac.uk> <858B1BAF-D49C-44DB-B94D-B2BBE3726904@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C034C@EXCHANGE1.ad.nottingham.ac.uk> <0CDEFB24-6A59-4823-806B-E782C01B53A9@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C03DF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C055D@EXCHANGE1.ad.nottingham.ac.uk> The toolkits wizard? Yes it is, but that's not really a problem. IUt would be good to have a crack at migrating it to HTML, but it's not a priority just now, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:21 To: For Xerte technical developers Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT The editor is still flash though? On Mon, Oct 29, 2012 at 2:18 PM, Julian Tenney wrote: > [moved from the xerte list] > > So here is the problem for us. We (Nottingham) don't have any interest > in supporting, or developing standalone Xerte anymore. From our point > of view, very few people use it, and it's flash, and is dead or dying. > > > > I cannot justify putting our time and effort myself into supporting > the old stuff, and I think that if we try and keep the two things > running we are just going to make a big mess. At the very least, it > makes problems much more complicated. At some point, we need to let > the standalone Xerte die, and I'm at that point. The future for me is > with toolkits, we saw that at the event a couple of weeks ago when you > asked 'how many people use standalone xerte?'. It was hardly any, and > they are almost all using templates anyway, and could do that on an xampp install of toolkits. > > > > Debate it or not, Nottingham's position is not to put any time into > the standalone / flash stuff anymore. > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp > Johnathan > Sent: 29 October 2012 12:01 > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > The source of the list of pages in a project is different for Xerte > projects and for XOT or Page Templates projects. > > XOT contains the data for all the pages in the project in a single > .xml file so the connector pages access the page ID by > > extXML.firstChild.childNodes[i].attributes.pageID > > In desktop Xerte pages projects each page has its own separate xml file. > Xerte builds an array rootIcon.pages from which the page data can be > accessed e.g. > > rootIcon.pages[i].extXML.firstChild.childNodes[0].attributes.pageID > > The building of the array takes place at run time and has not > completed by the time the rootIcon.onInit event is broadcast. So the > data is not available to the xwd file to be able to offer a list of pages. > > > > However in desktop Xerte Julian modified the engine so that on > changing the page title i.e. name attribute in the page's xwd form > this value was transferred to the associated page icon's name > attribute written in the .rlo file. So in desktop Xerte the source of > the page names would have to be the rlo file. > > > > Is it doable that the engine could be coded so that one solution can > work in the xwd forms for the pages and for the page models, > irrespective of them residing in Xerte or XOT? > > > > Kind regards > > > > Johnathan > > > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 11:33, Julian Tenney > > wrote: > > I can code it, the engine needs to do it, based on that type in .xwd > > > > > > > > Then the wizard needs to build the list based on the data on the tree, > and show the user page titles to choose from. When one is selected it > needs to generate an ID if one doesn't exist on the target page, and > then link to that. I think that would work? I think also the user > could screw it up by changing the ID later and breaking the link: the > generated ID would be > targ12398637562 or something like that, it would be better to prompt > the user to create a friendly one if one didn't exist. > > > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 10:52 > > > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > Strikes me it better to offer a choice of valid options than to try to > validate later on? > > > > No idea how to code it though > > > > Of course you could go crazy and connect to pages in other projects.... > > On 29 Oct 2012, at 10:43, Julian Tenney > > wrote: > > Good idea. That would require some work in the engine, and a type in > the xwd file of 'pageList'. For attributes labelled as such, the > engine would then present the drop down, and could generate IDs > automagically if they didn't exist... > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 10:34 > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > Why not provide a drop down list of pages? > > On 29 Oct 2012, at 10:30, Kemp Johnathan > wrote: > > One problem may be that people are failing to locate the documentation > that supports the Connector pages. Which does not surprise me as at > the moment the only place I know they are accessible from is either > the help folder of a desktop Xerte install, or from the SVN. > > > > It should be possible to check for page ID and then for page "title". > > When you say "page title" are you referring to the xml attribute "name" ? > > In desktop Xerte there is both a "name" and a "title" attribute but in > XOT the label "Page Title" is used to refer to the attribute "name". > So for Xerte use which would you want it to be? > > > > I am concerned that this approach may instead complicate things. By > using only Page IDs for connections projects retain a consistency of > approach and the connections are safe from side effects resulting from > the renaming > (retitling) of a page. Page IDs are free from having to do duty as a > page title and so can reflect the logical structure of the connections. > > > > Perhaps an alternative solution is to include an info statement to > remind people to set a page ID for their destination page. > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 09:35, Julian Tenney > > wrote: > > People are missing the need to create a page ID? Is that the root > cause of the problem here? > > > > I've wondered if the navigation stuff should use either the page title > or the page ID? I've had feedback from people that the ID makes things > too complicated / is easy to miss etc. If the code looked first for an > ID, and if found, navigated to that, but if not found, it then checked > the page titles, and if found, navigated to that, it would catch both situations? > > > > We have got to keep the 'keep it simple' mantra in mind here. Andy is > an experienced user, and this should be a simple task. This tells me > something could be improved. > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp > Johnathan > Sent: 27 October 2012 10:38 > > > To: Xerte discussion list > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > In principle it is possible to add this functionality to any page that > has a text block. > > > > However this raises the question of when is a connector page not a > connector page. For you could end up potentially with a list of > connector pages that duplicated most of the existing pages. I would be > personally inclined to treat the ability to link from text as in the > Plain Text Connector Page as something that is not really a "Connector > Page" if we ever went down the route of making this facility available > to all text blocks. Almost all the other Connector pages offer > facilities to control the navigation options of the destination page, > a feature not offered when making a text based connection. > > > > I think the concept of connector pages is still in its infancy. There > is a bit of tidying up that I am working with Julian on, to improve > the options regarding navigation and setting navigation for > destination pages. Then I think it will be worth waiting a while and > seeing what the take up of the Connector pages is and getting a feel for how people use them. > > > > There is also the major issue of HTML5. Until I am clearer about the > implications of converting existing Connector pages to HTML5 I am > rather loathe to expand the range of Connector pages available. > > > > Kind regards > > > > Johnathan > > > > On 26 October 2012 16:32, Davidson, Andrew > > wrote: > > Thanks Johnathan - very helpful. Yes, it was a very simple solution - > Dave showed me that I wasn't inserting a page id where it was needed. > Makes sense now but in the instruction I only could see about copying > and pasting text with the page id - anyway, it's a great addition for > Xerte Online Toolkits and I wonder if it will be possible to add this > function to other page types in XOT such as a page with graphics and text or a page with video and text. > > > > Best > > > > Andy > > > > From: xerte-bounces at lists.nottingham.ac.uk > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp > Johnathan > Sent: 26 October 2012 16:27 > To: Xerte discussion list > > > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > You have two ways to use the Page Models in Xerte 2.18 desktop. I hope > that soon we will be able to improve the File / New menu so that all > the options for creating a the different project types are listed > there. However currently... > > > > If you want a page templates type project i.e. a toolkits style > project then do > > Pages / Create Template Project from Pages. > > > > Add pages in the same way as normal for Page Templates or XOT projects. > > > > If you want to use the new Pages type project that gives full access > to the page models and also the editing environment then do > > > > Pages / Create New Page Project > > > > Add pages by selecting the "Interface" element in the project tree and > then select the page type that you want to add from the range of page > type folders that you will find off the Pages Menu. > > > > As to how to duplicate the problem that Andrew is experiencing, I am > not sure since I am not sure what the cause of the problem is. It may > be as simple as not having specified a page ID for the destination page. > > > > Kind regards > > > > Johnathan > > > > > > On 25 October 2012 17:19, Dave Burnett wrote: > > Johnathan, how would one go about recreating Andy's situation in 2.18 > desktop? > > > > Thnx, > > Dave > > > > > > > > Date: Thu, 25 Oct 2012 17:13:52 +0100 > > From: johnathan.kemp at ntlworld.com > > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > The link to your project is not much help as I can't access the values > you have entered into the form for the page. > > > > If you take a look at the learning object you should find it has an > optional property of "Add Author Support". Add this attribute to your > learning object and ensure the check box is ticked. Then play your > project once more and try your hyperlink. You should see a message > displayed "Page ID: somePageID could not be found in this project" > > > > Where "somePageID" will be the pageID you have specified in your link. > > > > Then check the destination page to ensure that you have given it an > optional attribute of "Page ID" and that you have set the Page ID > attribute to the value you have used in your link. > > > > That should sort it. > > > > Kind regards > > > > Johnathan > > > > On 25 October 2012 15:34, Davidson, Andrew > > wrote: > > Hi > > I am trying to use the plain text connector page in XOT but for some > reason I can't get the link to work - > http://xerte.warwick.ac.uk/play_116 > > it highlights as a link on page 3 but does not link back to page 2. > Here is the code I entered as a hyperlink > > asfunction:_level0.engine.fnTextCon,page2 > > any ideas? > > Thanks. > > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this > message in error, please send it back to me, and immediately delete > it. Please do not use, copy or disclose the information contained in > this message or in any attachment. Any views or opinions expressed by > the author of this email do not necessarily reflect the views of the University of Nottingham. > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and > any attachment are intended solely for the addressee and may contain > confidential information. If you have received this message in error, > please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of > Nottingham. This message has been checked for viruses but the contents > of an attachment may still contain software viruses which could damage > your computer system: you are advised to perform your own checks. > Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee > and may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely 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 Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:23:26 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:23:26 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <508E90F3.3030209@tor.nl> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> Let's use that then. I might need some guidance around the community website stuff - I don't know what's there, or where to find it, -----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: 29 October 2012 14:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties Yes Op 29-10-2012 15:18, Julian Tenney schreef: > Is there a wiki? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 14:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > are we allowed to? *semi serious question* > > On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney wrote: >> OK! >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:12 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> or we could use the community website >> >> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: >>> Well, what things would it address: we should make a list somewhere >>> (titanpad?) >>> >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 14:09 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> Happy to give it a whirl - could I ask for a roadmap in return :) >>> >>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >>>> Agree. Tend to think you'd be an excellent person to write 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 >>>> Lockley >>>> Sent: 29 October 2012 13:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> I think there is a big case for an API to be honest - allows a lot >>>> of stuff to happen >>>> >>>> but that's just me >>>> >>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>>>> Yes. >>>>> >>>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>>> >>>>> So you might have a sequence of API-like calls, i.e. >>>>> >>>>> http://server.com/toolkits/getInfo_1234 >>>>> >>>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>>> >>>>> Can XML *always* be output as JSON and vice versa? I suppose you >>>>> can always crunch what you get for the format you need, but better >>>>> to get what you need straight away, >>>>> >>>>> -----Original Message----- >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>> Lockley >>>>> Sent: 29 October 2012 13:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>> >>>>> Also, would JSON export be more useful / as useful as XML export? >>>>> >>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>>>> WordPress has a theme supports function, so I am thinking of >>>>>> having a list to indicate the tabs per template, or something >>>>>> similar >>>>>> >>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>>>> 1, 2 & 3 >>>>>>> Personally I don't think it's a necessity that the same tabs >>>>>>> exist for all templates but I suspect it's easier to just >>>>>>> display a message like 'This property is not relevant to this template' >>>>>>> than it is to change the code to dynamically change tabs based on the template in use. >>>>>>> >>>>>>> 4 >>>>>>> Increase the properties window size and display 'This property >>>>>>> is not relevant to this template' for Xerte templates? >>>>>>> >>>>>>> Just my quick thoughts... >>>>>>> Ron >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Pat Lockley >>>>>>> Sent: 29 October 2012 12:48 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> On the properties panel there are several options which are sort >>>>>>> of xerte specific - XML and media and quota for example. >>>>>>> >>>>>>> Some of the new templates aren't XML, so XML makes no sense - >>>>>>> and the media and quota code is very xerte specific. >>>>>>> >>>>>>> Would people think >>>>>>> >>>>>>> 1) all off these options should exist for all templates? >>>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>>> 3) what sort of message should it say >>>>>>> 4) what if I have scope for an extra tab? >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> 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 >>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 -- -- 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 patrick.lockley at googlemail.com Mon Oct 29 14:24:07 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:24:07 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I propose two wiki pages 1 for API 2 for roadmap On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney wrote: > Let's use that then. I might need some guidance around the community website stuff - I don't know what's there, or where to find it, > > -----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: 29 October 2012 14:22 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Yes > > Op 29-10-2012 15:18, Julian Tenney schreef: >> Is there a wiki? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> are we allowed to? *semi serious question* >> >> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney wrote: >>> OK! >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 14:12 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> or we could use the community website >>> >>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney wrote: >>>> Well, what things would it address: we should make a list somewhere >>>> (titanpad?) >>>> >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 14:09 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> Happy to give it a whirl - could I ask for a roadmap in return :) >>>> >>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney wrote: >>>>> Agree. Tend to think you'd be an excellent person to write 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 >>>>> Lockley >>>>> Sent: 29 October 2012 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>> >>>>> I think there is a big case for an API to be honest - allows a lot >>>>> of stuff to happen >>>>> >>>>> but that's just me >>>>> >>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney wrote: >>>>>> Yes. >>>>>> >>>>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>>>> >>>>>> So you might have a sequence of API-like calls, i.e. >>>>>> >>>>>> http://server.com/toolkits/getInfo_1234 >>>>>> >>>>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>>>> >>>>>> Can XML *always* be output as JSON and vice versa? I suppose you >>>>>> can always crunch what you get for the format you need, but better >>>>>> to get what you need straight away, >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>>>> Lockley >>>>>> Sent: 29 October 2012 13:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>>> >>>>>> Also, would JSON export be more useful / as useful as XML export? >>>>>> >>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley wrote: >>>>>>> WordPress has a theme supports function, so I am thinking of >>>>>>> having a list to indicate the tabs per template, or something >>>>>>> similar >>>>>>> >>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell wrote: >>>>>>>> 1, 2 & 3 >>>>>>>> Personally I don't think it's a necessity that the same tabs >>>>>>>> exist for all templates but I suspect it's easier to just >>>>>>>> display a message like 'This property is not relevant to this template' >>>>>>>> than it is to change the code to dynamically change tabs based on the template in use. >>>>>>>> >>>>>>>> 4 >>>>>>>> Increase the properties window size and display 'This property >>>>>>>> is not relevant to this template' for Xerte templates? >>>>>>>> >>>>>>>> Just my quick thoughts... >>>>>>>> Ron >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Pat Lockley >>>>>>>> Sent: 29 October 2012 12:48 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> On the properties panel there are several options which are sort >>>>>>>> of xerte specific - XML and media and quota for example. >>>>>>>> >>>>>>>> Some of the new templates aren't XML, so XML makes no sense - >>>>>>>> and the media and quota code is very xerte specific. >>>>>>>> >>>>>>>> Would people think >>>>>>>> >>>>>>>> 1) all off these options should exist for all templates? >>>>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>>>> 3) what sort of message should it say >>>>>>>> 4) what if I have scope for an extra tab? >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> _______________________________________________ >>>> 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 >>> >>> _______________________________________________ >>> 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 > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon Oct 29 14:33:38 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 14:33:38 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> There was some useful (really) work from OSSWatch recently on Rogo (another application we develop here) around their openness rating: I looked at the things they had used to judge it, and applied them to Toolkits, and made a list of things we should do to make our project more 'open': the list is below. That includes things like roadmap, some other useful things as well. I want to work through this list and address as much of it as possible, I think that will drive some content to the community site. We already score quite well (about 60), though OSS watch would say we should try and score more than 80, and I think in general the things they point at are good sensible things we should do. OSSwatch are coming here tomorrow, so I'll probably add to this, Xerte Rogo Legal 65.52 75 Standards 68 73 Knowledge 46.3 13 Governance 56 16 Market 86.67 38 Openness Rating 59.65 ? Average 64.5 43 Legal Document project dependencies and audit license compatibility. Consider and make explicit options for sub-licensing. Clarify re-distribution of entire project under GPL3 Make licensing explicit. Add license headers to all source files. Standards Minimise reliance on closed proprietary standards. Flash player Use standards ratified by standards bodies? Use Project Management methodology, and have regular, predictable releases. Identify and document a standards policy for the project. Knowledge Documentation: developer, installer, user. Design documents Define and Implement QA Process Project roadmap Machine readable meta-data? Project Chat / IRC? Make all decisions in a public environment Provide alternative sources of the knowledge / archives / include in the SVN Governance Clear Leadership. Define the roles in the project and make them clear. Make the structure and policies of the project clear: decision making process. Document how to get involved in the project and behavioural guidelines for contributors. Consider elected leadership? Ensure contributors have rights to contribute. Consistent, predictable release cycle and development iterations. Provide translations of all the project documentation Implement consistent development process, and how to contribute code. Market Increase number of organisations with rights to modify the code. Increase number of 'paid for' contributors. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties I propose two wiki pages 1 for API 2 for roadmap On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney > wrote: > Let's use that then. I might need some guidance around the community > website stuff - I don't know what's there, or where to find it, > > -----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: 29 October 2012 14:22 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Yes > > Op 29-10-2012 15:18, Julian Tenney schreef: >> Is there a wiki? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> are we allowed to? *semi serious question* >> >> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney > wrote: >>> OK! >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>> Lockley >>> Sent: 29 October 2012 14:12 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: 1.9 properties >>> >>> or we could use the community website >>> >>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney > wrote: >>>> Well, what things would it address: we should make a list somewhere >>>> (titanpad?) >>>> >>>> >>>> -----Original Message----- >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >>>> Lockley >>>> Sent: 29 October 2012 14:09 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: 1.9 properties >>>> >>>> Happy to give it a whirl - could I ask for a roadmap in return :) >>>> >>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney > wrote: >>>>> Agree. Tend to think you'd be an excellent person to write 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 >>>>> Lockley >>>>> Sent: 29 October 2012 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>> >>>>> I think there is a big case for an API to be honest - allows a lot >>>>> of stuff to happen >>>>> >>>>> but that's just me >>>>> >>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney > wrote: >>>>>> Yes. >>>>>> >>>>>> I don't think many people have done anything, but accessing the raw data easily is really useful if you want to start messing with it, putting into other formats etc, so if it's not on the properties tab, as long as it's available (and you can find out how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >>>>>> >>>>>> So you might have a sequence of API-like calls, i.e. >>>>>> >>>>>> http://server.com/toolkits/getInfo_1234 >>>>>> >>>>>> //returns info to tell you what you can expect and in what format, or what params you can use in your request for the data. >>>>>> >>>>>> Can XML *always* be output as JSON and vice versa? I suppose you >>>>>> can always crunch what you get for the format you need, but >>>>>> better to get what you need straight away, >>>>>> >>>>>> -----Original Message----- >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Pat Lockley >>>>>> Sent: 29 October 2012 13:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: 1.9 properties >>>>>> >>>>>> Also, would JSON export be more useful / as useful as XML export? >>>>>> >>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley > wrote: >>>>>>> WordPress has a theme supports function, so I am thinking of >>>>>>> having a list to indicate the tabs per template, or something >>>>>>> similar >>>>>>> >>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell > wrote: >>>>>>>> 1, 2 & 3 >>>>>>>> Personally I don't think it's a necessity that the same tabs >>>>>>>> exist for all templates but I suspect it's easier to just >>>>>>>> display a message like 'This property is not relevant to this template' >>>>>>>> than it is to change the code to dynamically change tabs based on the template in use. >>>>>>>> >>>>>>>> 4 >>>>>>>> Increase the properties window size and display 'This property >>>>>>>> is not relevant to this template' for Xerte templates? >>>>>>>> >>>>>>>> Just my quick thoughts... >>>>>>>> Ron >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Pat Lockley >>>>>>>> Sent: 29 October 2012 12:48 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] 1.9 properties >>>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> On the properties panel there are several options which are >>>>>>>> sort of xerte specific - XML and media and quota for example. >>>>>>>> >>>>>>>> Some of the new templates aren't XML, so XML makes no sense - >>>>>>>> and the media and quota code is very xerte specific. >>>>>>>> >>>>>>>> Would people think >>>>>>>> >>>>>>>> 1) all off these options should exist for all templates? >>>>>>>> 2) should tabs exist even if the functionality doesn't? >>>>>>>> 3) what sort of message should it say >>>>>>>> 4) what if I have scope for an extra tab? >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> _______________________________________________ >>>> 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 >>> >>> _______________________________________________ >>> 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 > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ 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 patrick.lockley at googlemail.com Mon Oct 29 14:42:36 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 14:42:36 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Some of those seem a little arbitrary (machine readable metadata? for?) On Mon, Oct 29, 2012 at 2:33 PM, Julian Tenney wrote: > There was some useful (really) work from OSSWatch recently on Rogo (another > application we develop here) around their openness rating: I looked at the > things they had used to judge it, and applied them to Toolkits, and made a > list of things we should do to make our project more 'open': the list is > below. That includes things like roadmap, some other useful things as well. > I want to work through this list and address as much of it as possible, I > think that will drive some content to the community site. We already score > quite well (about 60), though OSS watch would say we should try and score > more than 80, and I think in general the things they point at are good > sensible things we should do. OSSwatch are coming here tomorrow, so I?ll > probably add to this, > > > > Xerte Rogo > > Legal 65.52 75 > > Standards 68 73 > > Knowledge 46.3 13 > > Governance 56 16 > > Market 86.67 38 > > Openness Rating 59.65 ? > > Average 64.5 43 > > > > > > Legal > > Document project dependencies and audit license compatibility. > > Consider and make explicit options for sub-licensing. > > Clarify re-distribution of entire project under GPL3 > > Make licensing explicit. Add license headers to all source files. > > > > Standards > > Minimise reliance on closed proprietary standards. Flash player > > Use standards ratified by standards bodies? > > Use Project Management methodology, and have regular, predictable releases. > > Identify and document a standards policy for the project. > > > > Knowledge > > Documentation: developer, installer, user. > > Design documents > > Define and Implement QA Process > > Project roadmap > > Machine readable meta-data? > > Project Chat / IRC? > > Make all decisions in a public environment > > Provide alternative sources of the knowledge / archives / include in the SVN > > > > Governance > > Clear Leadership. Define the roles in the project and make them clear. > > Make the structure and policies of the project clear: decision making > process. > > Document how to get involved in the project and behavioural guidelines for > contributors. > > Consider elected leadership? > > Ensure contributors have rights to contribute. > > Consistent, predictable release cycle and development iterations. > > Provide translations of all the project documentation > > Implement consistent development process, and how to contribute code. > > > > Market > > Increase number of organisations with rights to modify the code. > > Increase number of ?paid for? contributors. > > > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 14:24 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > > > I propose two wiki pages > > > > 1 for API > > 2 for roadmap > > > > On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney > wrote: > >> Let's use that then. I might need some guidance around the community > >> website stuff - I don't know what's there, or where to find it, > >> > >> -----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: 29 October 2012 14:22 > >> To: For Xerte technical developers > >> Subject: [Xerte-dev] Re: 1.9 properties > >> > >> Yes > >> > >> Op 29-10-2012 15:18, Julian Tenney schreef: > >>> Is there a wiki? > >>> > >>> -----Original Message----- > >>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>> Lockley > >>> Sent: 29 October 2012 14:13 > >>> To: For Xerte technical developers > >>> Subject: [Xerte-dev] Re: 1.9 properties > >>> > >>> are we allowed to? *semi serious question* > >>> > >>> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney >>> wrote: > >>>> OK! > >>>> > >>>> -----Original Message----- > >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>>> Lockley > >>>> Sent: 29 October 2012 14:12 > >>>> To: For Xerte technical developers > >>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>> > >>>> or we could use the community website > >>>> > >>>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney >>>> wrote: > >>>>> Well, what things would it address: we should make a list somewhere > >>>>> (titanpad?) > >>>>> > >>>>> > >>>>> -----Original Message----- > >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>>>> Lockley > >>>>> Sent: 29 October 2012 14:09 > >>>>> To: For Xerte technical developers > >>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>> > >>>>> Happy to give it a whirl - could I ask for a roadmap in return :) > >>>>> > >>>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney >>>>> wrote: > >>>>>> Agree. Tend to think you'd be an excellent person to write 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 > >>>>>> Lockley > >>>>>> Sent: 29 October 2012 13:58 > >>>>>> To: For Xerte technical developers > >>>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>>> > >>>>>> I think there is a big case for an API to be honest - allows a lot > >>>>>> of stuff to happen > >>>>>> > >>>>>> but that's just me > >>>>>> > >>>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney >>>>>> wrote: > >>>>>>> Yes. > >>>>>>> > >>>>>>> I don't think many people have done anything, but accessing the raw >>>>>>> data easily is really useful if you want to start messing with it, putting >>>>>>> into other formats etc, so if it's not on the properties tab, as long as >>>>>>> it's available (and you can find out how to get it) that's OK. I found it >>>>>>> very useful to build the mobile stuff we played around with. > >>>>>>> > >>>>>>> So you might have a sequence of API-like calls, i.e. > >>>>>>> > >>>>>>> http://server.com/toolkits/getInfo_1234 > >>>>>>> > >>>>>>> //returns info to tell you what you can expect and in what format, or >>>>>>> what params you can use in your request for the data. > >>>>>>> > >>>>>>> Can XML *always* be output as JSON and vice versa? I suppose you > >>>>>>> can always crunch what you get for the format you need, but > >>>>>>> better to get what you need straight away, > >>>>>>> > >>>>>>> -----Original Message----- > >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > >>>>>>> Pat Lockley > >>>>>>> Sent: 29 October 2012 13:25 > >>>>>>> To: For Xerte technical developers > >>>>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>>>> > >>>>>>> Also, would JSON export be more useful / as useful as XML export? > >>>>>>> > >>>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley >>>>>>> wrote: > >>>>>>>> WordPress has a theme supports function, so I am thinking of > >>>>>>>> having a list to indicate the tabs per template, or something > >>>>>>>> similar > >>>>>>>> > >>>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell >>>>>>>> wrote: > >>>>>>>>> 1, 2 & 3 > >>>>>>>>> Personally I don't think it's a necessity that the same tabs > >>>>>>>>> exist for all templates but I suspect it's easier to just > >>>>>>>>> display a message like 'This property is not relevant to this >>>>>>>>> template' > >>>>>>>>> than it is to change the code to dynamically change tabs based on >>>>>>>>> the template in use. > >>>>>>>>> > >>>>>>>>> 4 > >>>>>>>>> Increase the properties window size and display 'This property > >>>>>>>>> is not relevant to this template' for Xerte templates? > >>>>>>>>> > >>>>>>>>> Just my quick thoughts... > >>>>>>>>> Ron > >>>>>>>>> > >>>>>>>>> -----Original Message----- > >>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > >>>>>>>>> Pat Lockley > >>>>>>>>> Sent: 29 October 2012 12:48 > >>>>>>>>> To: For Xerte technical developers > >>>>>>>>> Subject: [Xerte-dev] 1.9 properties > >>>>>>>>> > >>>>>>>>> Hello, > >>>>>>>>> > >>>>>>>>> On the properties panel there are several options which are > >>>>>>>>> sort of xerte specific - XML and media and quota for example. > >>>>>>>>> > >>>>>>>>> Some of the new templates aren't XML, so XML makes no sense - > >>>>>>>>> and the media and quota code is very xerte specific. > >>>>>>>>> > >>>>>>>>> Would people think > >>>>>>>>> > >>>>>>>>> 1) all off these options should exist for all templates? > >>>>>>>>> 2) should tabs exist even if the functionality doesn't? > >>>>>>>>> 3) what sort of message should it say > >>>>>>>>> 4) what if I have scope for an extra tab? > >>>>>>>>> _______________________________________________ > >>>>>>>>> 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 > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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 > >>>>> _______________________________________________ > >>>>> 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 > >>>> > >>>> _______________________________________________ > >>>> 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 > >> > >> -- > >> -- > >> > >> Tom Reijnders > >> TOR Informatica > >> Chopinlaan 27 > >> 5242HM Rosmalen > >> Tel: 073 5226191 > >> Fax: 073 5226196 > >> > >> > >> _______________________________________________ > >> Xerte-dev mailing list > >> Xerte-dev at lists.nottingham.ac.uk > >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > >> > >> _______________________________________________ > >> Xerte-dev mailing list > >> Xerte-dev at lists.nottingham.ac.uk > >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > _______________________________________________ > > 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 johnathan.kemp at ntlworld.com Mon Oct 29 14:50:06 2012 From: johnathan.kemp at ntlworld.com (Kemp Johnathan) Date: Mon, 29 Oct 2012 14:50:06 +0000 Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> References: <79F36DCF1B3589429DDB4BB689DBFCDA017B16@DB3PRD0104MB107.eurprd01.prod.exchangelabs.com> <79F36DCF1B3589429DDB4BB689DBFCDA01E26D@DB3PRD0104MB104.eurprd01.prod.exchangelabs.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C028E@EXCHANGE1.ad.nottingham.ac.uk> <858B1BAF-D49C-44DB-B94D-B2BBE3726904@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C034C@EXCHANGE1.ad.nottingham.ac.uk> <0CDEFB24-6A59-4823-806B-E782C01B53A9@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C03DF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I can understand where you are coming from in this. In the absence of any way of using the current .rlm page model files as a means of defining both for flash and html5 delivery the rlm files are obsolete and the developer friendliness of the Xerte desktop is history.. Given this situation it seems to me that any further work on rlm based pages is probably a waste of time. Does it make sense to work now on improving how the Connector pages work, or to instead seek to duplicate what we currently have in HTML5? Then once there is a working set of pages look for potential improvements. Kind regards Johnathan On 29 October 2012 14:18, Julian Tenney wrote: > [moved from the xerte list] > > So here is the problem for us. We (Nottingham) don?t have any interest in > supporting, or developing standalone Xerte anymore. From our point of view, > very few people use it, and it?s flash, and is dead or dying. > > > > I cannot justify putting our time and effort myself into supporting the > old stuff, and I think that if we try and keep the two things running we > are just going to make a big mess. At the very least, it makes problems > much more complicated. At some point, we need to let the standalone Xerte > die, and I?m at that point. The future for me is with toolkits, we saw that > at the event a couple of weeks ago when you asked ?how many people use > standalone xerte??. It was hardly any, and they are almost all using > templates anyway, and could do that on an xampp install of toolkits. > > > > Debate it or not, Nottingham?s position is not to put any time into the > standalone / flash stuff anymore. > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan > *Sent:* 29 October 2012 12:01 > > *To:* Xerte discussion list > *Subject:* [Xerte] Re: plain text connector page problem in XOT > > > > The source of the list of pages in a project is different for Xerte > projects and for XOT or Page Templates projects. > > XOT contains the data for all the pages in the project in a single .xml > file so the connector pages access the page ID by > > extXML.firstChild.childNodes[i].attributes.pageID > > In desktop Xerte pages projects each page has its own separate xml file. > Xerte builds an array rootIcon.pages from which the page data can be > accessed e.g. > > rootIcon.pages[i].extXML.firstChild.childNodes[0].attributes.pageID > > The building of the array takes place at run time and has not completed by > the time the rootIcon.onInit event is broadcast. So the data is not > available to the xwd file to be able to offer a list of pages. > > > > However in desktop Xerte Julian modified the engine so that on changing > the page title i.e. name attribute in the page's xwd form this value was > transferred to the associated page icon's name attribute written in the > .rlo file. So in desktop Xerte the source of the page names would have to > be the rlo file. > > > > Is it doable that the engine could be coded so that one solution can work > in the xwd forms for the pages and for the page models, irrespective of > them residing in Xerte or XOT? > > > > Kind regards > > > > Johnathan > > > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 11:33, Julian Tenney > wrote: > > I can code it, the engine needs to do it, based on that type in .xwd > > > > > > > > Then the wizard needs to build the list based on the data on the tree, and > show the user page titles to choose from. When one is selected it needs to > generate an ID if one doesn?t exist on the target page, and then link to > that. I think that would work? I think also the user could screw it up by > changing the ID later and breaking the link: the generated ID would be > targ12398637562 or something like that, it would be better to prompt the > user to create a friendly one if one didn?t exist. > > > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat Lockley > *Sent:* 29 October 2012 10:52 > > > *To:* Xerte discussion list > *Subject:* [Xerte] Re: plain text connector page problem in XOT > > > > Strikes me it better to offer a choice of valid options than to try to > validate later on? > > > > No idea how to code it though > > > > Of course you could go crazy and connect to pages in other projects.... > > On 29 Oct 2012, at 10:43, Julian Tenney > wrote: > > Good idea. That would require some work in the engine, and a type in the > xwd file of ?pageList?. For attributes labelled as such, the engine would > then present the drop down, and could generate IDs automagically if they > didn?t exist? > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [ > mailto:xerte-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Pat Lockley > *Sent:* 29 October 2012 10:34 > *To:* Xerte discussion list > *Subject:* [Xerte] Re: plain text connector page problem in XOT > > > > Why not provide a drop down list of pages? > > On 29 Oct 2012, at 10:30, Kemp Johnathan > wrote: > > One problem may be that people are failing to locate the documentation > that supports the Connector pages. Which does not surprise me as at the > moment the only place I know they are accessible from is either the help > folder of a desktop Xerte install, or from the SVN. > > > > It should be possible to check for page ID and then for page "title". > > When you say "page title" are you referring to the xml attribute "name" ? > > In desktop Xerte there is both a "name" and a "title" attribute but in XOT > the label "Page Title" is used to refer to the attribute "name". So for > Xerte use which would you want it to be? > > > > I am concerned that this approach may instead complicate things. By using > only Page IDs for connections projects retain a consistency of approach and > the connections are safe from side effects resulting from the renaming > (retitling) of a page. Page IDs are free from having to do duty as a page > title and so can reflect the logical structure of the connections. > > > > Perhaps an alternative solution is to include an info statement to remind > people to set a page ID for their destination page. > > > > Kind regards > > > > Johnathan > > > > On 29 October 2012 09:35, Julian Tenney > wrote: > > People are missing the need to create a page ID? Is that the root cause of > the problem here? > > > > I?ve wondered if the navigation stuff should use either the page title or > the page ID? I?ve had feedback from people that the ID makes things too > complicated / is easy to miss etc. If the code looked first for an ID, and > if found, navigated to that, but if not found, it then checked the page > titles, and if found, navigated to that, it would catch both situations? > > > > We have got to keep the ?keep it simple? mantra in mind here. Andy is an > experienced user, and this should be a simple task. This tells me something > could be improved. > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan > *Sent:* 27 October 2012 10:38 > > > *To:* Xerte discussion list > *Subject:* [Xerte] Re: plain text connector page problem in XOT > > > > In principle it is possible to add this functionality to any page that has > a text block. > > > > However this raises the question of when is a connector page not a > connector page. For you could end up potentially with a list of connector > pages that duplicated most of the existing pages. I would be personally > inclined to treat the ability to link from text as in the Plain Text > Connector Page as something that is not really a "Connector Page" if we > ever went down the route of making this facility available to all text > blocks. Almost all the other Connector pages offer facilities to control > the navigation options of the destination page, a feature not offered when > making a text based connection. > > > > I think the concept of connector pages is still in its infancy. There is a > bit of tidying up that I am working with Julian on, to improve the options > regarding navigation and setting navigation for destination pages. Then I > think it will be worth waiting a while and seeing what the take up of the > Connector pages is and getting a feel for how people use them. > > > > There is also the major issue of HTML5. Until I am clearer about the > implications of converting existing Connector pages to HTML5 I am rather > loathe to expand the range of Connector pages available. > > > > Kind regards > > > > Johnathan > > > > On 26 October 2012 16:32, Davidson, Andrew > wrote: > > Thanks Johnathan ? very helpful. Yes, it was a very simple solution ? Dave > showed me that I wasn?t inserting a page id where it was needed. Makes > sense now but in the instruction I only could see about copying and pasting > text with the page id ? anyway, it?s a great addition for Xerte Online > Toolkits and I wonder if it will be possible to add this function to other > page types in XOT such as a page with graphics and text or a page with > video and text. > > > > Best > > > > Andy > > > > *From:* xerte-bounces at lists.nottingham.ac.uk [mailto: > xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan > *Sent:* 26 October 2012 16:27 > *To:* Xerte discussion list > > > *Subject:* [Xerte] Re: plain text connector page problem in XOT > > > > You have two ways to use the Page Models in Xerte 2.18 desktop. I hope > that soon we will be able to improve the File / New menu so that all the > options for creating a the different project types are listed there. > However currently... > > > > If you want a page templates type project i.e. a toolkits style project > then do > > Pages / Create Template Project from Pages. > > > > Add pages in the same way as normal for Page Templates or XOT projects. > > > > If you want to use the new Pages type project that gives full access to > the page models and also the editing environment then do > > > > Pages / Create New Page Project > > > > Add pages by selecting the "Interface" element in the project tree and > then select the page type that you want to add from the range of page type > folders that you will find off the Pages Menu. > > > > As to how to duplicate the problem that Andrew is experiencing, I am not > sure since I am not sure what the cause of the problem is. It may be as > simple as not having specified a page ID for the destination page. > > > > Kind regards > > > > Johnathan > > > > > > On 25 October 2012 17:19, Dave Burnett wrote: > > Johnathan, how would one go about recreating Andy's situation in 2.18 > desktop? > > > > Thnx, > > Dave > > > > > > > > Date: Thu, 25 Oct 2012 17:13:52 +0100 > > From: johnathan.kemp at ntlworld.com > > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Re: plain text connector page problem in XOT > > > > The link to your project is not much help as I can't access the values you > have entered into the form for the page. > > > > If you take a look at the learning object you should find it has an > optional property of "Add Author Support". Add this attribute to your > learning object and ensure the check box is ticked. Then play your project > once more and try your hyperlink. You should see a message displayed "Page > ID: somePageID could not be found in this project" > > > > Where "somePageID" will be the pageID you have specified in your link. > > > > Then check the destination page to ensure that you have given it an > optional attribute of "Page ID" and that you have set the Page ID attribute > to the value you have used in your link. > > > > That should sort it. > > > > Kind regards > > > > Johnathan > > > > On 25 October 2012 15:34, Davidson, Andrew > wrote: > > Hi > > I am trying to use the plain text connector page in XOT but for some > reason I can?t get the link to work ? http://xerte.warwick.ac.uk/play_116 > > it highlights as a link on page 3 but does not link back to page 2. Here > is the code I entered as a hyperlink > > asfunction:_level0.engine.fnTextCon,page2 > > any ideas? > > Thanks. > > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do not > use, copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your > computer system: you are advised to perform your own checks. Email > communications with the University of Nottingham may be monitored as > permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any > attachment are intended solely for the addressee and may contain > confidential information. If you have received this message in error, > please send it back to me, and immediately delete it. Please do not use, > copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. This > message has been checked for viruses but the contents of an attachment may > still contain software viruses which could damage your computer system: you > are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely for the addressee and > may contain confidential information. If you have received this message in > error, please send it back to me, and immediately delete it. Please do > not use, copy or disclose the information contained in this message or in > any attachment. Any views or opinions expressed by the author of this > email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > This message and any attachment are intended solely 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. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon Oct 29 15:01:38 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 15:01:38 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05C0@EXCHANGE1.ad.nottingham.ac.uk> I didn't get that either. Metadata for what? I'll ask them tomorrow. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 14:43 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties Some of those seem a little arbitrary (machine readable metadata? for?) On Mon, Oct 29, 2012 at 2:33 PM, Julian Tenney wrote: > There was some useful (really) work from OSSWatch recently on Rogo > (another application we develop here) around their openness rating: I > looked at the things they had used to judge it, and applied them to > Toolkits, and made a list of things we should do to make our project > more 'open': the list is below. That includes things like roadmap, some other useful things as well. > I want to work through this list and address as much of it as > possible, I think that will drive some content to the community site. > We already score quite well (about 60), though OSS watch would say we > should try and score more than 80, and I think in general the things > they point at are good sensible things we should do. OSSwatch are > coming here tomorrow, so I'll probably add to this, > > > > Xerte Rogo > > Legal 65.52 75 > > Standards 68 73 > > Knowledge 46.3 13 > > Governance 56 16 > > Market 86.67 38 > > Openness Rating 59.65 ? > > Average 64.5 43 > > > > > > Legal > > Document project dependencies and audit license compatibility. > > Consider and make explicit options for sub-licensing. > > Clarify re-distribution of entire project under GPL3 > > Make licensing explicit. Add license headers to all source files. > > > > Standards > > Minimise reliance on closed proprietary standards. Flash player > > Use standards ratified by standards bodies? > > Use Project Management methodology, and have regular, predictable releases. > > Identify and document a standards policy for the project. > > > > Knowledge > > Documentation: developer, installer, user. > > Design documents > > Define and Implement QA Process > > Project roadmap > > Machine readable meta-data? > > Project Chat / IRC? > > Make all decisions in a public environment > > Provide alternative sources of the knowledge / archives / include in > the SVN > > > > Governance > > Clear Leadership. Define the roles in the project and make them clear. > > Make the structure and policies of the project clear: decision making > process. > > Document how to get involved in the project and behavioural guidelines > for contributors. > > Consider elected leadership? > > Ensure contributors have rights to contribute. > > Consistent, predictable release cycle and development iterations. > > Provide translations of all the project documentation > > Implement consistent development process, and how to contribute code. > > > > Market > > Increase number of organisations with rights to modify the code. > > Increase number of 'paid for' contributors. > > > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 14:24 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > > > I propose two wiki pages > > > > 1 for API > > 2 for roadmap > > > > On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney > wrote: > >> Let's use that then. I might need some guidance around the community > >> website stuff - I don't know what's there, or where to find it, > >> > >> -----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: 29 October 2012 14:22 > >> To: For Xerte technical developers > >> Subject: [Xerte-dev] Re: 1.9 properties > >> > >> Yes > >> > >> Op 29-10-2012 15:18, Julian Tenney schreef: > >>> Is there a wiki? > >>> > >>> -----Original Message----- > >>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>> Lockley > >>> Sent: 29 October 2012 14:13 > >>> To: For Xerte technical developers > >>> Subject: [Xerte-dev] Re: 1.9 properties > >>> > >>> are we allowed to? *semi serious question* > >>> > >>> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney >>> wrote: > >>>> OK! > >>>> > >>>> -----Original Message----- > >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>>> Lockley > >>>> Sent: 29 October 2012 14:12 > >>>> To: For Xerte technical developers > >>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>> > >>>> or we could use the community website > >>>> > >>>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney >>>> wrote: > >>>>> Well, what things would it address: we should make a list >>>>> somewhere > >>>>> (titanpad?) > >>>>> > >>>>> > >>>>> -----Original Message----- > >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > >>>>> Lockley > >>>>> Sent: 29 October 2012 14:09 > >>>>> To: For Xerte technical developers > >>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>> > >>>>> Happy to give it a whirl - could I ask for a roadmap in return :) > >>>>> > >>>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney >>>>> wrote: > >>>>>> Agree. Tend to think you'd be an excellent person to write 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 > >>>>>> Lockley > >>>>>> Sent: 29 October 2012 13:58 > >>>>>> To: For Xerte technical developers > >>>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>>> > >>>>>> I think there is a big case for an API to be honest - allows a >>>>>> lot > >>>>>> of stuff to happen > >>>>>> > >>>>>> but that's just me > >>>>>> > >>>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney >>>>>> wrote: > >>>>>>> Yes. > >>>>>>> > >>>>>>> I don't think many people have done anything, but accessing the >>>>>>> raw data easily is really useful if you want to start messing >>>>>>> with it, putting into other formats etc, so if it's not on the >>>>>>> properties tab, as long as it's available (and you can find out >>>>>>> how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. > >>>>>>> > >>>>>>> So you might have a sequence of API-like calls, i.e. > >>>>>>> > >>>>>>> http://server.com/toolkits/getInfo_1234 > >>>>>>> > >>>>>>> //returns info to tell you what you can expect and in what >>>>>>> format, or what params you can use in your request for the data. > >>>>>>> > >>>>>>> Can XML *always* be output as JSON and vice versa? I suppose you > >>>>>>> can always crunch what you get for the format you need, but > >>>>>>> better to get what you need straight away, > >>>>>>> > >>>>>>> -----Original Message----- > >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > >>>>>>> Pat Lockley > >>>>>>> Sent: 29 October 2012 13:25 > >>>>>>> To: For Xerte technical developers > >>>>>>> Subject: [Xerte-dev] Re: 1.9 properties > >>>>>>> > >>>>>>> Also, would JSON export be more useful / as useful as XML export? > >>>>>>> > >>>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley >>>>>>> wrote: > >>>>>>>> WordPress has a theme supports function, so I am thinking of > >>>>>>>> having a list to indicate the tabs per template, or something > >>>>>>>> similar > >>>>>>>> > >>>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell >>>>>>>> wrote: > >>>>>>>>> 1, 2 & 3 > >>>>>>>>> Personally I don't think it's a necessity that the same tabs > >>>>>>>>> exist for all templates but I suspect it's easier to just > >>>>>>>>> display a message like 'This property is not relevant to this >>>>>>>>> template' > >>>>>>>>> than it is to change the code to dynamically change tabs based >>>>>>>>> on the template in use. > >>>>>>>>> > >>>>>>>>> 4 > >>>>>>>>> Increase the properties window size and display 'This property > >>>>>>>>> is not relevant to this template' for Xerte templates? > >>>>>>>>> > >>>>>>>>> Just my quick thoughts... > >>>>>>>>> Ron > >>>>>>>>> > >>>>>>>>> -----Original Message----- > >>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk > >>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > >>>>>>>>> Pat Lockley > >>>>>>>>> Sent: 29 October 2012 12:48 > >>>>>>>>> To: For Xerte technical developers > >>>>>>>>> Subject: [Xerte-dev] 1.9 properties > >>>>>>>>> > >>>>>>>>> Hello, > >>>>>>>>> > >>>>>>>>> On the properties panel there are several options which are > >>>>>>>>> sort of xerte specific - XML and media and quota for example. > >>>>>>>>> > >>>>>>>>> Some of the new templates aren't XML, so XML makes no sense - > >>>>>>>>> and the media and quota code is very xerte specific. > >>>>>>>>> > >>>>>>>>> Would people think > >>>>>>>>> > >>>>>>>>> 1) all off these options should exist for all templates? > >>>>>>>>> 2) should tabs exist even if the functionality doesn't? > >>>>>>>>> 3) what sort of message should it say > >>>>>>>>> 4) what if I have scope for an extra tab? > >>>>>>>>> _______________________________________________ > >>>>>>>>> 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 > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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 > >>>>> _______________________________________________ > >>>>> 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 > >>>> > >>>> _______________________________________________ > >>>> 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 > >> > >> -- > >> -- > >> > >> Tom Reijnders > >> TOR Informatica > >> Chopinlaan 27 > >> 5242HM Rosmalen > >> Tel: 073 5226191 > >> Fax: 073 5226196 > >> > >> > >> _______________________________________________ > >> Xerte-dev mailing list > >> Xerte-dev at lists.nottingham.ac.uk > >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > >> > >> _______________________________________________ > >> Xerte-dev mailing list > >> Xerte-dev at lists.nottingham.ac.uk > >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > _______________________________________________ > > 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 patrick.lockley at googlemail.com Mon Oct 29 15:03:38 2012 From: patrick.lockley at googlemail.com (Pat Lockley) Date: Mon, 29 Oct 2012 15:03:38 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05C0@EXCHANGE1.ad.nottingham.ac.uk> References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05C0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: tell them you are tei xml encoding all of our documentation On Mon, Oct 29, 2012 at 3:01 PM, Julian Tenney wrote: > I didn't get that either. Metadata for what? I'll ask them tomorrow. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley > Sent: 29 October 2012 14:43 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Some of those seem a little arbitrary (machine readable metadata? for?) > > On Mon, Oct 29, 2012 at 2:33 PM, Julian Tenney wrote: >> There was some useful (really) work from OSSWatch recently on Rogo >> (another application we develop here) around their openness rating: I >> looked at the things they had used to judge it, and applied them to >> Toolkits, and made a list of things we should do to make our project >> more 'open': the list is below. That includes things like roadmap, some other useful things as well. >> I want to work through this list and address as much of it as >> possible, I think that will drive some content to the community site. >> We already score quite well (about 60), though OSS watch would say we >> should try and score more than 80, and I think in general the things >> they point at are good sensible things we should do. OSSwatch are >> coming here tomorrow, so I'll probably add to this, >> >> >> >> Xerte Rogo >> >> Legal 65.52 75 >> >> Standards 68 73 >> >> Knowledge 46.3 13 >> >> Governance 56 16 >> >> Market 86.67 38 >> >> Openness Rating 59.65 ? >> >> Average 64.5 43 >> >> >> >> >> >> Legal >> >> Document project dependencies and audit license compatibility. >> >> Consider and make explicit options for sub-licensing. >> >> Clarify re-distribution of entire project under GPL3 >> >> Make licensing explicit. Add license headers to all source files. >> >> >> >> Standards >> >> Minimise reliance on closed proprietary standards. Flash player >> >> Use standards ratified by standards bodies? >> >> Use Project Management methodology, and have regular, predictable releases. >> >> Identify and document a standards policy for the project. >> >> >> >> Knowledge >> >> Documentation: developer, installer, user. >> >> Design documents >> >> Define and Implement QA Process >> >> Project roadmap >> >> Machine readable meta-data? >> >> Project Chat / IRC? >> >> Make all decisions in a public environment >> >> Provide alternative sources of the knowledge / archives / include in >> the SVN >> >> >> >> Governance >> >> Clear Leadership. Define the roles in the project and make them clear. >> >> Make the structure and policies of the project clear: decision making >> process. >> >> Document how to get involved in the project and behavioural guidelines >> for contributors. >> >> Consider elected leadership? >> >> Ensure contributors have rights to contribute. >> >> Consistent, predictable release cycle and development iterations. >> >> Provide translations of all the project documentation >> >> Implement consistent development process, and how to contribute code. >> >> >> >> Market >> >> Increase number of organisations with rights to modify the code. >> >> Increase number of 'paid for' contributors. >> >> >> >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:24 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> >> >> I propose two wiki pages >> >> >> >> 1 for API >> >> 2 for roadmap >> >> >> >> On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney >> wrote: >> >>> Let's use that then. I might need some guidance around the community >> >>> website stuff - I don't know what's there, or where to find it, >> >>> >> >>> -----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: 29 October 2012 14:22 >> >>> To: For Xerte technical developers >> >>> Subject: [Xerte-dev] Re: 1.9 properties >> >>> >> >>> Yes >> >>> >> >>> Op 29-10-2012 15:18, Julian Tenney schreef: >> >>>> Is there a wiki? >> >>>> >> >>>> -----Original Message----- >> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> >>>> Lockley >> >>>> Sent: 29 October 2012 14:13 >> >>>> To: For Xerte technical developers >> >>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>> >> >>>> are we allowed to? *semi serious question* >> >>>> >> >>>> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney >>>> wrote: >> >>>>> OK! >> >>>>> >> >>>>> -----Original Message----- >> >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> >>>>> Lockley >> >>>>> Sent: 29 October 2012 14:12 >> >>>>> To: For Xerte technical developers >> >>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>> >> >>>>> or we could use the community website >> >>>>> >> >>>>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney >>>>> wrote: >> >>>>>> Well, what things would it address: we should make a list >>>>>> somewhere >> >>>>>> (titanpad?) >> >>>>>> >> >>>>>> >> >>>>>> -----Original Message----- >> >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> >>>>>> Lockley >> >>>>>> Sent: 29 October 2012 14:09 >> >>>>>> To: For Xerte technical developers >> >>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>> >> >>>>>> Happy to give it a whirl - could I ask for a roadmap in return :) >> >>>>>> >> >>>>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney >>>>>> wrote: >> >>>>>>> Agree. Tend to think you'd be an excellent person to write 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 >> >>>>>>> Lockley >> >>>>>>> Sent: 29 October 2012 13:58 >> >>>>>>> To: For Xerte technical developers >> >>>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>>> >> >>>>>>> I think there is a big case for an API to be honest - allows a >>>>>>> lot >> >>>>>>> of stuff to happen >> >>>>>>> >> >>>>>>> but that's just me >> >>>>>>> >> >>>>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney >>>>>>> wrote: >> >>>>>>>> Yes. >> >>>>>>>> >> >>>>>>>> I don't think many people have done anything, but accessing the >>>>>>>> raw data easily is really useful if you want to start messing >>>>>>>> with it, putting into other formats etc, so if it's not on the >>>>>>>> properties tab, as long as it's available (and you can find out >>>>>>>> how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >> >>>>>>>> >> >>>>>>>> So you might have a sequence of API-like calls, i.e. >> >>>>>>>> >> >>>>>>>> http://server.com/toolkits/getInfo_1234 >> >>>>>>>> >> >>>>>>>> //returns info to tell you what you can expect and in what >>>>>>>> format, or what params you can use in your request for the data. >> >>>>>>>> >> >>>>>>>> Can XML *always* be output as JSON and vice versa? I suppose you >> >>>>>>>> can always crunch what you get for the format you need, but >> >>>>>>>> better to get what you need straight away, >> >>>>>>>> >> >>>>>>>> -----Original Message----- >> >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >> >>>>>>>> Pat Lockley >> >>>>>>>> Sent: 29 October 2012 13:25 >> >>>>>>>> To: For Xerte technical developers >> >>>>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>>>> >> >>>>>>>> Also, would JSON export be more useful / as useful as XML export? >> >>>>>>>> >> >>>>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley >>>>>>>> wrote: >> >>>>>>>>> WordPress has a theme supports function, so I am thinking of >> >>>>>>>>> having a list to indicate the tabs per template, or something >> >>>>>>>>> similar >> >>>>>>>>> >> >>>>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell >>>>>>>>> wrote: >> >>>>>>>>>> 1, 2 & 3 >> >>>>>>>>>> Personally I don't think it's a necessity that the same tabs >> >>>>>>>>>> exist for all templates but I suspect it's easier to just >> >>>>>>>>>> display a message like 'This property is not relevant to this >>>>>>>>>> template' >> >>>>>>>>>> than it is to change the code to dynamically change tabs based >>>>>>>>>> on the template in use. >> >>>>>>>>>> >> >>>>>>>>>> 4 >> >>>>>>>>>> Increase the properties window size and display 'This property >> >>>>>>>>>> is not relevant to this template' for Xerte templates? >> >>>>>>>>>> >> >>>>>>>>>> Just my quick thoughts... >> >>>>>>>>>> Ron >> >>>>>>>>>> >> >>>>>>>>>> -----Original Message----- >> >>>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >> >>>>>>>>>> Pat Lockley >> >>>>>>>>>> Sent: 29 October 2012 12:48 >> >>>>>>>>>> To: For Xerte technical developers >> >>>>>>>>>> Subject: [Xerte-dev] 1.9 properties >> >>>>>>>>>> >> >>>>>>>>>> Hello, >> >>>>>>>>>> >> >>>>>>>>>> On the properties panel there are several options which are >> >>>>>>>>>> sort of xerte specific - XML and media and quota for example. >> >>>>>>>>>> >> >>>>>>>>>> Some of the new templates aren't XML, so XML makes no sense - >> >>>>>>>>>> and the media and quota code is very xerte specific. >> >>>>>>>>>> >> >>>>>>>>>> Would people think >> >>>>>>>>>> >> >>>>>>>>>> 1) all off these options should exist for all templates? >> >>>>>>>>>> 2) should tabs exist even if the functionality doesn't? >> >>>>>>>>>> 3) what sort of message should it say >> >>>>>>>>>> 4) what if I have scope for an extra tab? >> >>>>>>>>>> _______________________________________________ >> >>>>>>>>>> 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 >> >>>>>>>> >> >>>>>>>> _______________________________________________ >> >>>>>>>> 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 >> >>>>>> _______________________________________________ >> >>>>>> 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 >> >>>>> >> >>>>> _______________________________________________ >> >>>>> 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 >> >>> >> >>> -- >> >>> -- >> >>> >> >>> Tom Reijnders >> >>> TOR Informatica >> >>> Chopinlaan 27 >> >>> 5242HM Rosmalen >> >>> Tel: 073 5226191 >> >>> Fax: 073 5226196 >> >>> >> >>> >> >>> _______________________________________________ >> >>> Xerte-dev mailing list >> >>> Xerte-dev at lists.nottingham.ac.uk >> >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >>> >> >>> _______________________________________________ >> >>> Xerte-dev mailing list >> >>> Xerte-dev at lists.nottingham.ac.uk >> >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> _______________________________________________ >> >> 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 From Julian.Tenney at nottingham.ac.uk Mon Oct 29 15:13:17 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 15:13:17 +0000 Subject: [Xerte-dev] Re: 1.9 properties In-Reply-To: References: <5D077A23-30F0-4327-AFDA-8CFAEA5B2B06@googlemail.com> <016601cdb5d7$6d73e3c0$485bab40$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0517@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0539@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0540@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0543@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0551@EXCHANGE1.ad.nottingham.ac.uk> <508E90F3.3030209@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0560@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0579@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05C0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05E5@EXCHANGE1.ad.nottingham.ac.uk> Er, OK, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley Sent: 29 October 2012 15:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: 1.9 properties tell them you are tei xml encoding all of our documentation On Mon, Oct 29, 2012 at 3:01 PM, Julian Tenney wrote: > I didn't get that either. Metadata for what? I'll ask them tomorrow. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat > Lockley > Sent: 29 October 2012 14:43 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: 1.9 properties > > Some of those seem a little arbitrary (machine readable metadata? > for?) > > On Mon, Oct 29, 2012 at 2:33 PM, Julian Tenney wrote: >> There was some useful (really) work from OSSWatch recently on Rogo >> (another application we develop here) around their openness rating: I >> looked at the things they had used to judge it, and applied them to >> Toolkits, and made a list of things we should do to make our project >> more 'open': the list is below. That includes things like roadmap, some other useful things as well. >> I want to work through this list and address as much of it as >> possible, I think that will drive some content to the community site. >> We already score quite well (about 60), though OSS watch would say we >> should try and score more than 80, and I think in general the things >> they point at are good sensible things we should do. OSSwatch are >> coming here tomorrow, so I'll probably add to this, >> >> >> >> Xerte Rogo >> >> Legal 65.52 75 >> >> Standards 68 73 >> >> Knowledge 46.3 13 >> >> Governance 56 16 >> >> Market 86.67 38 >> >> Openness Rating 59.65 ? >> >> Average 64.5 43 >> >> >> >> >> >> Legal >> >> Document project dependencies and audit license compatibility. >> >> Consider and make explicit options for sub-licensing. >> >> Clarify re-distribution of entire project under GPL3 >> >> Make licensing explicit. Add license headers to all source files. >> >> >> >> Standards >> >> Minimise reliance on closed proprietary standards. Flash player >> >> Use standards ratified by standards bodies? >> >> Use Project Management methodology, and have regular, predictable releases. >> >> Identify and document a standards policy for the project. >> >> >> >> Knowledge >> >> Documentation: developer, installer, user. >> >> Design documents >> >> Define and Implement QA Process >> >> Project roadmap >> >> Machine readable meta-data? >> >> Project Chat / IRC? >> >> Make all decisions in a public environment >> >> Provide alternative sources of the knowledge / archives / include in >> the SVN >> >> >> >> Governance >> >> Clear Leadership. Define the roles in the project and make them clear. >> >> Make the structure and policies of the project clear: decision making >> process. >> >> Document how to get involved in the project and behavioural >> guidelines for contributors. >> >> Consider elected leadership? >> >> Ensure contributors have rights to contribute. >> >> Consistent, predictable release cycle and development iterations. >> >> Provide translations of all the project documentation >> >> Implement consistent development process, and how to contribute code. >> >> >> >> Market >> >> Increase number of organisations with rights to modify the code. >> >> Increase number of 'paid for' contributors. >> >> >> >> >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> Lockley >> Sent: 29 October 2012 14:24 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: 1.9 properties >> >> >> >> I propose two wiki pages >> >> >> >> 1 for API >> >> 2 for roadmap >> >> >> >> On Mon, Oct 29, 2012 at 2:23 PM, Julian Tenney >> wrote: >> >>> Let's use that then. I might need some guidance around the community >> >>> website stuff - I don't know what's there, or where to find it, >> >>> >> >>> -----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: 29 October 2012 14:22 >> >>> To: For Xerte technical developers >> >>> Subject: [Xerte-dev] Re: 1.9 properties >> >>> >> >>> Yes >> >>> >> >>> Op 29-10-2012 15:18, Julian Tenney schreef: >> >>>> Is there a wiki? >> >>>> >> >>>> -----Original Message----- >> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> >>>> Lockley >> >>>> Sent: 29 October 2012 14:13 >> >>>> To: For Xerte technical developers >> >>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>> >> >>>> are we allowed to? *semi serious question* >> >>>> >> >>>> On Mon, Oct 29, 2012 at 2:11 PM, Julian Tenney >>>> wrote: >> >>>>> OK! >> >>>>> >> >>>>> -----Original Message----- >> >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat >> >>>>> Lockley >> >>>>> Sent: 29 October 2012 14:12 >> >>>>> To: For Xerte technical developers >> >>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>> >> >>>>> or we could use the community website >> >>>>> >> >>>>> On Mon, Oct 29, 2012 at 2:10 PM, Julian Tenney >>>>> wrote: >> >>>>>> Well, what things would it address: we should make a list >>>>>> somewhere >> >>>>>> (titanpad?) >> >>>>>> >> >>>>>> >> >>>>>> -----Original Message----- >> >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Pat >> >>>>>> Lockley >> >>>>>> Sent: 29 October 2012 14:09 >> >>>>>> To: For Xerte technical developers >> >>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>> >> >>>>>> Happy to give it a whirl - could I ask for a roadmap in return :) >> >>>>>> >> >>>>>> On Mon, Oct 29, 2012 at 2:06 PM, Julian Tenney >>>>>> wrote: >> >>>>>>> Agree. Tend to think you'd be an excellent person to write 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 >> >>>>>>> Lockley >> >>>>>>> Sent: 29 October 2012 13:58 >> >>>>>>> To: For Xerte technical developers >> >>>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>>> >> >>>>>>> I think there is a big case for an API to be honest - allows a >>>>>>> lot >> >>>>>>> of stuff to happen >> >>>>>>> >> >>>>>>> but that's just me >> >>>>>>> >> >>>>>>> On Mon, Oct 29, 2012 at 1:54 PM, Julian Tenney >>>>>>> wrote: >> >>>>>>>> Yes. >> >>>>>>>> >> >>>>>>>> I don't think many people have done anything, but accessing the >>>>>>>> raw data easily is really useful if you want to start messing >>>>>>>> with it, putting into other formats etc, so if it's not on the >>>>>>>> properties tab, as long as it's available (and you can find out >>>>>>>> how to get it) that's OK. I found it very useful to build the mobile stuff we played around with. >> >>>>>>>> >> >>>>>>>> So you might have a sequence of API-like calls, i.e. >> >>>>>>>> >> >>>>>>>> http://server.com/toolkits/getInfo_1234 >> >>>>>>>> >> >>>>>>>> //returns info to tell you what you can expect and in what >>>>>>>> format, or what params you can use in your request for the data. >> >>>>>>>> >> >>>>>>>> Can XML *always* be output as JSON and vice versa? I suppose >>>>>>>> you >> >>>>>>>> can always crunch what you get for the format you need, but >> >>>>>>>> better to get what you need straight away, >> >>>>>>>> >> >>>>>>>> -----Original Message----- >> >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >> >>>>>>>> Pat Lockley >> >>>>>>>> Sent: 29 October 2012 13:25 >> >>>>>>>> To: For Xerte technical developers >> >>>>>>>> Subject: [Xerte-dev] Re: 1.9 properties >> >>>>>>>> >> >>>>>>>> Also, would JSON export be more useful / as useful as XML export? >> >>>>>>>> >> >>>>>>>> On Mon, Oct 29, 2012 at 1:24 PM, Pat Lockley >>>>>>>> wrote: >> >>>>>>>>> WordPress has a theme supports function, so I am thinking of >> >>>>>>>>> having a list to indicate the tabs per template, or something >> >>>>>>>>> similar >> >>>>>>>>> >> >>>>>>>>> On Mon, Oct 29, 2012 at 1:15 PM, Ron Mitchell >>>>>>>>> wrote: >> >>>>>>>>>> 1, 2 & 3 >> >>>>>>>>>> Personally I don't think it's a necessity that the same tabs >> >>>>>>>>>> exist for all templates but I suspect it's easier to just >> >>>>>>>>>> display a message like 'This property is not relevant to this >>>>>>>>>> template' >> >>>>>>>>>> than it is to change the code to dynamically change tabs >>>>>>>>>> based on the template in use. >> >>>>>>>>>> >> >>>>>>>>>> 4 >> >>>>>>>>>> Increase the properties window size and display 'This >>>>>>>>>> property >> >>>>>>>>>> is not relevant to this template' for Xerte templates? >> >>>>>>>>>> >> >>>>>>>>>> Just my quick thoughts... >> >>>>>>>>>> Ron >> >>>>>>>>>> >> >>>>>>>>>> -----Original Message----- >> >>>>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >> >>>>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf >>>>>>>>>> Of >> >>>>>>>>>> Pat Lockley >> >>>>>>>>>> Sent: 29 October 2012 12:48 >> >>>>>>>>>> To: For Xerte technical developers >> >>>>>>>>>> Subject: [Xerte-dev] 1.9 properties >> >>>>>>>>>> >> >>>>>>>>>> Hello, >> >>>>>>>>>> >> >>>>>>>>>> On the properties panel there are several options which are >> >>>>>>>>>> sort of xerte specific - XML and media and quota for example. >> >>>>>>>>>> >> >>>>>>>>>> Some of the new templates aren't XML, so XML makes no sense - >> >>>>>>>>>> and the media and quota code is very xerte specific. >> >>>>>>>>>> >> >>>>>>>>>> Would people think >> >>>>>>>>>> >> >>>>>>>>>> 1) all off these options should exist for all templates? >> >>>>>>>>>> 2) should tabs exist even if the functionality doesn't? >> >>>>>>>>>> 3) what sort of message should it say >> >>>>>>>>>> 4) what if I have scope for an extra tab? >> >>>>>>>>>> _______________________________________________ >> >>>>>>>>>> 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 >> >>>>>>>> >> >>>>>>>> _______________________________________________ >> >>>>>>>> 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 >> >>>>>> _______________________________________________ >> >>>>>> 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 >> >>>>> >> >>>>> _______________________________________________ >> >>>>> 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 >> >>> >> >>> -- >> >>> -- >> >>> >> >>> Tom Reijnders >> >>> TOR Informatica >> >>> Chopinlaan 27 >> >>> 5242HM Rosmalen >> >>> Tel: 073 5226191 >> >>> Fax: 073 5226196 >> >>> >> >>> >> >>> _______________________________________________ >> >>> Xerte-dev mailing list >> >>> Xerte-dev at lists.nottingham.ac.uk >> >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >>> >> >>> _______________________________________________ >> >>> Xerte-dev mailing list >> >>> Xerte-dev at lists.nottingham.ac.uk >> >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> _______________________________________________ >> >> 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 _______________________________________________ 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 Oct 29 15:12:56 2012 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 29 Oct 2012 15:12:56 +0000 Subject: [Xerte-dev] Re: [Xerte] Re: plain text connector page problem in XOT In-Reply-To: References: <79F36DCF1B3589429DDB4BB689DBFCDA017B16@DB3PRD0104MB107.eurprd01.prod.exchangelabs.com> <79F36DCF1B3589429DDB4BB689DBFCDA01E26D@DB3PRD0104MB104.eurprd01.prod.exchangelabs.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C028E@EXCHANGE1.ad.nottingham.ac.uk> <858B1BAF-D49C-44DB-B94D-B2BBE3726904@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C034C@EXCHANGE1.ad.nottingham.ac.uk> <0CDEFB24-6A59-4823-806B-E782C01B53A9@googlemail.com> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C03DF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C3F5C0550@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C3F5C05E3@EXCHANGE1.ad.nottingham.ac.uk> And I understand that having put all the work in over the last year, the current state of the world is frustrating. I would say that there is still work to do around how we implement the connectors in the GHTML5 stuff, and how we make them easy to use, and that the interface works as expected for end users in the various situations. I think from our point of view it would be helpful if the number of templates didn't grow massively until we reach that parity point between the old and the new, but appreciate people will have particular problems to solve that might need new page types (including us). I have wondered, aloud at times, about building a new version of a lower level tool like Xerte, but one that produces HTML5 output. I think it would be possible to get close. Personally I wouldn't want to support the .rlo file format by crunching it into HTML5 because there are some serious shortcomings in that that could be done better, and I'm not everyone grasps the flow-line thing, but something similar, giving a simple set of components to use to create content from. If you think about it most of the xerte icons are now available in HTML5: