Fixed RSS pubDate
This commit is contained in:
parent
4232ca8d64
commit
9a662ffe1b
|
@ -14,7 +14,7 @@
|
||||||
<title>{$item->desc}</title>
|
<title>{$item->desc}</title>
|
||||||
<description><![CDATA[{$item->desc}]]></description>
|
<description><![CDATA[{$item->desc}]]></description>
|
||||||
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
|
<link>{path('/@' . $item->author->uniqueId . '/video/' . $item->id)}</link>
|
||||||
<pubDate>{(int) $item->createTime}</pubDate>
|
<pubDate>{date('r', $item->createTime)}</pubDate>
|
||||||
<guid isPermaLink="false">{$item->id}</guid>
|
<guid isPermaLink="false">{$item->id}</guid>
|
||||||
<enclosure length="{$download->file_size($item->video->playAddr)}" type="video/mp4" url="{path('/stream?url=' . urlencode($item->video->playAddr))}"></enclosure>
|
<enclosure length="{$download->file_size($item->video->playAddr)}" type="video/mp4" url="{path('/stream?url=' . urlencode($item->video->playAddr))}"></enclosure>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue