L i n k s and javascript.

Bear in SFO BearSFO at PacBell.NET
Fri Oct 11 01:11:17 EDT 2002


Sure if you can email that to me please...


At 08:38 AM 10/11/2002 +1000, you wrote:
>On Thu, 10 Oct 2002 igueths at attbi.com wrote:
>
> > Hi Geoff.Just out of curiosity, do you know Javascript?
> > Or do you just tend to figure out the code as it is
> > similar to C?
>
>I took a crash course in javascript from some online docs when I needed to
>come up with some scripting to get a job done.
>
> > If you don't mind, can you try to find
> > the file from which the url for the cnetradio stream was
> > extracted? Bc I'm still checking various files for the
> > link to the playlist, and can't seem to find it. I even
> > tried passing showType and radioplayer to
> > radio_load_2.html and assigning values to those
> > variables, and checked the return value to see if that
> > would return the link.
>
>You're on the right track.  In the radio_load_2.html file, you'll see a
>function called wihchPath.  this determins where to go next, based on the
>browser used.  One bit says:
>
>         if (OpSys == "Linux") {
>                 window.location = buildOldURL();
>
>Good enough for me.  so I scroll down to
>
>function buildOldURL() {
>
>and down a little it says:
>
>                 if(args.showType == "live") {
>
>return("http://www.cnet.com/radio/rlu/live_2.html");
>
>So that's where we go, kids.
>
>And on the 3rd screen you'll find:
>
>         var livePathRmp = "http://www.cnet.com/radio/playlist/live.ram";
>
>If anyone wants the URLs I have for the javascript tutes and references,
>just let me know.  A little bit of javascript knowlege helps a lot when
>figuring out this stuff.
>
>Geoff.
>
>
>
>--
>Geoff Shang <gshang at uq.net.au>
>ICQ number 43634701
>
>Make sure your E-mail can be read by everyone!
>http://www.betips.net/etc/evilmail.html
>
>Please avoid sending me Word or PowerPoint attachments.
>See http://www.fsf.org/philosophy/no-word-attachments.html
>
>
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list