[Xerte] Re: Publishing templates ..

Cowell, Elizabeth E.Cowell at wlv.ac.uk
Wed Aug 1 09:22:03 BST 2012


Hi

Thanks for this, the lack of a MIMEtype for . rlt does seem to be the problem (hopefully). They are adjusting the server config accordingly.

(And yes, we were planning to get our users to use the toolkit, it was just that we couldn’t get the content to run… )

Many thanks for your help

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 Pat Lockley
Sent: 31 July 2012 20:03
To: Xerte discussion list
Subject: [Xerte] Re: Publishing templates ..

If you're using chrome you could use the console (press f12) then select network and see if any of the page 404s

That would probably mean mimetypes

On 31 Jul 2012, at 19:59, "Ron Mitchell" <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>> wrote:
Hi Liz
is your server a Windows server? If it is I suspect it's the mime types issue e.g. the relevant mime types need to be added by your server admin.

.rlm and MIMEtype: text/plain
.rlo and MIMEtype: text/plain
.rlt and MIMEtype: text/plain

worth checking .flv is set at the same time

There's nothing wrong with your test project. I uploaded it temporarily to http://mitchellmedia.co.uk/xerte/testxertestemplates/ but I'll remove that once you've checked it.

HTH
Ron

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: 31 July 2012 17:58
To: Xerte discussion list
Subject: [Xerte] Re: Publishing templates ..

Hi Ron,


·         I cant share a link because it’s not on a public site (as yet), but I can send a zip of the code

·         I ran pagetemplate.xtp to create the rlt and used this to create content.

·         It works locally when I run the index.htm file, but not remotely

I have attached a zip of everything if it helps. As I say if I rename the rlt to rlo it the rlo will at least load, but the page content is missing.

Sorry about the spurious s ☺ !

Thanks if you can help

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> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 31 July 2012 13:07
To: 'Xerte discussion list'
Subject: [Xerte] Re: Publishing templates ..

Can you share a link to the index.htm of the uploaded package?

Have you used a pagetemplate project but then renamed the .rlt?

When you say that it works fine locally do you mean via index.htm or just via the play button in the editor?

HTH
Ron

BTW it's Xerte without the s

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: 31 July 2012 12:21
To: Xerte discussion list
Subject: [Xerte] Publishing templates ..

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..

Thanks if you can offer any advice

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> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 31 July 2012 10:08
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...

> I would like the attend the conference/meet in October too.  are the details on your site somewhere?
October 10th and 11th. We haven’t announced it formally yet, but news is filtering out. The first day is to disseminate the outputs of the Xenith project: the work Fay is doing to have toolkits deliver to HTML5. It’s also an opportunity for the community to come together and see other new developments in the new codebase.

October 11th is a day aimed more at the developers contributing to the code, and you’d be welcome to come along to that as well,

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 20:01
To: Xerte discussion list
Subject: [Xerte] Re: importing models into xertes toolkit...

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&q
_______________________________________________
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.


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

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer 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/attachments/20120801/e7cd52c5/attachment-0001.html>


More information about the Xerte mailing list