mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
CDATA 필요 없는 곳 삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5306 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5a18d668db
commit
5b27ea1ea3
2 changed files with 7 additions and 6 deletions
|
|
@ -72,9 +72,10 @@
|
|||
$output = $oDocumentModel->getDocumentList($args);
|
||||
$document_list = $output->data;
|
||||
|
||||
// rss 제목 및 정보등을 추출
|
||||
// rss 제목 및 정보등을 추출 Context::getBrowserTitle
|
||||
if($mid) {
|
||||
$info->title = Context::getBrowserTitle();
|
||||
$info->title = str_replace('\'', ''',$info->title);
|
||||
$info->description = $this->module_info->description;
|
||||
$info->link = getUrl('','mid',Context::get('mid'));
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
|
||||
<channel>
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<title>{$info->title}</title>
|
||||
<link>{$info->link}</link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<language>{$info->language}</language>
|
||||
<pubDate>{$info->date}</pubDate>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item>
|
||||
<title><![CDATA[{$oDocument->getTitleText()}]]></title>
|
||||
<author><![CDATA[{$oDocument->getNickName()}]]></author>
|
||||
<link><![CDATA[{$oDocument->getPermanentUrl()}]]></link>
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<author>{str_replace('\'', ''',$oDocument->getNickName())}</author>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
|
||||
<description><![CDATA[{$oDocument->getContent(false,false,true)}]]></description>
|
||||
<!--@else-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue