master
parent
671e59ae7f
commit
c528ff1f9b
|
@ -1,37 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:dsq="http://www.disqus.com/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.0/"
|
||||
>
|
||||
<channel>
|
||||
{% for c in comments %}<item>
|
||||
<title>{{ c.snipt.title }}</title>
|
||||
<link>http://snipt.net{{ c.snipt.get_absolute_url }}</link>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<dsq:thread_identifier>{{ c.snipt.id }}</dsq:thread_identifier>
|
||||
<wp:post_date_gmt>{{ c.snipt.created|date:"Y-m-d H:i:s" }}</wp:post_date_gmt>
|
||||
<wp:comment_status>open</wp:comment_status>
|
||||
<wp:comment>
|
||||
<dsq:remote>
|
||||
<dsq:id></dsq:id>
|
||||
<dsq:avatar></dsq:avatar>
|
||||
</dsq:remote>
|
||||
<wp:comment_id>{{ c.id }}</wp:comment_id>
|
||||
{% if c.user.username == 'nick' %}
|
||||
<wp:comment_author>Nick Sergeant</wp:comment_author>
|
||||
{% else %}
|
||||
<wp:comment_author>{{ c.user.username }}</wp:comment_author>
|
||||
{% endif %}
|
||||
<wp:comment_author_email>{{ c.user.email }}</wp:comment_author_email>
|
||||
<wp:comment_author_url>http://snipt.net/{{ c.user.username }}/</wp:comment_author_url>
|
||||
<wp:comment_author_IP></wp:comment_author_IP>
|
||||
<wp:comment_date_gmt>{{ c.snipt.created|date:"Y-m-d H:i:s" }}</wp:comment_date_gmt>
|
||||
<wp:comment_content><![CDATA[{{ c.comment|safe }}]]></wp:comment_content>
|
||||
<wp:comment_approved>1</wp:comment_approved>
|
||||
<wp:comment_parent></wp:comment_parent>
|
||||
</wp:comment>
|
||||
</item>{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
Loading…
Reference in New Issue