Source

hgtip-content / atom.xml

Full commit
<?xml version="1.0" encoding="utf-8"?>
{%spaceless%}
<feed xmlns="http://www.w3.org/2005/Atom">
 <title>mercurial tips from hgtip.com</title>
 {%block  self_url %}
 <link href="{{page.node.full_url}}/atom.xml" rel="self"/>
 {%endblock%}
 {%block  site_url %}
 <link href="{{site.full_url}}"/>
 {%endblock%}{%block feed_extra%}{%endblock%}
 <updated>{{now|xmldatetime}}</updated>
 <id>{{site.full_url}}/</id>
 {% recent_posts tips 10 page.node %}
 {% for node_page in tips %}
 {% if node_page.display_in_list %}
 <entry>
   <title>{{node_page.title}}</title>
   <author><name>{{node_page.author_name}}</name></author>
   <link href="{{node_page.full_url}}"/>
   <updated>{{node_page.created|xmldatetime}}</updated>
   <published>{{node_page.created|xmldatetime}}</published>
   <id>{{node_page.full_url}}/</id>
   {%block entry_extra%}{%endblock%}
   <content type="html">
       {%filter force_escape%}{% render_article node_page %}{%endfilter%}
   </content>
 </entry>
 {%endif%}
 {% endfor %}
</feed>
{%endspaceless%}