From: Rob <[EMAIL PROTECTED]>
Subject: RE: Trying to build a web site jukebox
Could you send in the site URL? I'm curious. That is kind of an odd
setup, since I'm pretty sure the RealServer does not handle form
submissions like that. Does it?
My guess is that someone wrote a Perl script, named it ".ram" instead of
".cgi" or ".pl", and convinced their webserver to execute it with the
Perl interpreter. The script returns the custom RAM file contents, and
the browser (seeing that it's opening a ".ram") automatically handles it
with the RealPlayer. Pretty slick, if that is what's going on.
-Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert Whelan NesTek Development Corp.
Software Engineer 6780 Pittsford-Palmyra Rd.
[EMAIL PROTECTED] Fairport, NY 14450
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -----Original Message-----
> From: RealForum [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 05, 1999 7:00 PM
> Subject: Trying to build a web site jukebox
>
>
> From: "Don West" <[EMAIL PROTECTED]>
> Subject: Trying to build a web site jukebox
>
> Hi folks!
>
> I'm a newbie to Real Audio so bear with me please. I saw a
> web site with a
> "jukebox" page that I'd like to reproduce in a web site I'm designing.
> Basically it was a form with several checkboxes. Each
> checkbox represents a
> song that the user may choose to listen to. There is also a "shuffle"
> bradio button and a "play in order" radio button. The user
> selects the song
> checkboxes of interest, clicks one of the radio buttons,
> clicks an image to
> submit the form, and the realplayer plug-in starts up and
> plays the songs.
> Simple enough.
>
> Now, here are my observations:
>
> In the source code for the web page, each song has an entry like this:
>
> <INPUT TYPE=CHECKBOX
> NAME="pnm://music/george/homeontherange.ra"
> VALUE=1>
>
> with the applicable "songname".ra in the line.
>
> Also, at the top of the HTML is a line like this:
>
> <FORM ACTION="jukebox.ram" METHOD=POST>
>
> Here are my questions:
>
> I know what .ra files are and how to create them. I know
> what a .ram file
> is and how to create one. I know that a .ram file activates
> the plug-in
> and then the plug-in plays the song or list of songs in the .ram file.
> Heres what I don't know:
>
> How does the form data (i.e. the list of songs the user
> selected and the
> "play in order" or "shuffle" stipulation) get "into" the
> jukebox.ram file so
> that the plug-in knows what to do when it's activated by the
> .ram file?
>
> Any input would be greatly appreciated!
>
> Thanks!
> Don West