git-svn-id: http://xe-core.googlecode.com/svn/trunk@1291 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-24 02:22:27 +00:00
parent 5cd542b8da
commit 9fac285610
2 changed files with 9 additions and 2 deletions

View file

@ -68,7 +68,14 @@
$item->author = $item->user_name;
$item->link = sprintf("%s?document_srl=%d", Context::getRequestUri(), $item->document_srl);
$item->description = $item->content;
// 전문 공개일 경우
if($module_info->open_rss=='Y') {
$item->description = $item->content;
// 요약 공개일 경우
} else {
$item->description = cut_str(strip_tags($item->content),100,'...');
}
$item->date = gmdate("D, d M Y H:i:s", $time);
$content[$idx++] = $item;
}