What program are you using?
Does anyone know how to get the HTML for when you are on air, it will display the song title to your site..
What program are you using?
Divinity Host http://divinityhost.net - Free, Shared, & Reseller Hosting or even Pay for what you use!
Winamp
does anyone know?
You can't use HTML to do this.
You will have to use PHP with socket() functions to connect to the radio server & port, then send and receive information to get the song title.
Unless your radio host has some sort of code you can copy to show the song title.
Try this out i use this on some sites<div style="Visibility: Hidden; Position: Absolute;">
<?
$open = fsockopen("server ip here","port here");
if ($open) {
fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
$read = fread($open,1000);
$text = explode("content-type:text/html",$read);
$text = explode(",",$text[1]);
} else { $er="Connection Refused!"; }
?>
</div>
<?
if ($text[1]==1) { $state = "Up"; } else { $state = "Down"; }
if ($er) { echo $er; exit; }
echo "<font face=verdana size=1>
Server State: <b>$state</b><br>
Bitrate: $text[5] Kbps<br>
Current Song: $text[6]<br>
Stream Status:$text[4]
</font>";?>
Bookmarks