2012-06-18 09:39:36 -07:00
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<channel>
|
2013-01-16 22:32:17 -08:00
|
|
|
{% if request.blog_user.profile.is_pro %}
|
2013-02-11 22:32:44 -08:00
|
|
|
<atom:link href="{% if request.blog_user.profile.get_primary_blog_domain and request.blog_user.profile.blog_domain != '' %}http://{{ request.blog_user.profile.blog_domain }}/?rss{% else %}https://{{ request.blog_user.username }}.snipt.net/?rss{% endif %}" rel="self" type="application/rss+xml" />
|
2013-01-15 21:09:54 -08:00
|
|
|
<description>{% firstof request.blog_user.profile.blog_title request.blog_user.username %}</description>
|
|
|
|
<title>{% firstof request.blog_user.profile.blog_title request.blog_user.username %}</title>
|
2013-02-11 22:32:44 -08:00
|
|
|
<link>{% if request.blog_user.profile.get_primary_blog_domain %}http://{{ request.blog_user.profile.blog_domain }}/?rss{% else %}https://{{ request.blog_user.username }}.snipt.net/?rss{% endif %}</link>
|
2012-06-18 09:39:36 -07:00
|
|
|
{% else %}
|
|
|
|
<atom:link href="https://{{ request.blog_user.username }}.snipt.net/?rss" rel="self" type="application/rss+xml" />
|
2013-01-15 21:09:54 -08:00
|
|
|
<description>{{ request.blog_user.username }}</description>
|
|
|
|
<title>{{ request.blog_user.username }}</title>
|
2012-06-18 09:39:36 -07:00
|
|
|
<link>https://{{ request.blog_user.username }}.snipt.net/?rss</link>
|
|
|
|
{% endif %}
|
|
|
|
{% for snipt in snipts %}
|
|
|
|
<item>
|
|
|
|
<title>{{ snipt.title }}</title>
|
|
|
|
<link>{{ snipt.get_full_absolute_url }}</link>
|
|
|
|
<description><![CDATA[{{ snipt.stylized|safe }}]]></description>
|
2012-08-27 09:13:22 -07:00
|
|
|
<tags>{% for tag in snipt.tags.all %}{{ tag }}{% if not forloop.last %}, {% endif %}{% endfor %}</tags>
|
2012-06-18 09:39:36 -07:00
|
|
|
<pubDate>{{ snipt.created|date:"r" }}</pubDate>
|
|
|
|
<guid isPermaLink="false">snipt-net-{{ snipt.id }}</guid>
|
|
|
|
</item>
|
|
|
|
{% endfor %}
|
|
|
|
</channel>
|
|
|
|
</rss>
|