Renders RSS entries in HTML. We are not from the past.

This commit is contained in:
Grzegorz Adam Hankiewicz 2013-07-28 22:47:17 +02:00
commit a11ee64dae

View file

@ -130,8 +130,10 @@
href="${c.req.makeUri(url)}"/>
<updated>${%threadDate}</updated>
<author><name>${XMLEncode(%postAuthor)}</name></author>
<content type="text"
>Posts ${%postCount}, ${XMLEncode(%postAuthor)} said: ${XMLEncode(%postContent)}</content>
<content type="html"
>Posts ${%postCount}, ${XMLEncode(%postAuthor)} said:
&lt;p&gt;
${XMLEncode(rstToHtml(%postContent))}</content>
</entry>
# end for
</feed>
@ -176,10 +178,10 @@
href="${c.req.makeUri(url)}"/>
<updated>${%postRssDate}</updated>
<author><name>${XMLEncode(%postAuthor)}</name></author>
<content type="text"
<content type="html"
>On ${XMLEncode(%postHumanDate)}, ${XMLEncode(%postAuthor)} said:
${XMLEncode(%postContent)}</content>
&lt;p&gt;
${XMLEncode(rstToHtml(%postContent))}</content>
</entry>
# end for
</feed>