-
Notifications
You must be signed in to change notification settings - Fork 0
/
jeffa.wxr
51 lines (51 loc) · 2.27 KB
/
jeffa.wxr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: null
---
<?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 post in site.posts %}
<item>
<!-- title of article -->
<title>{{ post.title }}</title>
<!-- absolute URI to article -->
<link>{{ site.url }}{{ post.url }}</link>
<!-- body of the page or post; use cdata; html allowed (though will be formatted to DISQUS specs) -->
<content:encoded><![CDATA[post.content]]></content:encoded>
<!-- value used within disqus_identifier; usually internal identifier of article -->
<dsq:thread_identifier>disqus_identifier</dsq:thread_identifier>
<!-- creation date of thread (article), in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
<wp:post_date_gmt>2010-09-20 09:13:44</wp:post_date_gmt>
<!-- open/closed values are acceptable -->
<wp:comment_status>open</wp:comment_status>
{% for comment in post.comments %}
<wp:comment>
<!-- internal id of comment -->
<wp:comment_id>{{ comment.id }}</wp:comment_id>
<!-- author display name -->
<wp:comment_author>{{ comment.author }}</wp:comment_author>
<!-- author email address -->
<wp:comment_author_email>{{ comment.author_email }}</wp:comment_author_email>
<!-- author url, optional -->
<wp:comment_author_url>{{ comment.author_url }}</wp:comment_author_url>
<!-- author ip address -->
<wp:comment_author_IP>93.48.67.119</wp:comment_author_IP>
<!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
<wp:comment_date_gmt>{{ comment.date_gmt }}</wp:comment_date_gmt>
<!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
<wp:comment_content><![CDATA[{{ comment.content }}]]></wp:comment_content>
<!-- is this comment approved? 0/1 -->
<wp:comment_approved>1</wp:comment_approved>
<!-- parent id (match up with wp:comment_id) -->
<wp:comment_parent>0</wp:comment_parent>
</wp:comment>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>