[Xerte] Re: importing models into xertes toolkit...
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Jul 31 12:04:23 BST 2012
That won't work: if you export a project from toolkits, you an re-import it, but you can upload an ad-hoc xerte project,
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Cowell, Elizabeth
Sent: 31 July 2012 12:03
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...
Hello again,
As I am trying to scope how we can use xertes I am also checking out uploading rlos and rlt's to our website using the publish option.
Both work fine locally, but when I upload the package created by publishing the rlt it says "unable to load "myexample.rlt". I've tried it in a few browsers with the same result.
I have tried renaming the rlt to an rlo, and again when I run it locally it works, but when I upload it it doesn't pick up the page content information. This is with a very basic example, built using the pagetemplate xtp file, so it has a title page and quiz page with 3 questions. I wonder if I am doing something wrong, but I have backtracked to the simplest example and cannot see why it wont work..
Liz
Liz Cowell
Learning and Skills Librarian
Learning & Information Services
University of Wolverhampton
Tel: 01902 322385
Email: E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 30 July 2012 21:52
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...
The easiest way to change the node names is to open the file in Flash Develop and do a search and replace.
I usually create a new page by starting with an existing page type that does something similar to what I want the new page to do.
This will be even easier in the next release of Xerte.
The next release of desktop Xerte will feature "pages" projects. These allow you to have access to every page type that is available in page templates projects (or XOT projects) but with full access to the page structure and the xwd form.
You will be able to create a page in a project using an existing page type and then edit the xwd form for that page to change the xml attributes available to the page. You then edit the page structure to consume those new attributes and to present them how you want them presented to the end user.
Once you have the page working you can save the model for the page.
Finally you load both the xwd and the new model for the page into Flash develop and use search and replace to change the node names and you are pretty much there with a brand new page.
You'll love it :-)
Kind regards
Johnathan
On 30 July 2012 20:01, Cowell, Elizabeth <E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>> wrote:
thanks so much for your help both. I came across exactly the prob you said as I had indeed developed the quiz page and used the same node names and was busily trying to change them to incorporate into the template as suggested. Live and learn... Thanks again. I would like the attend the conference/meet in October too. are the details on your site somewhere?
Thanks so much
Liz
Sent from my iPhone
On 30 Jul 2012, at 17:35, "Kemp Johnathan" <johnathan.kemp at ntlworld.com<mailto:johnathan.kemp at ntlworld.com>> wrote:
Just a couple of comments to add to Julian's example.
Since your page is trying to do something similar to the quiz page you can use the code in templates.xwd for the quiz page as a starting point for your page, you can copy it but - When you develop a new page type it is a good idea to use unique object names.
Since the quiz page uses objects named "quiz", "question", "option" you should change these e.g. likertQuiz, likertQuestion, likertOption. That way your page will not clash with the current quiz page. This will be significant when the next version of Xerte / XOT is released as each page has its own unique .xwd file and the aggregated data.xwd or templates.xwd file used by XOT or a pageTemplates project will be built from these individual xwd files.
I think below Julian may have intended the section under <!-- LIKERT QUIZ ------------------------------>
to have started
<!-LIKERT QUIZ--------------------------------------------->
<likert menu="Interactivity" menuItem="Likert Scale" icon="icPageWhiteGear" remove="true" thumb="thumbs/likert.jpg" hint="info on likert here">
<name type="textInput" label="Likert Title"/>
<newNodes>
<likertStatement><![CDATA[<likertStatement statement="Here is a statement"/>]]></likertStatement>
</newNodes>
</likert>
The <likertStatement section should also end with
</likertStatement> and not </question>
Kind regards
Johnathan
On 30 July 2012 15:39, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Good idea. So you want to be able to add pages to your main page, questions to your pages.
Maybe build a single page likert quiz where you can add just questions to start with. If you want multi-page likert quizzes, just build new ones on a new page, that would make it easy for now.
So in the LO newNodes bit in the .xwd
<likert><!CDATA[<likert name="Enter Page Name" text="Instructions here"/>]]</likert>
Then later on
<!-LIKERT QUIZ--------------------------------------------->
<quiz menu="Interactivity" menuItem="Likert Scale" icon="icPageWhiteGear" remove="true" thumb="thumbs/likert.jpg" hint="info on likert here">
<name type="textInput" label="Likert Title"/>
<newNodes>
<likertStatement><![CDATA[<likertStatement statement="Here is a statement"/>]]></likertStatement>
</newNodes>
</quiz>
You also need to define the form for a likertStatement - but that's easy...
<likertStatement menuItem="Statement" icon="icPageWhite" remove="true">
<statement type="TextField" label="Statement"/>
<newNodes>
<option><![CDATA[<option text="here is an option" feedback="feedback for this option" correct="false"/>]]></option>
</newNodes>
</question>
Then you can build a skinny likert.rlm, and start getting at the data the same way other pages do (refer to some simple ones). You should be able to add statements to the questionnaire, and see them in the data too: then start on the basic interaction, you'll need to duplicate a protoStatement the right number of times.
That should get you going. One obvious question is how to handle the user feedback?
Then think about more options, like how many options to present the user: can the author set the scale? Other stuff like that?
10th and 11th October we are running a xerte event here at Nottingham - come along,
Julian
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Cowell, Elizabeth
Sent: 30 July 2012 14:46
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...
What I was trying to do was a multi page questionnaire, with a likert rating for each question.
So a framework in which you define a series of question sets, one per page, each containing a series of questions for each page, with five radio buttons per question. Its so I could use it to put together skills audits and other questionairres and ideally extend it to put in a bar chart at the end...
I'm still learning about xertes though, so maybe I need to do a simple model first then, and then extend it to this multi-page one?
I also had a problem with the buttons seemingly returning the wrong parent index when it was
a) The last radio button of the last question on a page the index of it's parent node (the question number) is decremented by one too many
b) The last radio button of each set of five gives a parent node incremented by one..
I just thought I'd mention this in case it was a known bug in xertes 2. I basically modified the simple quiz example, and duplicated five radio buttons per question, so know idea why only the last ones are returning bad indexes when the code is identical...
Thanks for your advice, I will scale down to a simple example and start from there...
Liz Cowell
Learning and Skills Librarian
Learning & Information Services
University of Wolverhampton
Tel: 01902 322385
Email: E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Julian Tenney
Sent: 30 July 2012 13:40
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...
I always do it this way:
- Modify the .xwd to know about the model. There are two things to do:
1) The part in <learningObject><newNodes> that defines the payload you want inserting into the LO, i.e.
<text><![CDATA[<text name="Enter Page Title">Enter text for the page here</text>]]></text>
2) the information that defines the form for that model. Each moel has it's own section, i.e.
<!--TEXT PAGE------------------------------------------------------->
<text type="text" label="Page Text" height="380" menu="Text" menuItem="Plain Text" icon="icPageWhiteText" remove="true" thumb="thumbs/plaintext.jpg" hint="A plain and simple text page.">
<name type="TextInput" label="Page Title"/>
<textWidth type="comboBox" label="Text Width" options="Small,Medium,Large,Full" data="300,450,600,760" defaultValue="300" width="100" optional="true"/>
<subSuper type="CheckBox" label="Superscript Support" optional= "true" default="false"/>
<narrationNavigate type="CheckBox" label="Navigate on narration" optional="true"/>
<playNarration type="CheckBox" label="Auto-play narration" optional="true"/>
<narration type="media" label="Narration" optional="true"/>
</text>
Then you can insert it from the insert menu, and the text model is added to the learningobejct in the right place.
Then develop your model so you are getting the data from the wizard, start simply.
Then as you develop the logic, you can develop the wizard to provide the right information.
What does your model do?
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk]<mailto:[mailto:xerte-bounces at lists.nottingham.ac.uk]> On Behalf Of Cowell, Elizabeth
Sent: 30 July 2012 13:03
To: Xerte discussion list
Subject: [Xerte] importing models into xertes toolkit...
Hello,
I've developed a multipage questionnaire, and have saved it as a model. I can import it using the "insert model" option, but I want to be able to insert it like the other models, when you run the online toolkits template wizard - ie where it says +Insert, I want my model to appear and be usable.
I saw the template.xwd referred to the models for insert , and managed to hack mine in place of the quiz one, but it doesn't really work. I can see I somehow have to put the definitions from the initial xml/xwd files into the template.xwd/xml or ensure it's in the rlm but I don't really know where.. On peeking into the other rlms it appears the other models have additional startup scripting which determines where they are being called from, which is not explained anywhere that I can find.
Is there any in-depth guidance on this, or how you integrate anything you build into the toolkit so that it can be used easily by other people in my team? I want them to be able to use xertes and add either the standard things like quizzes etc or add my model??
Also, I cannot find out what the file Templates options does. It creates a template, but an xtp rather than an rlt ? not sure what the difference is?.
I feel like I have missed out on some documentation somewhere? Any help / direction much appreciated, as it seems like a big leap from simply running through the startup guide on a quiz to getting a fuller integrated solution which adds the models we want to xertes... I can do action script and programming etc, but feel like I am having to work backwards from the examples given to work out how to do things and I am not sure I am getting it right..
Any help much much appreciated, seem to have spent a while on this and am on verge of giving up now.
Liz Cowell
Learning and Skills Librarian
Learning & Information Services
University of Wolverhampton
Tel: 01902 322385
Email: E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>
--
Scanned by iCritical.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
--
Scanned by iCritical.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto: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<mailto: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.
--
Scanned by iCritical.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto: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.
--
Scanned by iCritical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120731/f41c3d07/attachment-0001.html>
More information about the Xerte
mailing list