<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Fay<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>have you set the flash player security to allow where you're viewing from? I'm sure you have but I tested and verified that definitely has an effect e.g. the window doesn't show at all unless the location is trusted. Screenshot below. I've allowed C:\ but more secure to use a specific path/folder.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So far I've only tested this with a localhost install so I can't send you a link but once I've updated one or more public installs I'll let you know.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTH<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><img width=853 height=518 id="Picture_x0020_1" src="cid:image001.jpg@01CCE1B2.CCE28F90"></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Fay Cross<br><b>Sent:</b> 02 February 2012 13:46<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: [Xerte] Re: Embed content page<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Ron,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’ve been looking through the files you sent over and what you’re saying makes sense, at the moment there are no functions to make the new window in the index.htm files that get exported with a project. However, even after adding these functions in to the index.htm I can’t see the window. Am I missing something? I simply exported a project from xot, unzipped it and edited the index.htm to include the functions (and the <div id="popup_parent"/> too). They don’t seem to be being called at all as I’ve tried an alert in them. It’s using the right model file. Any ideas?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Fay<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 02 February 2012 13:04<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] Re: [Xerte] Re: Embed content page<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Jonathan<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>it works fine for me too assuming you have the flash player trusted locations set for wherever your viewing from try the attached index.htm and embedDiv.rlm in your test file.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think there's a difference with the index.htm file xerte current publishes?<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTH<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br><b>Sent:</b> 02 February 2012 12:20<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: [Xerte] Re: Embed content page<o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>I have been testing embedDiv in desktop xerte both in a pageTemplates project and as an individual page template. To test I have published the project and then simply opened index.htm in a browser. I have no web server running on my PC. I am assuming that the javascript that makes the page work is running in the browser and does not therefor require a web server.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>This I believe would rule out mime types as being an issue.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>The url I used was the guardian home page as indicated in an earlier post and this worked fine for Julian, so spaces in file names should not be an issue.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Has anyone tested embedDiv in a pageTemplates desktop Xerte project and then been able to publish the project, open the page in a browser and view the embedded content, in a situation in which they are not using a web server?<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Kind regards<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Johnathan<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>On 2 February 2012 11:53, Ron Mitchell <<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi all</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>firstly apologies for what will be a long message and also I decided it would be better to continue to discuss this on the dev list rather than the main list hope that's ok...</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I'm a big fan of the embed content page because it addresses one of the barriers a lot of people come up with about not being able to embed their favourite web 2 sites/resources etc to big thanks to whoever contributed to this!</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So anyway to continue this thread and Jonthan's tests I've been testing and comparing files and versions and I think Julian indicated the most up-to-date embedDiv.rlm is in the xerte svn rather than xot svn. However I could easily be wrong but from my tests I don't think that's the case. I'm assuming that the code in embedDiv.rlm and it's dependencies evolved since it was first added and I think at first the window size was fixed regardless of LO screen size setting and at some point Julian or Pat or someone else? improved this so that the embed window reflected the LO screen size setting. From my tests this works great with one possible caveat that I'll cover below but first the difference between the current xerte embedDiv.rlm and the current XOT embedDiv.rlm. I think the latter is newer and the correct/best version and the crucial difference is shown in the attached txt file.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The other key issue from my tests is what happens when an XOT LO using the embed content or new window page is exported. Here's the result of my tests:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>\website_code\php\scorm\scorm_library.php is what creates the index.htm which is part of the normal zip export</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As far as I can tell it does this by opening \modules\xerte\player\rloObject.htm and renaming that as index.htm and adding to the zip</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When exporting as scorm a similar thing happens but in this case it's \modules\xerte\scorm\scormRLO.htm that get's opened and made part of the exported zip</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So at the moment when exporting from XOT as either normal zip or scorm zip the embed content and new window pages don't work because \modules\xerte\player\rloObject.htm and \modules\xerte\scorm\scormRLO.htm don't currently contain the relevant window code. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When previewing or playing via xot the embed content and new window pages work because the required window code is in \modules\xerte\preview_xerte_top</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The quickest solution is to add the relevant code from \modules\xerte\preview_xerte_top to both \modules\xerte\player\rloObject.htm and \modules\xerte\scorm\scormRLO.htm These then get exported as part of the zip and include the code to make the pages work. As well as the window and div code there's a line towards the end of the files that also needs to be in place: <div id="popup_parent"/> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I've added the code to both these pages and tested and it seems to work fine. I could commit those changes to the XOT svn but have attached all the files here for Pat or someone else to check and verify before doing so. Especially in case I'm wrong about all this or if there are other versions/revisions flying around?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The one issue I have found with this and it may be unique to my IE 8 is that when first viewed the embed content page window isn't the correct size in IE when the default LO screen size is anything but fill window. However it works fine when the windows size is changed and it works fine regardless of LO screen size in Firefox and Safari. To test this view <a href="http://www.nottingham.ac.uk/toolkits/play_560" target="_blank">http://www.nottingham.ac.uk/toolkits/play_560</a> and use the toc to navigate to the embed content example on page 29. On my Windows 7 laptop it works fine in Firefox and Safari but in IE 8 the embed window is much larger than the default 800 x 600 LO until changing the screen size option and then navigating away from and back to that page. Is it the same for you in IE? Is there a fix? Before someone says it a fix other than "don't use IE!" ;-)</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTH</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ron</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><a name="1353dea01dc92c04__MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span></a><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br><b>Sent:</b> 31 January 2012 14:04</span><o:p></o:p></p><div><div><p class=MsoNormal style='margin-left:36.0pt'><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Embed content page<o:p></o:p></p></div></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>I have the Opera javascript console enabled and it displays errors from a test script. However when I view the embed content page in a xerte published project there are no errors displayed. The project displays but there is simply no content embeded.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>Kind regards<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>Johnathan<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>On 31 January 2012 13:43, Pat Lockley <<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'>any JS errors?<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt'><br>On Tue, Jan 31, 2012 at 1:42 PM, Kemp Johnathan<br><<a href="mailto:johnathan.kemp@ntlworld.com" target="_blank">johnathan.kemp@ntlworld.com</a>> wrote:<br>> Yep,<br>><br>> I found the javascript in index.htm of my published project, but I can't get<br>> the page to work.<br>><br>> I have created a simple test javascript page with a couple of document.write<br>> statements and an alert popup and they work, so javascript is definitely<br>> running in the browser.<br>><br>> So I am some what stumped as far as testing the page goes.<br>><br>> Kind regards<br>><br>> Johnathan<br>><br>> On 31 January 2012 12:36, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>><br>> wrote:<br>>><br>>> In index.htm<br>>><br>>><br>>><br>>> From: <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a><br>>> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Kemp Johnathan<br>>> Sent: 31 January 2012 12:32<br>>><br>>><br>>> To: Xerte discussion list<br>>> Subject: [Xerte] Re: Embed content page<br>>><br>>><br>>><br>>> I have just compared the content of the rlm file from pageTemplates with<br>>> that of the XOT svn dated 13/12/2011 (which I downloaded as part of a so far<br>>> unsuccessful attempt to get toolkits running.)<br>>><br>>><br>>><br>>> There are some differences which I have now added to my rlm file for the<br>>> individual page template, but the page continues to fail to display in<br>>> either Opera or Internet Explorer.<br>>><br>>><br>>><br>>> I suspect the problem lies in the line<br>>><br>>><br>>><br>>> callJS('makePopUp', params);<br>>><br>>><br>>><br>>> Where is the javascript located? Is it part of swfObject, or a separate<br>>> file?<br>>><br>>><br>>><br>>> I suspect the problem is mainly one of not having access to the<br>>> javascript?<br>>><br>>> So where would I find the relevant javascript files in the XOT svn folders<br>>> and where would I need to install them in a standalone Xerte installation?<br>>><br>>><br>>><br>>> Kind regards<br>>><br>>><br>>><br>>> Johnathan<br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>> On 31 January 2012 11:46, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>><br>>> wrote:<br>>><br>>> Having said that it works in toolkits here. Not sure about local.<br>>><br>>><br>>><br>>> From: <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a><br>>> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>>> Sent: 31 January 2012 11:45<br>>> To: Xerte discussion list<br>>> Subject: [Xerte] Re: Embed content page<br>>><br>>><br>>><br>>> Just works here…<br>>><br>>><br>>><br>>> Error! Filename not specified.<br>>><br>>><br>>><br>>> From: <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a><br>>> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Kemp Johnathan<br>>> Sent: 31 January 2012 11:43<br>>> To: Xerte discussion list<br>>> Subject: [Xerte] Embed content page<br>>><br>>><br>>><br>>> I am trying to get the embed content page to work<br>>><br>>> I have created a page in a pagetemplates project and entered into the url<br>>> the value<br>>><br>>><br>>><br>>> <a href="http://www.guardian.co.uk/" target="_blank">http://www.guardian.co.uk/</a><br>>><br>>><br>>><br>>> However when I preview the page the content is empty. I suspect the page<br>>> may only work in published projects so I then published the project.<br>>><br>>> I have opened the project in both Opera and Internet Explorer and no<br>>> content displays.<br>>><br>>><br>>><br>>> Am I entering the content incorrectly in Embed code or url field of the<br>>> form.<br>>><br>>><br>>><br>>> Can someone suggest a value I can use that is known to work?<br>>><br>>><br>>><br>>> Kind regards<br>>><br>>><br>>><br>>> Johnathan<br>>><br>>><br>>><br>>> This message and any attachment are intended solely for the addressee and<br>>> may contain confidential information. If you have received this message in<br>>> error, please send it back to me, and immediately delete it. Please do not<br>>> use, copy or disclose the information contained in this message or in any<br>>> attachment. Any views or opinions expressed by the author of this email do<br>>> not necessarily reflect the views of the University of Nottingham.<br>>><br>>> This message has been checked for viruses but the contents of an<br>>> attachment may still contain software viruses which could damage your<br>>> computer system: you are advised to perform your own checks. Email<br>>> communications with the University of Nottingham may be monitored as<br>>> permitted by UK legislation.<br>>><br>>><br>>> _______________________________________________<br>>> Xerte mailing list<br>>> <a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>>><br>>> This message and any attachment are intended solely for the addressee and<br>>> may contain confidential information. If you have received this message in<br>>> error, please send it back to me, and immediately delete it. Please do not<br>>> use, copy or disclose the information contained in this message or in any<br>>> attachment. Any views or opinions expressed by the author of this email do<br>>> not necessarily reflect the views of the University of Nottingham.<br>>><br>>> This message has been checked for viruses but the contents of an<br>>> attachment<br>>> may still contain software viruses which could damage your computer<br>>> system:<br>>> you are advised to perform your own checks. Email communications with the<br>>> University of Nottingham may be monitored as permitted by UK legislation.<br>>><br>>><br>>><br>>><br>>> This message and any attachment are intended solely for the addressee and<br>>> may contain confidential information. If you have received this message in<br>>> error, please send it back to me, and immediately delete it. Please do not<br>>> use, copy or disclose the information contained in this message or in any<br>>> attachment. Any views or opinions expressed by the author of this email do<br>>> not necessarily reflect the views of the University of Nottingham.<br>>><br>>> This message has been checked for viruses but the contents of an<br>>> attachment may still contain software viruses which could damage your<br>>> computer system: you are advised to perform your own checks. Email<br>>> communications with the University of Nottingham may be monitored as<br>>> permitted by UK legislation.<br>>><br>>><br>>> _______________________________________________<br>>> Xerte mailing list<br>>> <a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>>><br>>> This message and any attachment are intended solely for the addressee and<br>>> may contain confidential information. If you have received this message in<br>>> error, please send it back to me, and immediately delete it. Please do not<br>>> use, copy or disclose the information contained in this message or in any<br>>> attachment. Any views or opinions expressed by the author of this email do<br>>> not necessarily reflect the views of the University of Nottingham.<br>>><br>>> This message has been checked for viruses but the contents of an<br>>> attachment<br>>> may still contain software viruses which could damage your computer<br>>> system:<br>>> you are advised to perform your own checks. Email communications with the<br>>> University of Nottingham may be monitored as permitted by UK legislation.<br>>><br>>><br>><br>><br>> _______________________________________________<br>> Xerte mailing list<br>> <a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>><br>> This message and any attachment are intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it. Please do not<br>> use, copy or disclose the information contained in this message or in any<br>> attachment. Any views or opinions expressed by the author of this email do<br>> 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:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>><br><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;margin-left:36.0pt'> <o:p></o:p></p><p style='margin-left:36.0pt'>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. <o:p></o:p></p><p style='margin-left:36.0pt'>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. <o:p></o:p></p></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt'><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>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:<br>you are advised to perform your own checks. Email communications with the<br>University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div></body></html>