웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
사용법은 첨부화일에 있는 아래내용(view.php)을 참고하세요
<?
echo "<meta http-equiv=Content-Type content=text/html;charset=euc-kr>";
include("class_w_info.php");
$winamp = new winamp_cast_info;
//$url = "http://www.foxcast.co.kr/listen.pls";
//$url = "http://RED316YY.diodeo.com/listen.pls";
//$url = "http://www.mukulcast.com/listen.pls";
//$url = "http://fox.inlive.co.kr:2020/listen.pls";
//$url = "http://TINA24.diodeo.com/listen.pls";
$url = "http://miin.jukeonfm.com/listen.pls";
//$url = "http://www.saycast.com/raspberi1004.pls";
$winamp->set_cast_url($url);
echo "서버의 갯수: ";
echo $winamp->cast_info["server_amount"];
echo "<br>";
echo "현재청취인원: ";
echo $winamp->cast_info[now_listen];
echo "<br>";
echo "최대청취가능 인원: ";
echo $winamp->cast_info[max_listen_persons];
echo "<br>";
echo "최대청취자수: ";
echo $winamp->cast_info[peak];
echo "<br>";
echo "방송음질: ";
echo $winamp->cast_info[kbps];
echo "<br>";
echo "평균청취시간: ";
echo $winamp->cast_info[a_l_time];
echo "<br>";
echo "방송타이틀: ";
echo $winamp->cast_info[title];
echo "<br>";
echo "방송장르: ";
echo $winamp->cast_info[genre];
echo "<br>";
echo "URL: ";
echo $winamp->cast_info[url];
echo "<br>";
echo "aim: ";
echo $winamp->cast_info[aim];
echo "<br>";
echo "IRC: ";
echo $winamp->cast_info[irc];
echo "<br>";
echo "현재나오는음악제목: ";
echo $winamp->cast_info[song];
echo "<br>";
# 방송히스토리를 알고 싶을경우
$history_array = $winamp->cast_info[history];
for($i=0;$i <= sizeof($history_array["time"])-1;$i++){
echo $history_array["time"][$i];
echo " :::: ";
echo $history_array["title"][$i];
echo "<br>";
}
?>
winamp 방송정보 알아오기 (2005년 새로 코딩한 버전)
2005.05.06 13:32
사용법은 첨부화일에 있는 아래내용(view.php)을 참고하세요
<?
echo "<meta http-equiv=Content-Type content=text/html;charset=euc-kr>";
include("class_w_info.php");
$winamp = new winamp_cast_info;
//$url = "http://www.foxcast.co.kr/listen.pls";
//$url = "http://RED316YY.diodeo.com/listen.pls";
//$url = "http://www.mukulcast.com/listen.pls";
//$url = "http://fox.inlive.co.kr:2020/listen.pls";
//$url = "http://TINA24.diodeo.com/listen.pls";
$url = "http://miin.jukeonfm.com/listen.pls";
//$url = "http://www.saycast.com/raspberi1004.pls";
$winamp->set_cast_url($url);
echo "서버의 갯수: ";
echo $winamp->cast_info["server_amount"];
echo "<br>";
echo "현재청취인원: ";
echo $winamp->cast_info[now_listen];
echo "<br>";
echo "최대청취가능 인원: ";
echo $winamp->cast_info[max_listen_persons];
echo "<br>";
echo "최대청취자수: ";
echo $winamp->cast_info[peak];
echo "<br>";
echo "방송음질: ";
echo $winamp->cast_info[kbps];
echo "<br>";
echo "평균청취시간: ";
echo $winamp->cast_info[a_l_time];
echo "<br>";
echo "방송타이틀: ";
echo $winamp->cast_info[title];
echo "<br>";
echo "방송장르: ";
echo $winamp->cast_info[genre];
echo "<br>";
echo "URL: ";
echo $winamp->cast_info[url];
echo "<br>";
echo "aim: ";
echo $winamp->cast_info[aim];
echo "<br>";
echo "IRC: ";
echo $winamp->cast_info[irc];
echo "<br>";
echo "현재나오는음악제목: ";
echo $winamp->cast_info[song];
echo "<br>";
# 방송히스토리를 알고 싶을경우
$history_array = $winamp->cast_info[history];
for($i=0;$i <= sizeof($history_array["time"])-1;$i++){
echo $history_array["time"][$i];
echo " :::: ";
echo $history_array["title"][$i];
echo "<br>";
}
?>
댓글 8
제목 | 글쓴이 | 날짜 |
---|---|---|
크롬리스(Chromless) 웹어플리케이션 -6 (최종) [4] | sundew | 2003.05.30 |
메뉴 옆에서 화살표가 스크롤되는.. [2] | 힘찬연못 | 2003.05.29 |
크롬리스(Chromless) 웹어플리케이션 -5 [3] | sundew | 2003.05.28 |
스크롤되는 레이어 나두 갖구 싶어서 ^^; 맹글어 봤습니다. [10] | M@xPond | 2003.05.28 |
오른쪽 버튼 클릭시 북마크창 띄우기(1석2조 방식) [4] | RedEye(rinja) | 2003.05.23 |
크롬리스(Chromless) 웹어플리케이션 -4 [4] | sundew | 2003.05.23 |
손님컴퓨터에 내홈피 즐겨찾기 원클릭으로추가시키기 [5] | 호호짱 | 2003.05.23 |
크롬리스(Chromless) 웹어플리케이션 -3 [5] | sundew | 2003.05.21 |
오늘 날짜와 시간 [3] | Brown | 2003.05.20 |
크롬리스(Chromless) 웹어플리케이션 -2 [5] | sundew | 2003.05.18 |
크롬리스(Chromless) 웹어플리케이션 -1 [1] | sundew | 2003.05.17 |
XXX는 객체가 아닙니다. [1] | RedEye | 2003.05.12 |
자바스크립트의 활용함에 대해.... [5] | RedEye | 2003.05.12 |
자바스크립트의 활용함에 대해 2 .... [1] | RedEye | 2003.05.18 |
[벅스 전용] 랜덤 음악 재생 Javascript. [1] | sundew | 2003.05.11 |
구문 오류 및 런타임 오류 모음 [1] | 아이쿠 | 2003.05.10 |
이벤트 핸들러 (Event Handler) 모음 [2] | 아이쿠 | 2003.05.10 |
랜덤 배경화면 구현하기 초간단 스크립트 공개(중복아님) [5] | 호호짱 | 2003.05.07 |
[배경음악] 첫곡은 랜덤, 그 이후로는 순차재생 [20] | 이주경 | 2003.05.06 |
[re] [소스] [배경음악] 첫곡은 랜덤, 그 이후로는 순차재생 --> 문제해결! [1] | 장진석 | 2003.06.02 |