mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
- RSS2.0 스팩에 맞추어 'category'노드로 출력. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3129 201d5d3c-b55e-5fd7-737f-ddc643e51545
28 lines
1.3 KiB
HTML
28 lines
1.3 KiB
HTML
{'<?xml version="1.0" encoding="utf-8" ?>'}
|
|
|
|
<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>
|
|
<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>
|
|
<!--@if($mid_list[$oDocument->get('module_srl')]->open_rss=='Y')-->
|
|
<description><![CDATA[{$oDocument->getContent(false)}]]></description>
|
|
<!--@else-->
|
|
<description><![CDATA[{$oDocument->getContentText(100)}]]></description>
|
|
<!--@end-->
|
|
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
|
|
<!--@foreach($oDocument->get('tag_list') as $tag)-->
|
|
<category>{$tag}</category>
|
|
<!--@end-->
|
|
</item>
|
|
<!--@end-->
|
|
</channel>
|
|
</rss>
|