rss 2.0 Spec 정리, 안쓰는 것 삭제

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5360 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-14 12:43:21 +00:00
parent 11df94acee
commit d1a3098d52

View file

@ -1,6 +1,6 @@
{'<?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/">
<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>
@ -23,8 +23,13 @@
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100)))}</description>
<!--@end-->
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
{@$i=0;}
<!--@foreach($oDocument->get('tag_list') as $tag)-->
<category>{str_replace('\'', '&apos;', htmlspecialchars($tag))}</category>
{@$i++;}
<!--@end-->
<!--@if($i>0)-->
<slash:comments>{$i}</slash:comments>
<!--@end-->
</item>
<!--@end-->