Alan,

What's the mime-type returned for that page? I know Timeline has some 
problem if the returned mime-type is xhtml.

David

Alan Florence wrote:
> Hello,
> I'm attempting to install Timeline into a web project and have run 
> into a problem in timeline-api.js
> I receive an alert: Failed to derive URL prefix for Timeline API code 
> files.
>
> I've traced the problem to the js failing to find the <script> tags. 
> My <head> is:
> <head>
> <meta http-equiv="content-type" content="text/html; " />
> <title>Canadian Jazz Archive OnlineHome</title>
> <link rel="stylesheet" 
> href="http://namaste.local/jazz/lib/jazz/templates/jazz/styles/core.css"; 
> type="text/css" media="screen" />
> <link rel="Shortcut Icon" 
> href="http://namaste.local/jazz/lib/jazz/templates/jazz/images/jazz.ico"; 
> type="image/x-icon" />
> <script type="text/javascript" 
> src="http://namaste.local/jazz/lib/Core/KO/scripts/KO.js"; 
> lang="JavaScript"></script>
>  <script type="text/javascript" 
> src="http://namaste.local/jazz/lib/doxdesk/position.js"; 
> lang="JavaScript"></script>
>
>  <script type="text/javascript" 
> src="http://namaste.local/jazz/lib/timeline/scripts/onLoad.js"; 
> lang="JavaScript"></script>
>  <script type="text/javascript" 
> src="http://namaste.local/jazz/lib/prototype/prototype.js"; 
> lang="JavaScript"></script>
>  <script type="text/javascript" 
> src="http://namaste.local/jazz/lib/prototype/scriptaculous.js"; 
> lang="JavaScript"></script>
> <link rel="stylesheet" 
> href="http://namaste.local/jazz/styles/print.css"; type="text/css" 
> media="print" />
>  <link rel="stylesheet" 
> href="http://namaste.local/jazz/lib/Core/KO/style/KO.css"; 
> media="screen" type="text/css" />
>  <link rel="stylesheet" 
> href="http://namaste.local/jazz/modules/Template/style/Template.css"; 
> media="screen" type="text/css" />
>  <link rel="stylesheet" 
> href="http://namaste.local/jazz/modules/Text/style/Text.css"; 
> media="screen" type="text/css" />
>  <link rel="screen" href="http://namaste.local/jazz/RSS"; 
> media="application/rss+xml" type="text/css" />
>
>  <link rel="screen" href="http://namaste.local/jazz/Atom"; 
> media="application/atom+xml" type="text/css" />
>  <link rel="stylesheet"  
> href="http://namaste.local/jazz/lib/jazz/templates/jazz/styles/default.css"; 
> type="text/css" media="screen" />
>  <link rel="alternate stylesheet" title="Homepage - Black" 
> href="http://namaste.local/jazz/lib/jazz/templates/jazz/styles/homepage.css"; 
> type="text/css" />
>  <link rel="alternate stylesheet" title="Simple" 
> href="http://namaste.local/jazz/lib/jazz/templates/jazz/styles/simple.css"; 
> type="text/css" />
>
>  
>
>  <script src="http://simile.mit.edu/timeline/api/timeline-api.js"; 
> type="text/javascript"></script>
>
>  
>
> </head>
>
> The browser is Firefox 2.0.0.1 on OSX 10.4.
>
> I've downloaded the js and tried running it from my own server and 
> confirmed that the <head> is found but no <script> tags are seen. If I 
> supply a value for Timeline_urlPrefix then the call 
> Timeline.CreateBandInfo fails.
>
> Hoping that I'm missing the obvious,
> Alan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to