Producer & Front Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm attempting to publish a Microsoft Producer project to my website and am
faced with the common problem of Producer taking an extremely long time to
get to "PLAY" since all the presentation files need to be downloaded before
it starts.

Researching it, I found that the "#nopreload=1" extension solves the problem
when typed in at the end of the URL.

QUESTION: is there any way from a Front Page standpoint to program the
"#nopreload=1" extension somehow into the Producer link when it's in the
development server stage so the user doesn't have to manually type it in when
the Producer page loads?

Thanks!
 
--
6-West


Andrew Murray said:
Everthing you view on the web downloads first - to the web cache.
This cannot be avoided, it is the nature of the Internet.
but to answer your question, can't you add that bit of code on the end of
the normal link URL?

i.e. <a href="www.yoursite.com/whatever.html#nopreload-1">Click here</a>



I have an idea on how to do it but I'm scared of "blowing my HTML". Here's my code if that's helpful:

<!-- Producer-generated file -->
<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=utf-8">
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<META NAME="ProgID" CONTENT="Producer.Presentation">
<META NAME="Generator" CONTENT="Microsoft Producer for PowerPoint 2003">
<META NAME="Author" CONTENT="Morgan, Bernard">
<META NAME="Title" CONTENT="sound">
<META NAME="Description" CONTENT="">
<LINK REL="File-List" href="sound_files\filelist.xml">

<SCRIPT language="JavaScript">
<!--
var g_szFilesPath = window.location.href;
var nHash = g_szFilesPath.lastIndexOf("#");
if (nHash == -1)
g_szFilesPath = g_szFilesPath.substr(0, g_szFilesPath.length - 4);
else
g_szFilesPath = g_szFilesPath.substr(0, nHash - 4);
if (g_szFilesPath.substr(0, 8).toLowerCase() == "file:///")
g_szFilesPath = "file://" + g_szFilesPath.substr(8);
if (navigator.platform.toLowerCase().indexOf("mac")>-1 ||
navigator.appName.toLowerCase().indexOf("netscape")>-1)
g_szFilesPath += "_files/intro.htm" +
window.location.hash+window.location.search;
else
g_szFilesPath += "_files/Default.htm" +
window.location.hash+window.location.search;
if (g_szFilesPath.substr(0, 5).toLowerCase() == "file:")
window.location.replace( unescape(g_szFilesPath) );
else
window.location.replace( g_szFilesPath );
-->
</SCRIPT>
<title>sound.htm</title></HEAD>
<BODY>
</BODY>

THANKS AGAIN!
 
Back
Top