Author
|
zPlus <zplus@peers.community>
2019-03-02 04:51:27
|
Committer
|
zPlus <zplus@peers.community>
2019-03-02 04:51:27
|
Commit
|
f9facbc
(patch)
|
Tree
|
48339ba
|
Parent(s)
|
|
Fix #87 Add postTitle and correct link URL to comments RSS.
commits diff:
fc7c6d2..f9facbc
1 file changed,
4 insertions,
2 deletions
—
download
Diffstat
Diff options
+4/-2
M freepost/templates/rss_comments.xml
8
|
8
|
|
|
9
|
9
|
|
{% for comment in comments %}
|
10
|
10
|
|
{# freepost URL of this comment #}
|
11
|
|
- |
{% set freepost_url = base_url ~ url ('post', hash_id=comment.postHashId) %}
|
|
11
|
+ |
{% set freepost_url = base_url ~ url('post', hash_id=comment.postHashId) ~ '#comment-' ~ comment.hashId %}
|
12
|
12
|
|
|
13
|
13
|
|
<item>
|
14
|
14
|
|
<guid isPermaLink="false">{{ comment.hashId }}</guid>
|
15
|
|
- |
<title>TITLE</title>
|
|
15
|
+ |
<title>
|
|
16
|
+ |
{{ comment.postTitle }}
|
|
17
|
+ |
</title>
|
16
|
18
|
|
<description>
|
17
|
19
|
|
<![CDATA[
|
18
|
20
|
|
<p>{{ comment.text }}</p>
|