fix r5307

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5308 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-10 06:39:46 +00:00
parent eaa5f6b0fa
commit 2f81632dc6

View file

@ -4,7 +4,7 @@
<channel>
<title>{$info->title}</title>
<link>{$info->link}</link>
<description>{htmlspecialchars(str_replace('\'', '&apos;',$info->description))}</description>
<description>{str_replace('\'', '&apos;', htmlspecialchars($info->description))}</description>
<language>{$info->language}</language>
<pubDate>{$info->date}</pubDate>
<totalCount>{$info->total_count}</totalCount>
@ -14,13 +14,13 @@
<author>{str_replace('\'', '&apos;',$oDocument->getNickName())}</author>
<link>{$oDocument->getPermanentUrl()}</link>
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
<description>{htmlspecialchars(str_replace('\'', '&apos;',$oDocument->getContent(false,false,true)))}</description>
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContent(false,false,true)))}</description>
<!--@else-->
<description>{htmlspecialchars(str_replace('\'', '&apos;',$oDocument->getContentText(100)))}</description>
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100)))}</description>
<!--@end-->
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
<!--@foreach($oDocument->get('tag_list') as $tag)-->
<category>{htmlspecialchars(str_replace('\'', '&apos;',$tag))}</category>
<category>{str_replace('\'', '&apos;', htmlspecialchars($tag))}</category>
<!--@end-->
</item>
<!--@end-->