mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
#17625594 Atom 1.0 지원, rss포맷 다양화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5312 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c434373e5c
commit
c9edb15e8d
5 changed files with 73 additions and 23 deletions
|
|
@ -2,24 +2,24 @@
|
|||
|
||||
<rss version="1.0">
|
||||
<channel>
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<title>{$info->title}</title>
|
||||
<link>{$info->link}</link>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($info->description))}</description>
|
||||
<language>{$info->language}</language>
|
||||
<pubDate>{$info->date}</pubDate>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
<totalPage>{$info->total_page}</totalPage>
|
||||
<!--@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')]->open_rss=='Y')-->
|
||||
<description><![CDATA[{$oDocument->getContent(false)}]]></description>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContent(false)))}</description>
|
||||
<!--@else-->
|
||||
<description><![CDATA[{$oDocument->getContentText(100)}]]></description>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))}</description>
|
||||
<!--@end-->
|
||||
<tags><![CDATA[{$oDocument->get('tags')}]]></tags>
|
||||
<tags>{str_replace('\'', ''', htmlspecialchars($oDocument->get('tags')))}</tags>
|
||||
<comment_count>{$oDocument->getCommentCount()}</comment_count>
|
||||
<trackback_count>{$oDocument->getTrackbackCount()}</trackback_count>
|
||||
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue