[Xerte-dev] Re: Start page/ deep linking
Ron Mitchell
ronm at mitchellmedia.co.uk
Thu Nov 15 19:57:01 GMT 2012
Are there a range of slightly different things here?
I know there's code somewhere to allow an author to hold down shift when clicking play in the editor to jump straight to the selected icon - which presumably uses linkID in some way
and we also have a javascript call that can be added as a hyperlink to jump to a another page within an LO either by page title or pageID which is to change to linkID
But the way I expect the deep linking will be used is:
Both Authors and viewers can share a direct external link to a specific page by appending &page=x to the public url. e.g. a viewer see's an LO and thinks page 5 will be of interest to a colleague and can now send a direct link to that page
Authors will have access to see and append linkID=x to a specific page as a more reliable link e.g. will still work if page order is changed e.g. only authors will have access to the linkID's to be able to create specific links like this
both page=x and linkID=x make use of an oninitComplete function in the .rlt and xmlengine.swf and a getURLParam function in rloObject.js
I don't think play.php has any bearing on these methods of deeplinking apart from perhaps the cause of the links not working in IE via play.php even though they work when the LO is outside of play.php e.g. index.htm?page=x
Ideally we need play_html5.php to work in the same way e.g. a viewer can use play_html5.php?&page=x and an author can use play_html5.php?&linkID=x
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 Ron Mitchell
Sent: 15 November 2012 19:07
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Start page/ deep linking
In the flash version I set it to work with the following:
http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&linkID=PG1352114465620
http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&page=3
http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&pageID=advanced
Sounds like pageID might not be needed anymore but can't see there being any hurt in including it.
Reminder: all the above work in all browsers apart from IE :-( (see previous thread for more info)
-----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 November 2012 17:51
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Start page/ deep linking
Id like to get this into xenith sooner rather than later as it'll be great for testing purposes when we need to reload the player after editing the model.
Anyone have an idea of how the link ID/page no will be passed to the php page and subsequently into the engine? By page= or similar parameter or within the URL? Would rather write once and have it just work when the editor stuff is written.
Regards
John Smith
Learning Technologist
School of Health and Life Sciences
Sent from Samsung Galaxy SII
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the 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
More information about the Xerte-dev
mailing list