mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5360 201d5d3c-b55e-5fd7-737f-ddc643e51545
37 lines
1.8 KiB
HTML
37 lines
1.8 KiB
HTML
{'<?xml version="1.0" encoding="UTF-8" ?>'}
|
|
|
|
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
|
|
<channel>
|
|
<title>{$info->title}</title>
|
|
<link>{$info->link}</link>
|
|
<description>{str_replace('\'', ''', htmlspecialchars($info->description))}</description>
|
|
<language>{$info->language}</language>
|
|
<pubDate>{$info->date}</pubDate>
|
|
<generator>XpressEngine {__ZBXE_VERSION__}</generator>
|
|
<!--@foreach($document_list as $oDocument)-->
|
|
<item>
|
|
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
|
<dc:creator>{str_replace('\'', ''',$oDocument->getNickName())}</dc:creator>
|
|
<link>{$oDocument->getPermanentUrl()}</link>
|
|
<guid isPermaLink="true">{$oDocument->getPermanentUrl()}</guid>
|
|
<!--@if($oDocument->allowComment()) -->
|
|
<comments>{$oDocument->getPermanentUrl()}#comment</comments>
|
|
<!--@end-->
|
|
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
|
|
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContent(false,false,true)))}</description>
|
|
<!--@else-->
|
|
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))}</description>
|
|
<!--@end-->
|
|
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
|
|
{@$i=0;}
|
|
<!--@foreach($oDocument->get('tag_list') as $tag)-->
|
|
<category>{str_replace('\'', ''', htmlspecialchars($tag))}</category>
|
|
{@$i++;}
|
|
<!--@end-->
|
|
<!--@if($i>0)-->
|
|
<slash:comments>{$i}</slash:comments>
|
|
<!--@end-->
|
|
</item>
|
|
<!--@end-->
|
|
</channel>
|
|
</rss>
|