Adds published tag as duplicate of updated for old rss clients.
This commit is contained in:
parent
8d94ef5690
commit
aae5609bbb
1 changed files with 2 additions and 0 deletions
|
|
@ -129,6 +129,7 @@
|
|||
# "#" & %postId
|
||||
<link rel="alternate" type="text/html"
|
||||
href="${c.req.makeUri(url)}"/>
|
||||
<published>${%threadDate}</published>
|
||||
<updated>${%threadDate}</updated>
|
||||
<author><name>${XMLEncode(%postAuthor)}</name></author>
|
||||
<content type="html"
|
||||
|
|
@ -177,6 +178,7 @@ ${XMLEncode(rstToHtml(%postContent))}</content>
|
|||
# "#" & %postId
|
||||
<link rel="alternate" type="text/html"
|
||||
href="${c.req.makeUri(url)}"/>
|
||||
<published>${%postRssDate}</published>
|
||||
<updated>${%postRssDate}</updated>
|
||||
<author><name>${XMLEncode(%postAuthor)}</name></author>
|
||||
<content type="html"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue