테스트 사이트 - 개발 중인 베타 버전입니다

핑 수집실패. 채택완료

네이버웹마스터를 통해 등록을 하였는데 그누보드는 연동키만적으면 된다고해서 그렇게 하였는데

핑 수집을 실패했다고 나옵니다.

또 다른 설정을 해야하는것이 있나요? 

ping.php소스는 제가 집어 넣는건가여? 저절로 생성이 되는건가요?

 

제ping.php는 이렇게 되어있습니다.

if (!$write)     die("게시글이 없습니다.");

if ($group['gr_use_access'])     die("게시판그룹에서 접근사용을 해제하여 주십시오.");

if ($board['bo_read_level'] > 1)     die("비회원 읽기가 가능한 게시판만 신디케이션을 지원합니다.");

if (strstr($write['wr_option'], 'secret'))     die("비밀글은 신디케이션을 지원하지 않습니다.");

if (preg_match('#^('.$config['cf_syndi_except'].')$#', $bo_table))     die("신디케이션에서 제외된 게시판입니다.");

$title        = htmlspecialchars($write['wr_subject']); $author       = htmlspecialchars($write['wr_name']); $published    = date('Y-m-d\TH:i:s\+09:00', strtotime($write['wr_datetime'])); $updated      = $published; $link_href    = G5_BBS_URL . "/board.php?bo_table={$bo_table}"; $id           = $link_href . htmlspecialchars("&wr_id={$wr_id}"); $cf_title     = htmlspecialchars($config['cf_title']); $link_title   = htmlspecialchars($board['bo_subject']); $feed_updated = date('Y-m-d\TH:i:s\+09:00', G5_SERVER_TIME);

$find         = array('&', ' '); # 찾아서 $replace      = array('&', ' '); # 바꾼다

$content      = str_replace( $find, $replace, $write['wr_content'] ); $summary      = str_replace( $find, $replace, strip_tags($write['wr_content']) );

Header("Content-type: text/xml"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache");

echo "\n"; echo "http://webmastertool.naver.com\">\n"; echo "" . G5_URL . "\n"; echo "naver syndication feed document\n"; echo "\n";     echo "webmaster\n"; echo "\n";

echo "{$feed_updated}\n";

echo "\n"; echo "\n";     echo "{$id}\n";     echo "<![CDATA[{$title}]]>\n";     echo "\n";         echo "{$author}\n";     echo "\n";     echo "{$updated}\n";     echo "{$published}\n";     echo "\n";     echo "\n";     echo "\n";     echo "

\n";     echo "\n"; echo "\n"; echo ""; ?>

 

 

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트

해당 ping.php 를 직접 접속하여 문제가 없는지 확인해보세요. 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

게시글이 없습니다. 로 나오는데.....원래는 어떻게 나와야하는건가요?

댓글을 작성하려면 로그인이 필요합니다.

</span><span class="text">naver syndication feed document</span><span class="html-tag">
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;">
webmaster
2016-05-11T16:30:24+09:00
 rel="site" href="http://도메인">http://도메인http://도메">http://도">" title="그누보드5"/>
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;">
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;">
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;"></span></div><div class="collapsible-content" style="margin-left: 1em;"><div class="line"><span class="text"><![CDATA[ 연동방법입니다. ]]></span></div></div><div class="line"><span class="html-tag">
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;">
최고관리자
2016-05-11T16:30:03+09:00
2016-05-11T16:30:03+09:00
 rel="via" href="http://도메인">http://도메인/bbs/board.php?bo_table=free" title="자유게시판"/>
 rel="mobile" href="http://도메인">http://도메인/bbs/board.php?bo_table=free&wr_id=28"/>
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;"> type="html">
연동방법은 간단합니다.

]]>
http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'>"); width: 10px; height: 10px; margin-left: -10px; vertical-align: bottom; display: inline-block; cursor: pointer; -webkit-user-select: none;"> type="text">
 term="free" label="자유게시판"/>

 

 

이렇게 나와야 합니다.

ie에서는 버전에 따라 안나오는 경우도 있으므로 크롬으로 테스트 하시기 바랍니다. 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고