Merge branch 'pr_html_rss' of git://github.com/gradha/nimforum into gradha-pr_html_rss
This commit is contained in:
commit
7a29e748e7
1 changed files with 7 additions and 5 deletions
12
main.tmpl
12
main.tmpl
|
|
@ -131,8 +131,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>
|
||||
|
|
@ -177,10 +179,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