[Xerte-dev] Re: Proof of concept test

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed May 9 12:05:32 BST 2012


No, the wizard automatically produces a pageID in the xml - you'll have seen it I'm sure. The intention for this was to facilitate deep linking, i.e. ?pageID=321234524

But when Pat and I tried to get it to work nicely we couldn't and parked it. It may well be we hit the same issue you have hit: the need for the delay, which I don't think is acceptable to the end user.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 09 May 2012 11:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Proof of concept test

The javascript routine used matches a name to data, so you could just as easily use ?name=titlePage as you could ?pageID=titlePage

The problem with using name is that the page name is more likely to be "Title Page" and the use of spaces might cause a problem.

It was never intended that this should be an alternative routing internally within a learning object to another page in that learning object. It was only intended to be a means of opening a different learning object, which you can do already using a URL. The only difference here was that someone on one of the postings was lamenting the inability to open a new learning object at a specific page.

The version for XOT would have to use the extXML which, from memory, did not suffer the need for a delay before it could be used. But I am quite happy to leave it out of this release as once people were happy it would work OK then it could be added later.

I need a little time to finish the XOT demo version anyway and right now I am focusing on an update to the scenario page to make it easier to implement scenarios like the Farmer, the Goose, the Fox and the Bag of Grain on one side of the river.

Kind regards

Johnathan

On 9 May 2012 10:31, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
The need for that delay may well be why we decided to leave it last time. It's disorienting to see the page for that long and then suddenly be moved on. Let's leave this for another time.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 05 May 2012 10:17

To: For Xerte technical developers
Subject: [Xerte-dev] Re: Proof of concept test

The delay is because I have had to put a timer in to give Xerte the time to build the rootIcon.pages array - it's a bit of guess work as to how long I need to give it. It would be nice if the onInit event didn't fire until the array had completed being built, then I could remove the timer and the delay would be reduced to the minimum required.

In XOT you use a different array so I think the time delay will be insignificant as if I recall correctly the array was already fully available.

I'll run some further tests in XOT now that I have the javascript sorted out and then post something for you to try out.

Kind regards

Johnathan

On 5 May 2012 09:44, Ron Mitchell <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>> wrote:
Working fine here too http://vle.jisctechdis.ac.uk/xot/urlTest/index.htm?pageID=menu
Win 7 64bit
IE 8.0
Chrome 18.0
Safari 5.1.5
Opera 10.60
Firefox 12.0

Great job Jonathan this will be a very popular feature.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Tom Reijnders
Sent: 05 May 2012 08:23
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Proof of concept test

Working fine here (although with a noticeable lag, first page is shown and after 1 second the menu page is opened)

Windows 7, 64 bit IE9, FF12, Chrome 18

Op 4-5-2012 23:36, Kemp Johnathan schreef:
Hello Everyone,

I have been working (between beta version stuff) on a means of making it possible to open a Xerte project at a specific page, rather than always have them open at the title page.

Attached is a simple 3 page desktop Xerte project as a proof of concept.

Do not open it in Xerte (at least until you have finished testing it!) If you publish the project, in Xerte, your local copy of rloObject.js will overwrite the one in the project and the code that supports the redirection will be lost.

Would you mind unzipping it and then opening index.htm in a web browser - not Xerte.

For it to work you will need to set up the folder in which you place it as a trusted location in the Flash player settings (otherwise javascript calls will not work).

It should open at a title page.

Then add to the url in your browser

?pageID=menu

and press enter to reload the page.

After a short delay the project should redirect from the title page to the menu page.

I have tested this in Firefox, IE8, and Opera.

If anyone has other browsers at their disposal I would be keen to know if the redirection works. e.g. Chrome, Safari,

Should you examine the project the key stuff that makes it work is a function at the end of rlsObject.js and some code running off the onInitHandler interaction in the entry frame. Because rootIcon.pages.length has not finished being built when the onInit event fires I have added a timer to create a delay to allow time for the array to be built - hence the delay before redirection takes place.

Should this prove reliable in your testing I believe the same approach should be applicable to XOT (albeit using a different array to source the page information)

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.


_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.



This message has been checked for viruses but the contents of an attachment

may still contain software viruses which could damage your computer 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<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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


More information about the Xerte-dev mailing list