naturerecordists
[Top] [All Lists]

Re: Living with bears

Subject: Re: Living with bears
From: "Paul Jacobson" thebrunswicktwitcher
Date: Tue Oct 27, 2009 10:57 am ((PDT))
On 28/10/2009, at 4:23 AM, Paul Jacobson wrote:
>
> Phil, Max
>
> I'd be very surprised if Max actually problem.
>
> I guess you noticed both 7 loons and naturesound.org were built with
> iWeb and feature embedded QT. I fairly sure the javascript iWeb uses
> to handle the embedding is cause of this problem.
>
> regards
> Paul




Reading back, I see Max is unable to use QT, so iWeb javascript is not
the problem....

but the embedding javascript include does contain the url of the file ;)

Begin by looking at the source. Near the head there are a number of
script tags.

the include you are looking for always has the same name as the page
title - in this case: 26_Bears,_Bears,_Bears_files/
26_Bears,_Bears,_Bears.js

if you replace 26_Bears%2C_Bears%2C_Bears.html with the above  you'll
get the javascript include which contains the path to the media files:

http://naturesound.org/Natural_Sounds/Entries/2009/10/26_Bears,_Bears,_Bear=
s_files/26_Bears,_Bears,_Bears.js

in this case ../../../../Media/Black%20bears.mp3

Going back to the original link

http://naturesound.org/Natural_Sounds/Entries/2009/10/26_Bears%2C_Bears%2C_=
Bears.html

remove the filename

http://naturesound.org/Natural_Sounds/Entries/2009/10/

and paste the link to the mp3

http://naturesound.org/Natural_Sounds/Entries/2009/10/../../../../Media/Bla=
ck%20bears.mp3

this resolves to:

http://naturesound.org/Media/Black%20bears.mp3

the same method works with any site authored in iWeb.











<Prev in Thread] Current Thread [Next in Thread>
Admin

The University of NSW School of Computer and Engineering takes no responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the naturerecordists mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU