15 lines
657 B
XML
15 lines
657 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<rss version="2.0">
|
|
<channel>
|
|
<title>/ {% if public and not public_user %}public{% else %}{{ user.username }}{% endif %}{% if tag %} / {{ tag }}{% endif %} - Snipt</title>
|
|
<link>https://snipt.net{{ request.path }}</link>{% for snipt in snipts %}
|
|
<item>
|
|
<title>{{ snipt.title }}</title>
|
|
<link>{{ snipt.get_absolute_url }}</link>
|
|
<description><![CDATA[{{ snipt.code }}]]></description>
|
|
<pubDate>{{ snipt.created }}</pubDate>
|
|
<guid>{{ snipt.id }}</guid>
|
|
</item>{% endfor %}
|
|
</channel>
|
|
</rss>
|