removed unnecessary email field, made date output in RSS crossplatform (via date('r'))
This commit is contained in:
parent
c889e33be9
commit
0a2c894aba
@ -9,7 +9,7 @@
|
||||
<link>{$the_comment_link}</link>
|
||||
<description><![CDATA[{$flatpress.subtitle}]]></description>
|
||||
<copyright>Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author}</copyright>
|
||||
<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>
|
||||
{*<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>*}
|
||||
<language>{$fp_config.locale.lang}</language>
|
||||
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" />
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<guid isPermaLink="true">{$the_comment_link}#{$id}</guid>
|
||||
|
||||
<dc:creator>{$name}</dc:creator>
|
||||
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate>
|
||||
<pubDate>{'r'|date:$date}</pubDate>
|
||||
|
||||
|
||||
</item>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<link>{$flatpress.www}</link>
|
||||
<description><![CDATA[{$flatpress.subtitle}]]></description>
|
||||
<copyright>Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author}</copyright>
|
||||
<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>
|
||||
{*<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>*}
|
||||
<language>{$fp_config.locale.lang}</language>
|
||||
<atom:link rel="self" href="{'rss2'|theme_feed_link}" type="application/rss+xml" />
|
||||
<generator>FlatPress</generator>
|
||||
@ -19,8 +19,8 @@
|
||||
{if ($categories)} <category><![CDATA[ {$categories|@filed:false} ]]></category>{/if}
|
||||
<guid isPermaLink="true">{$id|link:post_link}</guid>
|
||||
|
||||
<author>{$flatpress.email} ({$flatpress.author})</author>
|
||||
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate>
|
||||
{*<author>{$flatpress.email} ({$flatpress.author})</author>*}
|
||||
<pubDate>{'r'|date:$date}</pubDate>
|
||||
<comments>{$id|link:comments_link}</comments>
|
||||
|
||||
{foreach from=$enclosure item=encl}
|
||||
|
Loading…
x
Reference in New Issue
Block a user