블로그 rss 오류
<?xml version="1.0" encoding="euc-kr" ?>
<title>Ketz</title>
<description>Ketz님의 블로그</description>
<language>ko</language>
<title>Ketz</title>
<width>400</width>
<height>291</height>
<description>Ketz님의 블로그</description>
</image>
<title>300의 일원이 되는 그 날까지</title>
</description>
<category>전체</category>
<author>Ketz</author>
<pubDate>Wed, 04 Apr 2007 09:13:53 +0900</pubDate>
</item>
</channel>
</rss>
보시면 item 링크에 http://ketz.co.krhttp://ketz.co.kr/blog/admin/7 이처럼 주소가 중복되어서 나옵니다.
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 2개
$link = 'http://'.$_SERVER['HTTP_HOST'].get_post_url($row['id']);
이 부분을 아래 코드로 수정해주세요.
$link = get_post_url($row['id']);