mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
기본 RSS 제목, 몇가지 선택적인 RSS Spec 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5309 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2f81632dc6
commit
4f4522b0db
2 changed files with 7 additions and 1 deletions
|
|
@ -79,7 +79,10 @@
|
|||
$info->description = $this->module_info->description;
|
||||
$info->link = getUrl('','mid',Context::get('mid'));
|
||||
} else {
|
||||
$info->title = $info->link = Context::getRequestUri();
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$info->title = $site_module_info->browser_title;
|
||||
$info->title = str_replace('\'', ''', htmlspecialchars($info->title));
|
||||
$info->link = Context::getRequestUri();
|
||||
}
|
||||
$info->total_count = $output->total_count;
|
||||
$info->total_page = $output->total_page;
|
||||
|
|
|
|||
|
|
@ -8,11 +8,14 @@
|
|||
<language>{$info->language}</language>
|
||||
<pubDate>{$info->date}</pubDate>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
<generator>XpressEngine {__ZBXE_VERSION__}</generator>
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item>
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<author>{str_replace('\'', ''',$oDocument->getNickName())}</author>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<guid isPermaLink="true">{$oDocument->getPermanentUrl()}</guid>
|
||||
<comments>{$oDocument->getPermanentUrl()}#comment</comments>
|
||||
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContent(false,false,true)))}</description>
|
||||
<!--@else-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue