removed unnecessary email field, made date output in RSS crossplatform (via date('r'))

This commit is contained in:
real_nowhereman 2010-01-02 15:53:12 +00:00
parent c889e33be9
commit 0a2c894aba
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<link>{$the_comment_link}</link> <link>{$the_comment_link}</link>
<description><![CDATA[{$flatpress.subtitle}]]></description> <description><![CDATA[{$flatpress.subtitle}]]></description>
<copyright>Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author}</copyright> <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> <language>{$fp_config.locale.lang}</language>
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" /> <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> <guid isPermaLink="true">{$the_comment_link}#{$id}</guid>
<dc:creator>{$name}</dc:creator> <dc:creator>{$name}</dc:creator>
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate> <pubDate>{'r'|date:$date}</pubDate>
</item> </item>

View File

@ -5,7 +5,7 @@
<link>{$flatpress.www}</link> <link>{$flatpress.www}</link>
<description><![CDATA[{$flatpress.subtitle}]]></description> <description><![CDATA[{$flatpress.subtitle}]]></description>
<copyright>Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author}</copyright> <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> <language>{$fp_config.locale.lang}</language>
<atom:link rel="self" href="{'rss2'|theme_feed_link}" type="application/rss+xml" /> <atom:link rel="self" href="{'rss2'|theme_feed_link}" type="application/rss+xml" />
<generator>FlatPress</generator> <generator>FlatPress</generator>
@ -19,8 +19,8 @@
{if ($categories)} <category><![CDATA[ {$categories|@filed:false} ]]></category>{/if} {if ($categories)} <category><![CDATA[ {$categories|@filed:false} ]]></category>{/if}
<guid isPermaLink="true">{$id|link:post_link}</guid> <guid isPermaLink="true">{$id|link:post_link}</guid>
<author>{$flatpress.email} ({$flatpress.author})</author> {*<author>{$flatpress.email} ({$flatpress.author})</author>*}
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate> <pubDate>{'r'|date:$date}</pubDate>
<comments>{$id|link:comments_link}</comments> <comments>{$id|link:comments_link}</comments>
{foreach from=$enclosure item=encl} {foreach from=$enclosure item=encl}