Renders RSS entries in HTML. We are not from the past.
This commit is contained in:
parent
3368b5660c
commit
a11ee64dae
1 changed files with 7 additions and 5 deletions
12
main.tmpl
12
main.tmpl
|
|
@ -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:
|
||||
<p>
|
||||
${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>
|
||||
<p>
|
||||
${XMLEncode(rstToHtml(%postContent))}</content>
|
||||
</entry>
|
||||
# end for
|
||||
</feed>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue