some fixes to feeds
This commit is contained in:
parent
d89e2a3516
commit
9666fa5784
@ -4,7 +4,7 @@
|
|||||||
<title>{$flatpress.title}</title>
|
<title>{$flatpress.title}</title>
|
||||||
<subtitle>{$flatpress.subtitle}</subtitle>
|
<subtitle>{$flatpress.subtitle}</subtitle>
|
||||||
<link href="{$smarty.const.BLOG_BASEURL}" />
|
<link href="{$smarty.const.BLOG_BASEURL}" />
|
||||||
<link rel="self" href="{$smarty.server.REQUEST_URI|escape}" />
|
<link rel="self" href="{'atom'|theme_feed_link}" />
|
||||||
<generator uri="http://www.flatpress.org/" version="{$flatpress.version}">
|
<generator uri="http://www.flatpress.org/" version="{$flatpress.version}">
|
||||||
FlatPress
|
FlatPress
|
||||||
</generator>
|
</generator>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="{$fp_config.locale.charset}" ?>
|
<?xml version="1.0" encoding="{$fp_config.locale.charset}" ?>
|
||||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
{entry_block}
|
{entry_block}
|
||||||
{entry}
|
{entry}
|
||||||
@ -9,8 +9,9 @@
|
|||||||
<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}</managingEditor>
|
<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>
|
||||||
<language>{$flatpress.lang}</language>
|
<language>{$fp_config.locale.lang}</language>
|
||||||
|
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" />
|
||||||
|
|
||||||
<generator>FlatPress</generator>
|
<generator>FlatPress</generator>
|
||||||
|
|
||||||
@ -36,4 +37,4 @@
|
|||||||
{/entry_block}
|
{/entry_block}
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="{$fp_config.locale.charset}" ?>
|
<?xml version="1.0" encoding="{$fp_config.locale.charset}" ?>
|
||||||
<rss version="2.0">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{$flatpress.title}</title>
|
<title>{$flatpress.title}</title>
|
||||||
<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}</managingEditor>
|
<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>
|
||||||
<language>{$flatpress.lang}</language>
|
<language>{$fp_config.locale.lang}</language>
|
||||||
|
<atom:link rel="self" href="{'rss2'|theme_feed_link}" type="application/rss+xml" />
|
||||||
<generator>FlatPress</generator>
|
<generator>FlatPress</generator>
|
||||||
{entry_block}
|
{entry_block}
|
||||||
{entry}
|
{entry}
|
||||||
@ -16,10 +16,10 @@
|
|||||||
<title>{$subject}</title>
|
<title>{$subject}</title>
|
||||||
<link>{$id|link:post_link}</link>
|
<link>{$id|link:post_link}</link>
|
||||||
<description><![CDATA[{$content|tag:the_content}]]></description>
|
<description><![CDATA[{$content|tag:the_content}]]></description>
|
||||||
{if ($categories)} <category>{$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.AUTHOR} {$flatpress.EMAIL}</author>
|
<author>{$flatpress.email} ($flatpress.author})</author>
|
||||||
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate>
|
<pubDate>{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}</pubDate>
|
||||||
<comments>{$id|link:comments_link}</comments>
|
<comments>{$id|link:comments_link}</comments>
|
||||||
|
|
||||||
@ -29,4 +29,4 @@
|
|||||||
{/entry_block}
|
{/entry_block}
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user