삭제 됨 정보
게시판 삭제 됨본문
삭제 됨
추천
28
28
댓글 전체

수고하셨어요~~
아! utf-8이군요 ㅜㅜ euc-kr도 좀 올려주시면 안될까요?
변환해도 한글검색은 안되네요
변환해도 한글검색은 안되네요
감사합니다
euc-kr도 좀 올려주시면 안될까요?
euc-kr도 좀 올려주시면 안될까요?
euc-kr도 좀 올려주시면 안될까요?
euc-kr도 좀 올려주시면 안될까요?
euc-kr도 좀 올려주시면 안될까요?
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
이런 에러만 뜨네요 ㅜ.ㅜ 배추빌더 쓰는데 그것과 관계가 있을까요?
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
이런 에러만 뜨네요 ㅜ.ㅜ 배추빌더 쓰는데 그것과 관계가 있을까요?

저도 배추빌더 사용하는데 이상없는데;;
아직 사용해보진 않았지만 깔끔하고 좋네요^^
스킨 감사합니다~
스킨 감사합니다~
Parse error: syntax error, unexpected ':' in /home/hosting_users/img7/www/skin/board/tto_youtube.rss_euc/tto_youtube_update.php on line 12
이 에러는 어떻게 해결하나요?
이 에러는 어떻게 해결하나요?

오굿! 추천 입니다 잘사용이 아니라 분석용으로 받아갑니다 수고하셧습니다 ^^
와 고생하셨어요..^^
게시판 여분 5 : 검색단어 이후 필요 주소
가 무엇을 의미 하는지 좀 알려주시면 고맙겠습니다
도무지 이해를 못하고 쩔절매고 있습니다..ㅜ.ㅜ
가 무엇을 의미 하는지 좀 알려주시면 고맙겠습니다
도무지 이해를 못하고 쩔절매고 있습니다..ㅜ.ㅜ

php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
설정값넣고 RSS 누르니까..이런메시지가 뜨네요
뭔가 제가 잘못한거같은데 모르겠습니다.
설정값넣고 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";
}
?>
$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";
}
?>

이렇게 적용해서 재배포 해도 되겠습니까? 해도 되겠죠?

코드가 다르니 바로 응용 합니다.
좋은 자료 감사합니다.
와~ 좋은 자료 감사합니다!!

사노라가노라님의 스킨은 대박스킨들뿐이군요 ㅎㅎ 감사합니다.
꺅 감사해용
너무심플하고 깔끔해서 사이트에 적용했어요 ^^
제가 보유중인 동영상은 업로드 안되나요???
제가 보유중인 동영상은 업로드 안되나요???
점말 유용하게 잘쓰고 있습니다.^^
첨엔 여분필드채우는것을 몰라 힘들었는데..^^
첨엔 여분필드채우는것을 몰라 힘들었는데..^^
감사~~~
감사합니다.
나는안되여
설치하고 일일이 동영상 링크 걸어야 되는 것이랍니까?
아니면 자동으로 걸리는 겁니껴?
게시판만 달랑 뜨는데요?
위의 그림대로 그대로 입력했는뎅 안되넹~
설치하고 일일이 동영상 링크 걸어야 되는 것이랍니까?
아니면 자동으로 걸리는 겁니껴?
게시판만 달랑 뜨는데요?
위의 그림대로 그대로 입력했는뎅 안되넹~
저도 게시판만 딸랑 뜨는데요..ㅠㅠ
라고 했다가 RSS갱신 눌러보니 쫘악 뜨네요.. 감사합니다 (__);
라고 했다가 RSS갱신 눌러보니 쫘악 뜨네요.. 감사합니다 (__);

좋은 게시판 ㅋㅋ 추천 ~
감사합니다.
유투브 동영상
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
이런에러가 나는데 방법이 없을까요??
이런에러가 나는데 방법이 없을까요??
rss갱신 누르면 아무것도 안뜨네요..
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
다른 분들은 잘 되시나요??
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
추천
게시판 여분 3 :https://gdata.youtube.com/feeds/api/videos?q=
게시판 여분 4 : 검색단어 | 로 구분하여 입력
게시판 여분 5 :&orderby=published&start-index=11&max-results=20&v=2
추천
위에 에러 난다는 분들 해결 방법 알려드릴께요.
게시판 여분필드에 직접 타이핑 해서 입력하세요.
드래그&붙여넣기로 복사하면 공백까지 입력되어서 그런 에러가 뜬 것입니다.
게시판 여분필드에 직접 타이핑 해서 입력하세요.
드래그&붙여넣기로 복사하면 공백까지 입력되어서 그런 에러가 뜬 것입니다.
잘쓰겠습니당~^^