Skip to content

Commit f5b4396

Browse files
committed
Merged [5510] from ietf@augustcellars.com:
Increase the set of information being returned on the atom viewer to reflect IETF specific information. - Legacy-Id: 5522 Note: SVN reference [5510] has been migrated to Git commit ca1fc8b
2 parents cc60a1a + ca1fc8b commit f5b4396

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

ietf/templates/community/public/atom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@
2525
{%autoescape off %}
2626
<content type="html">{{ entry.desc|linebreaksbr|force_escape }}</content>
2727
{%endautoescape %}
28+
<ietf xmlns="http://ietf.org/atom/datatracker/community">
29+
<type>{{ entry.type }}</type>
30+
{% if entry.doc.stream.slug %}<stream>{{ entry.doc.stream.slug }}</stream>{% endif %}
31+
<group>{{ entry.doc.group.acronym }}</group>
32+
{% if entry.doc.shepherd.name %}<shepherd>{{entry.doc.shepherd.name }}</shepherd>{% endif %}
33+
{% if entry.doc.ad.name %}<ad>{{entry.doc.ad.name}}</ad>{% endif %}
34+
{% for state in entry.doc.states.all %}
35+
<state type="{{ state.type }}">{{ state.slug }}</state>
36+
{% endfor %}
37+
{% for tag in entry.doc.tags.objects %}
38+
<tag>{{ tag.slug }}</tag>
39+
{% endfor %}
40+
{% if entry.type == "new_revision" %}
41+
<abstract>{{entry.doc.abstract}}</abstract>
42+
<version>{{entry.doc.rev}}</version>
43+
{% endif %}
44+
</ietf>
2845
</entry>
2946
{% endfor %}
3047

0 commit comments

Comments
 (0)