RSS 출력 문제 수정 (태그 출력)

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1867 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-04 09:09:36 +00:00
parent c3ded5ed07
commit 0e179f9efe

View file

@ -30,7 +30,7 @@
if($module_info->mid != $mid) return $this->dispError();
// RSS 비활성화 되었는지 체크하여 비활성화시 에러 출력
if($config->open_rss == 'N') return $this->dispError();
if($module_info->open_rss == 'N') return $this->dispError();
// 출력할 컨텐츠 추출
$args->module_srl = $module_info->module_srl;
@ -75,7 +75,7 @@
$item->description = $item->getContent();
// 요약 공개일 경우
} else {
$item->description = cut_str(strip_tags($item->getContentText()),100,'...');
$item->description = cut_str(strip_tags($item->getContent()),100,'...');
}
$item->date = gmdate("D, d M Y H:i:s", $time);
$content[$idx++] = $item;