mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
11df94acee
commit
d1a3098d52
1 changed files with 6 additions and 1 deletions
|
|
@ -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('\'', ''', 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-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue