Skip to content

Commit

Permalink
Update comment-rss.tpl
Browse files Browse the repository at this point in the history
Increased compatibility with various online readers
  • Loading branch information
Fraenkiman authored Jul 12, 2024
1 parent 02f5c5a commit 75c338d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions fp-interface/sharedtpls/comment-rss.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,28 @@ Visit https://aboutfeeds.com to get started with newsreaders and subscribing. It
-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>

<title>{$flatpress.title} » {$subject}</title>
<title>
<![CDATA[
{$flatpress.title} » {$subject}
]]>
</title>
<link>{$the_comment_link}</link>

{if $flatpress.subtitle!=""}
<description>
<![CDATA[
{$flatpress.subtitle}
]]>
</description>
{/if}

<copyright>Copyright {'Y'|date}, {$flatpress.author}</copyright>
{*<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">
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" />

<generator>FlatPress</generator>

Expand All @@ -59,8 +65,8 @@ Visit https://aboutfeeds.com to get started with newsreaders and subscribing. It
</item>
{/comment}
{/comment_block}
{/entry}

{/entry}
{/entry_block}

</channel>
Expand Down

0 comments on commit 75c338d

Please sign in to comment.