20 lines
780 B
Plaintext
20 lines
780 B
Plaintext
{contentType application/rss+xml}
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>{$title}</title>
|
|
<description><![CDATA[{$desc}]]></description>
|
|
<link>{$link}</link>
|
|
<atom:link href="{$link . '/rss'}" rel="self" type="application/rss+xml"></atom:link>
|
|
{foreach $items as $item}
|
|
<item>
|
|
<title>{$item->desc}</title>
|
|
<description><![CDATA[<p>{$item->desc}</p><video controls="controls" preload="auto" src="{url_stream($item->video->playAddr)}"></video>]]></description>
|
|
<link>{url_video_internal($item->author->uniqueId, $item->id)}</link>
|
|
<pubDate>{date('r', $item->createTime)}</pubDate>
|
|
<guid isPermaLink="false">{$item->id}</guid>
|
|
</item>
|
|
{/foreach}
|
|
</channel>
|
|
</rss>
|