Merge pull request #56 from konopielko/master
Add video to the feed content
This commit is contained in:
commit
5e33b93031
|
@ -12,7 +12,7 @@
|
||||||
{foreach $items as $item}
|
{foreach $items as $item}
|
||||||
<item>
|
<item>
|
||||||
<title>{$item->desc}</title>
|
<title>{$item->desc}</title>
|
||||||
<description><![CDATA[{$item->desc}]]></description>
|
<description><![CDATA[<p>{$item->desc}</p><video controls="controls" preload="auto" src="{path('/stream?url=' . urlencode($item->video->playAddr))}"></video>]]></description>
|
||||||
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
|
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
|
||||||
<pubDate>{date('r', $item->createTime)}</pubDate>
|
<pubDate>{date('r', $item->createTime)}</pubDate>
|
||||||
<guid isPermaLink="false">{$item->id}</guid>
|
<guid isPermaLink="false">{$item->id}</guid>
|
||||||
|
|
Loading…
Reference in a new issue