<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>I should probably keep out of this problem, as I have not been active in the Xerte community since the transition to html 5. However I noticed in your example the following<br><br> "<I>This is an example of the Hotspot Image Sound Page Wizard.
This Page Wizard is not available in the Page Templates project wide
template as of October 2010.</I+> This is an enhancement of the
Hotspot Image Page Wizard, which is included in Page Templates."<br><br></div>This is text from a sample project I created to demonstrate the pageWizards. So I am guessing that you are basing your development on code I created for the pageWizard.<br><br></div>pageWizards were an early approach to achieving individual page templates that I piloted in Xerte. They were superceded by later developments in desktop Xerte. Desktop Xerte is flash based and as such is no longer under development. All development work is now on the html5 based Xerte online toolkits.<br><br></div>So can you please clarify if you are trying to do your developement in toolkits or desktop Xerte.<br><br></div>If you are using desktop Xerte then it should be possible to develop an xwd file that delivers what you want that will work in Xerte by comparing <br><br>the _hotspotImageSound.xwd file (from the PageWizardDemo project which you can find in PageWizardDemo / pages / hotSpotImageSound folder)<br><br></div>with <br><br>the hotspotImage.xwd file ( which can be found in the pages / wizards / en-gb / folder of your desktop Xerte install).<br></div><br></div>Create a new xwd file, keeping the structure of the hotspotImage.xwd file as this will be consistent with what Xerte requires but simply add any additional elements from the _hotspotImageSound file. change occurences in your new file of "hotspotImage" to "hotspotImageSound".<br><br></div>That should give you a working starting point for an xwd file that will generate xml content.<br><br></div>You will also need a model file (.rlm) file in the pages/models folder for your new page type. Make a copy of the hotspotImage model and rename it to match your new page type e.g. "hotspotImageSound.rlm" and remember to edit it by replacing all occurences of "hotspotImage" with "hotspotImageSound" so that the model file references the date from your hotspotImageSound.xml file that will be created by the xwd file.<br><br></div>Then you might want to compare your hotspotImageSound.rlm file with the one used in my original page wizard project _hotspotImageSound.rlm to assist you with adding the functionality.<br><br></div>If however you are developing for Xerte online toolkits a comparison of the xwd files I mentioned should still help but I can't help out on the html5 side of things.<br><br></div>Hope this helps.<br><br></div>If the above makes no sense to you, then just ignore this post as the ravings of someone with fond memories for a desktop based project that is now retired :-)<br><br></div>Kind regards<br><br>Johnathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 November 2014 15:51, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">At what point do things fail? I’m looking at your screenshot, and can see the xml is messed up – is this when you first create an LO, or later after adding something?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>sara djezar<br><b>Sent:</b> 06 November 2014 15:50<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte-dev] Re: Xerte-dev Digest, Vol 39, Issue 5<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">yes i have used notepad++ <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2014-11-06 16:41 GMT+01:00 <<a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a>>:<u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Send Xerte-dev mailing list submissions to<br> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a><br><br>You can reach the person managing the list at<br> <a href="mailto:xerte-dev-owner@lists.nottingham.ac.uk" target="_blank">xerte-dev-owner@lists.nottingham.ac.uk</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Xerte-dev digest..."<br><br><br>Today's Topics:<br><br> 1. Re: Xerte-dev Digest, Vol 39, Issue 3 (Julian Tenney)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 6 Nov 2014 15:41:17 +0000<br>From: Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>><br>To: For Xerte technical developers <<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>><br>Subject: [Xerte-dev] Re: Xerte-dev Digest, Vol 39, Issue 3<br>Message-ID:<br> <<a href="mailto:12C67A1EEC419342AF5E59DA31562C3F0D99E34F63@EXCHANGE1.ad.nottingham.ac.uk" target="_blank">12C67A1EEC419342AF5E59DA31562C3F0D99E34F63@EXCHANGE1.ad.nottingham.ac.uk</a>><br><br>Content-Type: text/plain; charset="utf-8"<br><br>Almost certainly this is due to an error in the xml somewhere. Have you run it through a validator?<br><br>From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of sara djezar<br>Sent: 06 November 2014 15:39<br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><br>Subject: [Xerte-dev] Re: Xerte-dev Digest, Vol 39, Issue 3<br><br>hi everyone i have an other problem: i want to transforme the hotspot image template into hotspot image sound i have created this xml file :<br><?xml version="1.0"?><br><br>-<learningObject><br><br><br>-<hotspotImageSound align="Bottom" hicol="0xFFFF00" highlight="false" interactivity="Click Explore"<br> tip="Exhibit the behaviour mind map" imageWidth="Large"<br> url=" FileLocation + 'media/Exhibit the behaviour.ping'"<br> text="<Li>Click any of the labels on the mind map to hear information about the topic.</Li> <Li>Make a note of any ideas that are new to you.</Li> <I>This is an example of the Hotspot Image Sound Page Wizard. This Page Wizard is not available in the Page Templates project wide template as of October 2010.</I+> This is an enhancement of the Hotspot Image Page Wizard, which is included in Page Templates. <I>The mind map was created using Free mind, an open source Mind Mapping program. The voice over was created using State from <a href="http://paranormal.com" target="_blank">paranormal.com</a><<a href="http://paranormal.com" target="_blank">http://paranormal.com</a>> and Audacity to slow down the rate of speech by about 10%. I found that using text to speech created a consistent voice. In earlier projects I used live voices, which I could not later match with if I wanted to add further speech after the speaker was no longer available.</I>" linkID=""><br><hotspot text="Description for the hotspot" h="19" w="116" y="33" x="114"<br> displayText="No" name="Result of Trigger" audio="FileLocation + 'media/exhibit_trigger.mp3'"/><br><br><hotspot text="Description for the hotspot" h="16" w="69" y="102" x="45"<br> displayText="No" name="Tutor trap" audio="FileLocation + 'media/exhibit_tutorTrap.mp3'"/><br><br><hotspot text="Description for the hotspot" h="16" w="93" y="125" x="23"<br> displayText="No" name="Responsibility" audio="FileLocation + 'media/exhibit_responsibilities.mp3'"/><br><br><hotspot text="Description for the hotspot" h="18" w="72" y="112" x="138"<br> displayText="No" name="Outcomes" audio="FileLocation + 'media/exhibit_outcomes.mp3'"/><br><br><hotspot text="Description for the hotspot" h="37" w="86" y="67" x="257"<br> displayText="No" name="Exhibit the behaviour" audio="FileLocation + 'media/exhibit_exhibit.mp3'"/><br><br><hotspot text="Description for the hotspot" h="18" w="88" y="22" x="354"<br> displayText="No" name="Competence" audio="FileLocation + 'media/exhibit_competence.mp3'"/><br><br><hotspot text="Description for the hotspot" h="18" w="62" y="112" x="379"<br> displayText="No" name="Practice" audio="FileLocation + 'media/exhibit_practice.mp3'"/><br><br><hotspot text="Description for the hotspot" h="17" w="74" y="93" x="463" displayText="No" name="Frequency" audio="FileLocation + 'media/exhibit_frequency.mp3'"/><br><br><hotspot text="Description for the hotspot" h="31" w="90" y="117" x="463" displayText="No" name="Sleep and performance" audio="FileLocation + 'media/exhibit_sleep.mp3'"/><br><br></hotspotImageSound><br><br></learningObject><br><br><br>and this page wizard :<br><br><wizard><br><br> <!--HOTSPOT IMAGE INTERACTION-----------------------------------------------------><br> <hotspotImageSound hint="An interaction allowing you to mark up an image with regions and associate explanatory text with each region. The type of interactivity can be varied."><br><br><br> <text type="TextArea" height="250" label="Text"/><br> <url type="media" label="Image"/><br> <imageWidth type="ComboBox" label="Image Width" options="Small,Medium,Large,Full" width="100"/><br> <tip type="TextInput" label="Image Tooltip"/><br> <interactivity type="ComboBox" label="Interactivity" options="Show Me,Click Explore" width="100"/><br> <highlight type="CheckBox" label="Highlight Hotspots"/><br> <hicol type="ColourPicker" label="Highlight Colour"/><br> <align type="ComboBox" label="Align Text" options="Left,Right,Bottom" width="100"/><br><br> <narration type="media" label="Narration" optional="true"/><br><br> <newNodes><br> <hotspot><![CDATA[<hotspot name="name" text="Description for the hotspot" displayText="Yes" x="0" y="0" w="100" h="100" /></hotspot><br> </newNodes><br><br> </hotspotImageSound><br><br> <!--HOTSPOT--------------------------------------------------------------------------><br> <hotspot type="hotSpot" label="Edit Hotspot" menuItem="HotSpot" icon="icLayers" remove="true"><br><br> <name type="TextInput" label="Hotspot Title"/><br> <text type="TextArea" height="250" label="Text"/><br> <displayText type="ComboBox" label="Display Text" options="Yes,No" width="100"/><br> <audio type="media" label="Sound to play" optional="true"/><br> </hotspot><br><br>i have connected the xml file to the new template and this is my results :<br><br><br><br></wizard><br><br>2014-11-06 13:00 GMT+01:00 <<a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a>>>:<br>Send Xerte-dev mailing list submissions to<br> <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-request@lists.nottingham.ac.uk" target="_blank">xerte-dev-request@lists.nottingham.ac.uk</a>><br><br>You can reach the person managing the list at<br> <a href="mailto:xerte-dev-owner@lists.nottingham.ac.uk" target="_blank">xerte-dev-owner@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-owner@lists.nottingham.ac.uk" target="_blank">xerte-dev-owner@lists.nottingham.ac.uk</a>><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Xerte-dev digest..."<br><br><br>Today's Topics:<br><br> 1. modification of hotspot image template (sara djezar)<br> 2. liste submissions (sara djezar)<br> 3. Re: modification of hotspot image template (Julian Tenney)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 5 Nov 2014 15:42:09 +0100<br>From: sara djezar <<a href="mailto:djezarsara@gmail.com" target="_blank">djezarsara@gmail.com</a><mailto:<a href="mailto:djezarsara@gmail.com" target="_blank">djezarsara@gmail.com</a>>><br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>><br>Subject: [Xerte-dev] modification of hotspot image template<br>Message-ID:<br> <<a href="mailto:CACLZfoxNuMxPV_iqq_jBLTmEqkEVsXMuMjCzO-Pi6Q382T2Oqw@mail.gmail.com" target="_blank">CACLZfoxNuMxPV_iqq_jBLTmEqkEVsXMuMjCzO-Pi6Q382T2Oqw@mail.gmail.com</a><mailto:<a href="mailto:CACLZfoxNuMxPV_iqq_jBLTmEqkEVsXMuMjCzO-Pi6Q382T2Oqw@mail.gmail.com" target="_blank">CACLZfoxNuMxPV_iqq_jBLTmEqkEVsXMuMjCzO-Pi6Q382T2Oqw@mail.gmail.com</a>>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hello developers!<br><br>I need your help .<br><br> I want to make some modifications in the template ? hotspot image ? so<br>that I can insert a text ( instead of image) and when user click in each<br>area ( in this case line ) he can see another text (definition for example<br>) . can you help me to make the xml code please J<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/9abeac2b/attachment-0001.html" target="_blank">http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/9abeac2b/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 5 Nov 2014 15:46:10 +0100<br>From: sara djezar <<a href="mailto:djezarsara@gmail.com" target="_blank">djezarsara@gmail.com</a><mailto:<a href="mailto:djezarsara@gmail.com" target="_blank">djezarsara@gmail.com</a>>><br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>><br>Subject: [Xerte-dev] liste submissions<br>Message-ID:<br> <CACLZfoz-YLePkZDS7hbxdEWgJdrXMsM6kNykOPcwj=<a href="mailto:79rVBy0Q@mail.gmail.com" target="_blank">79rVBy0Q@mail.gmail.com</a><mailto:<a href="mailto:79rVBy0Q@mail.gmail.com" target="_blank">79rVBy0Q@mail.gmail.com</a>>><br>Content-Type: text/plain; charset="utf-8"<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/e17a38f0/attachment-0001.html" target="_blank">http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/e17a38f0/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 5 Nov 2014 14:52:55 +0000<br>From: Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a><mailto:<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>>><br>To: For Xerte technical developers <<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>>><br>Subject: [Xerte-dev] Re: modification of hotspot image template<br>Message-ID:<br> <<a href="mailto:12C67A1EEC419342AF5E59DA31562C3F0D99E349D1@EXCHANGE1.ad.nottingham.ac.uk" target="_blank">12C67A1EEC419342AF5E59DA31562C3F0D99E349D1@EXCHANGE1.ad.nottingham.ac.uk</a><mailto:<a href="mailto:12C67A1EEC419342AF5E59DA31562C3F0D99E349D1@EXCHANGE1.ad.nottingham.ac.uk" target="_blank">12C67A1EEC419342AF5E59DA31562C3F0D99E349D1@EXCHANGE1.ad.nottingham.ac.uk</a>>><br><br>Content-Type: text/plain; charset="utf-8"<br><br>Get the text you need, get a screenshot of it and turn it into an image. Use that in the interaction.<br><br>From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>>] On Behalf Of sara djezar<br>Sent: 05 November 2014 14:42<br>To: <a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev@lists.nottingham.ac.uk" target="_blank">xerte-dev@lists.nottingham.ac.uk</a>><br>Subject: [Xerte-dev] modification of hotspot image template<br><br>Hello developers!<br>I need your help .<br> I want to make some modifications in the template ? hotspot image ? so that I can insert a text ( instead of image) and when user click in each area ( in this case line ) he can see another text (definition for example ) . can you help me to make the xml code please ?<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/7c9d5fa4/attachment-0001.html" target="_blank">http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141105/7c9d5fa4/attachment-0001.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a>><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br><br><br>End of Xerte-dev Digest, Vol 39, Issue 3<br>****************************************<br>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br><br>This message has been checked for viruses but the contents of an attachment<br>may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141106/364304c8/attachment.html" target="_blank">http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141106/364304c8/attachment.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br><br><br>End of Xerte-dev Digest, Vol 39, Issue 5<br>****************************************<br>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br><br>This message has been checked for viruses but the contents of an attachment<br>may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.<br><br><br><br><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br></blockquote></div><br></div>