more를 사용한 글들의 경우, xml리더에서 읽을경우, 제목클릭(weblog.php로 이동)과 다시 한번 more를 클릭하여야 하는 불편함이 있다.
pm forum의 원문글
pro버젼 포럼이라, free에서 되는지 안되는지는 잘 모르겠음.
방법:
1. rss.cp.php를 에디터로 열고, 아래부분을 찾는다.
// ----------------------------------------------
// WRITE RSS FEEDS
// ----------------------------------------------
..........................................................................
..........................................................................
..........................................................................
if ($url_rewriting == 1)
{
$permalink = $wpath . $wpage ."/P".$query->obj->post_id."/";
}
else
{
$permalink = $wpath . $wpage ."?id=P".$query->obj->post_id;
}
2. 이 부분 바로 다음에 아래를 그대로 가져다 붙인다.
// COMMENT URL STUFF
global $db_multiweblogs;
$postid = $query->obj->post_id;
$weblog = $query->obj->weblog;
$comments_page = get_pref("comments_page_$weblog");
$result = new DB_query($db, "select id from $db_multiweblogs where weblog = '$weblog'");
$result->db_fetch_object();
$catpage = $result->obj->id;
$catrow = 0;
$delim = '?id=';
if ($url_rewriting == 1)
{
$delim = '/';
$comments_page = str_replace('.php', '', $comments_page);
}
$comments_url = "$wpath{$comments_page}$delim{$postid}_0_{$catpage}_{$catrow}_C";
if ($url_rewriting == 1) $comments_url .= '/';
// Comment out the line below to switch back from comment links to the regular permanent link
$permalink = $comments_url;
3. 컨트롤패널에서 글을 수정하거나 새로 작성후, rss리더를 이용해 확인해보면 바뀐것을 알수 있다.
한글로 인코딩하는 방법: rss.class.php를 에디터로 연후 아래와 같이 고친다.
// Build RSS File에서 아래와 같이 수정
switch($this->rss_version)
{
case "0.91" : $encoding = "euc-kr";
break;
case "0.92" : $encoding = "euc-kr";
break;
case "1.0" : $encoding = "euc-kr";
break;
case "2.0" : $encoding = "euc-kr";
break;
}