root/bitstructures/trunk/templates/substructure/atom_entry.xml

Revision 17, 425 bytes (checked in by simon, 13 months ago)

Added a published element to the Atom entries.

Line 
1{% load django.contrib.markup %}
2{% load substructure_tags %}
3<entry>
4<title>{{ entry.title|escape }}</title>
5<id>http://{{ site_domain }}{{ entry.get_absolute_url }}</id>
6<link href="http://{{ site_domain }}{{ entry.get_absolute_url }}"/>
7<published>{{ entry.date_published|rfc3339 }}</published>
8<updated>{{ entry.date_published|rfc3339 }}</updated>
9<content type="html">{{ entry.text|markdown|escape }}</content>
10</entry>
Note: See TracBrowser for help on using the browser.