블로그 rss 오류 > 지블로그 질답

지블로그 질답

블로그 rss 오류 정보

블로그 rss 오류

본문

 <?xml version="1.0" encoding="euc-kr" ?>
- <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <channel>
  <title>Ketz</title>
  <description>Ketz님의 블로그</description>
  <language>ko</language>
- <image>
  <title>Ketz</title>
  <width>400</width>
  <height>291</height>
  <description>Ketz님의 블로그</description>
  </image>
- <item>
  <title>300의 일원이 되는 그 날까지</title>
- <description>
- <![CDATA[
  ]]>

 
  </description>
  <category>전체</category>
  <author>Ketz</author>
  <pubDate>Wed, 04 Apr 2007 09:13:53 +0900</pubDate>
  </item>
  </channel>
  </rss>
 
보시면 item 링크에 이처럼 주소가 중복되어서 나옵니다.
  • 복사

댓글 전체

blog/rss.php 파일의 70번째 라인

    $link = 'http://'.$_SERVER['HTTP_HOST'].get_post_url($row['id']);

이 부분을 아래 코드로 수정해주세요.

    $link = get_post_url($row['id']);
© SIRSOFT
현재 페이지 제일 처음으로