snipt/templates/rss.xml

16 lines
981 B
XML
Raw Normal View History

2012-05-14 21:06:34 -07:00
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
2012-05-14 21:05:24 -07:00
<atom:link href="https://snipt.net{{ request.get_full_path }}" rel="self" type="application/rss+xml" />
2012-04-13 20:30:23 -07:00
<channel>
2012-05-14 21:02:53 -07:00
<description>{% if public and not public_user %}Public snipts{% else %}Snipts by {{ user.username }}{% endif %}{% if tag %} tagged with "{{ tag }}"{% endif %}</description>
2012-04-13 20:30:23 -07:00
<title>/ {% if public and not public_user %}public{% else %}{{ user.username }}{% endif %}{% if tag %} / {{ tag }}{% endif %} - Snipt</title>
2012-04-23 18:41:16 -07:00
<link>https://snipt.net{{ request.path }}</link>{% for snipt in snipts %}
2012-04-13 20:30:23 -07:00
<item>
<title>{{ snipt.title }}</title>
2012-05-14 21:02:53 -07:00
<link>{{ snipt.get_full_absolute_url }}</link>
2012-04-13 20:30:23 -07:00
<description><![CDATA[{{ snipt.code }}]]></description>
2012-05-14 21:02:53 -07:00
<pubDate>{{ snipt.created|date:"r" }}</pubDate>
<guid isPermaLink="false">{{ snipt.id }}</guid>
2012-04-13 20:30:23 -07:00
</item>{% endfor %}
</channel>
</rss>