삭제 됨 > 그누4 스킨

그누4 스킨

스킨의 저작권은 해당 스킨 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다.
스킨 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y
그누보드와 관련이 있지만 스킨과 빌더가 아니면 플러그인 게시판에 올려주세요.

삭제 됨 정보

게시판 삭제 됨

본문

삭제 됨
추천
28

댓글 전체

euc-kr도 좀 올려주시면 안될까요?
 euc-kr도 좀 올려주시면 안될까요?
 euc-kr도 좀 올려주시면 안될까요?
 euc-kr도 좀 올려주시면 안될까요?
 euc-kr도 좀 올려주시면 안될까요?
RSS 갱신 눌렀더니

Fatal error: Call to a member function children() on a non-object in /home/naraweb/skin/board/tto_youtube.rss_euc/tto_youtube_update.php on line 25

이런 에러만 뜨네요 ㅜ.ㅜ 배추빌더 쓰는데 그것과 관계가 있을까요?
게시판 여분 5 : 검색단어 이후 필요 주소
가 무엇을 의미 하는지 좀 알려주시면 고맙겠습니다
도무지 이해를 못하고 쩔절매고 있습니다..ㅜ.ㅜ
php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

설정값넣고 RSS 누르니까..이런메시지가 뜨네요
뭔가 제가 잘못한거같은데 모르겠습니다.
<?php
   
    $url = "http://gdata.youtube.com/feeds/api/videos?vq=qqq&orderby=viewCount&max-results=10&start-index=1";
    function readHtmlFile($url) {
        $info = parse_url($url);
   
   
        $host = $info["host"];
        $port = $info["port"];
        if ($port == 0) $port = 80;
   
   
        $path = $info["path"];
        if ($info["query"] != "") $path .= "?" . $info["query"];
        $out = "GET $path HTTP/1.0\r\nHost: $host\r\n\r\n";
        $fp = fsockopen($host, $port, $errno, $errstr, 30);
        if (!$fp) {
            echo "$errstr ($errno) <br>\n";
        }
   
        else {
   
            fputs($fp, $out);
            $start = false;
            $retVal = "";
   
            while(!feof($fp)) {
                $tmp = fgets($fp, 1024);
                if ($start == true) $retVal .= $tmp;
                if ($tmp == "\r\n") $start = true;
            }
   
            fclose($fp);
            // echo $retVal;
            return $retVal;
        }
    }
   
    $xmlstr = readHtmlFile($url);
    $sxml = simplexml_load_string($xmlstr);
    // var_dump($sxml);
   
    // opensearch: 이름 공간으로 요약 횟수 얻기
    $counts = $sxml->children('http://a9.com/-/spec/opensearchrss/1.0/');
    $total = $counts->totalResults;
    $startOffset = $counts->startIndex;
    $endOffset = ($startOffset-1) + $counts->itemsPerPage;
           
?>

<table>
      <?php   
      // 결과 집합에서 항목 순회
      // 각 항목 세부 내역 출력
      foreach ($sxml->entry as $entry) {
        // 매체 정보를 위한 media: 이름 공간에서 노드 얻기
        $media = $entry->children('http://search.yahoo.com/mrss/');
       
        // 동영상 재생기 URL 얻기
        $attrs = $media->group->player->attributes();
        $watch = $attrs['url'];
       
        // 동영상 축소판 이미지 얻기
        $attrs = $media->group->thumbnail[0]->attributes();
        $thumbnail = $attrs['url'];
       
        // 동영상 길이를 얻기 위해 <yt:duration> 노드 탐색
        $yt = $media->children('http://gdata.youtube.com/schemas/2007');
        $attrs = $yt->duration->attributes();
        $length = $attrs['seconds'];
       
        // 접근 횟수 통계를 얻기 위해 <yt:stats> 노드 탐색
        $yt = $entry->children('http://gdata.youtube.com/schemas/2007');
        $attrs = $yt->statistics->attributes();
        $viewCount = $attrs['viewCount'];
     
        // 동영상 평가 점수를 얻기 위해 <gd:rating> 노드 탐색
        $gd = $entry->children('http://schemas.google.com/g/2005');
        if ($gd->rating) {
          $attrs = $gd->rating->attributes();
          $rating = $attrs['average'];
        } else {
          $rating = 0;
        }

        // 비디오 ID 얻기
        $arr = explode('/',$entry->id);
        $id = $arr[count($arr)-1];
           
        // 레코드 출력
        echo "<tr><td colspan=\"2\" class=\"line\"></td></tr>\n";
        echo "<tr>\n";
        echo "<td><a href=\"{$watch}\">
        <img src=\"$thumbnail\"/></a></td>\n";
        echo "<td><a href=\"{$watch}\">
        {$media->group->title}</a><br/>\n";
        echo sprintf("%0.2f", $length/60) . " min. | {$rating} user rating |
        {$viewCount} views<br/>\n";
        echo $media->group->description . "<br/>\n";
        echo "<a href=\"details.php?id=$id\">More information</a>
        </td>\n";
        echo "</tr>\n";
      }
    ?>
나는안되여
설치하고 일일이 동영상 링크 걸어야 되는 것이랍니까?
아니면 자동으로 걸리는 겁니껴?
게시판만 달랑 뜨는데요?
위의 그림대로 그대로 입력했는뎅 안되넹~
Fatal error: Call to undefined function: simplexml_load_string() in /home/hosting_users/sellfree/www/community/skin/board/tto_youtube.rss/tto_youtube_update.php on line 22

이런에러가 나는데 방법이 없을까요??
Fatal error: Call to undefined function: simplexml_load_string() in /home/hosting_users/reallee/www/skin/board/utorss/tto_youtube_update.php on line 22


저도 이런 에러가 나는데...방법이 없을까요?
RSS갱신을 누르니 아래와 같은 에러가 나는군요.
다른 분들은 잘 되시나요??

Fatal error: Call to undefined function: simplexml_load_string() in /home1/redever/public_html/board/skin/board/tto_youtube.rss/tto_youtube_update.php on line 18
게시판 여분 1 :tto_youtube_update.php
게시판 여분 3 :https://gdata.youtube.com/feeds/api/videos?q=
게시판 여분 4 : 검색단어    | 로 구분하여 입력
게시판 여분 5 :&orderby=published&start-index=11&max-results=20&v=2



추천
위에 에러 난다는 분들 해결 방법 알려드릴께요.
게시판 여분필드에 직접 타이핑 해서 입력하세요.
드래그&붙여넣기로 복사하면 공백까지 입력되어서 그런 에러가 뜬 것입니다.
전체 5,850 |RSS
그누4 스킨 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT