blob: 09da154fbb105834420f32255f536cb968303eb8 (
plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
<?xml version="1.0" encoding="UTF-8"?>
{% load tagging_tags %}
<!-- This is a WordPress eXtended RSS file generated by Objectapp {{ version }} as an export of your blog. -->
<!-- It contains information about your blog's posts, comments, and objecttypes. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your blog. -->
<!-- generator="Objectapp/{{ version }}" created="{% now "Y-m-d H:i" %}"-->
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.0/">
<channel>
<title>{{ site.name }}</title>
<link>{{ site_url }}</link>
<description>{{ description }}</description>
<pubDate>{% now "r" %}</pubDate>
<generator>Objectapp {{ version }}</generator>
<language>{{ language }}</language>
<wp:wxr_version>1.0</wp:wxr_version>
<wp:base_site_url>{{ site_url }}</wp:base_site_url>
<wp:base_blog_url>{{ site_url }}{% url objectapp_gbobject_archive_index %}</wp:base_blog_url>
{% for Objecttype in objecttypes %}
<wp:Objecttype>
<wp:Objecttype_nicename>{{ Objecttype.slug }}</wp:Objecttype_nicename>
<wp:Objecttype_parent>{{ Objecttype.parent.title }}</wp:Objecttype_parent>
<wp:cat_name><![CDATA[{{ Objecttype.title }}]]></wp:cat_name>
<wp:Objecttype_description><![CDATA[{{ Objecttype.description }}]]></wp:Objecttype_description>
</wp:Objecttype>
{% endfor %}{% for tag in tags %}
<wp:tag>
<wp:tag_slug>{{ tag.name }}</wp:tag_slug>
<wp:tag_name><![CDATA[{{ tag.name }}]]></wp:tag_name>
</wp:tag>
{% endfor %}{% for gbobject in gbobjects %}
<item>
<title>{{ gbobject.title }}</title>
<link>{{ site_url }}{{ gbobject.get_absolute_url }}</link>
<pubDate>{{ gbobject.publication_date|date:"r" }}</pubDate>
<dc:creator><![CDATA[{{ gbobject.authors.all.0 }}]]></dc:creator>
{% for Objecttype in gbobject.objecttypes.all %}
<Objecttype domain="Objecttype" nicename="{{ Objecttype.slug }}"><![CDATA[{{ Objecttype.title }}]]></Objecttype>
{% endfor %}{% tags_for_object gbobject as tag_list %}{% for tag in tag_list %}
<Objecttype domain="tag" nicename="{{ tag }}"><![CDATA[{{ tag }}]]></Objecttype>
{% endfor %}
<guid isPermaLink="true">{{ site_url }}{{ gbobject.get_absolute_url }}</guid>
<description></description>
<content:encoded><![CDATA[{{ gbobject.html_content|safe }}]]></content:encoded>
<excerpt:encoded><![CDATA[{{ gbobject.excerpt }}]]></excerpt:encoded>
<wp:post_id>{{ gbobject.pk }}</wp:post_id>
<wp:post_date>{{ gbobject.publication_date|date:"Y-m-d H:i:s"}}</wp:post_date>
<wp:post_date_gmt>0000-00-00 00:00:00</wp:post_date_gmt>
<wp:comment_status>{% if gbobject.comment_enabled %}open{% else %}closed{% endif %}</wp:comment_status>
<wp:ping_status>{% if gbobject.pingback_enabled %}open{% else %}closed{% endif %}</wp:ping_status>
<wp:post_name>{{ gbobject.slug }}</wp:post_name>
<wp:status>{% if gbobject.is_visible %}{% if gbobject.login_required %}private{% else %}publish{% endif %}{% else %}draft{% endif %}</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password>{{ gbobject.password }}</wp:post_password>
<wp:is_sticky>{{ gbobject.featured|yesno:"1,0" }}</wp:is_sticky>
<wp:postmeta>
<wp:meta_key>_last_update</wp:meta_key>
<wp:meta_value><![CDATA[{{ gbobject.last_update|date:"c"}}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_start_publication</wp:meta_key>
<wp:meta_value><![CDATA[{{ gbobject.start_publication|date:"c"}}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_end_publication</wp:meta_key>
<wp:meta_value><![CDATA[{{ gbobject.end_publication|date:"c"}}]]></wp:meta_value>
</wp:postmeta>
{% for comment in gbobject.comments %}
<wp:comment>
<wp:comment_id>{{ comment.id }}</wp:comment_id>
<wp:comment_author><![CDATA[{{ comment.userinfo.name }}]]></wp:comment_author>
<wp:comment_author_email>{{ comment.userinfo.email }}</wp:comment_author_email>
<wp:comment_author_url>{{ comment.userinfo.url }}</wp:comment_author_url>
<wp:comment_author_IP>{{ comment.ip_address }}</wp:comment_author_IP>
<wp:comment_date>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date>
<wp:comment_date_gmt>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date_gmt>
<wp:comment_content><![CDATA[{{ comment.comment }}]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_type></wp:comment_type>
<wp:comment_parent>0</wp:comment_parent>
<wp:comment_user_id>0</wp:comment_user_id>
</wp:comment>
{% endfor %}{% for comment in gbobject.pingbacks %}
<wp:comment>
<wp:comment_id>{{ comment.id }}</wp:comment_id>
<wp:comment_author><![CDATA[{{ comment.userinfo.name }}]]></wp:comment_author>
<wp:comment_author_email>{{ comment.userinfo.email }}</wp:comment_author_email>
<wp:comment_author_url>{{ comment.userinfo.url }}</wp:comment_author_url>
<wp:comment_author_IP>{{ comment.ip_address }}</wp:comment_author_IP>
<wp:comment_date>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date>
<wp:comment_date_gmt>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date_gmt>
<wp:comment_content><![CDATA[{{ comment.comment }}]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_type>pingback</wp:comment_type>
<wp:comment_parent>0</wp:comment_parent>
<wp:comment_user_id>0</wp:comment_user_id>
</wp:comment>
{% endfor %}{% for comment in gbobject.trackbacks %}
<wp:comment>
<wp:comment_id>{{ comment.id }}</wp:comment_id>
<wp:comment_author><![CDATA[{{ comment.userinfo.name }}]]></wp:comment_author>
<wp:comment_author_email>{{ comment.userinfo.email }}</wp:comment_author_email>
<wp:comment_author_url>{{ comment.userinfo.url }}</wp:comment_author_url>
<wp:comment_author_IP>{{ comment.ip_address }}</wp:comment_author_IP>
<wp:comment_date>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date>
<wp:comment_date_gmt>{{ comment.submit_date|date:"Y-m-d H:i:s" }}</wp:comment_date_gmt>
<wp:comment_content><![CDATA[{{ comment.comment }}]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_type>trackback</wp:comment_type>
<wp:comment_parent>0</wp:comment_parent>
<wp:comment_user_id>0</wp:comment_user_id>
</wp:comment>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>
|