~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.pt

  • Committer: Michael Hudson
  • Date: 2009-08-04 04:51:44 UTC
  • Revision ID: michael.hudson@canonical.com-20090804045144-o81w2bjdajr50a79
the only place setuptools was imported was to report its version, which is silly! (bug #402758)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  <title>
4
4
    bazaar changes for <tal:branch-name content="branch/friendly_name">branch name</tal:branch-name>
5
5
  </title>
6
 
  <updated tal:content="updated">${updated}</updated>
 
6
  <updated tal:content="string:${updated}Z">${updated}</updated>
7
7
  <id tal:content="python:branch.url(['/atom'])">url</id>
8
 
  <link rel="self" tal:attributes="href python:branch.url([''])" />
 
8
  <link rel="self" type="application/atom+xml" tal:attributes="href python:branch.url(['/atom'])" />
 
9
  <link rel="alternate" type="text/html" tal:attributes="href python:branch.url(['/changes'])" />
9
10
 
10
11
  <entry tal:repeat="entry changes">
11
 
    <title tal:content="string: ${entry/revno}: ${entry/short_comment}">
 
12
    <title tal:content="string:${entry/revno}: ${entry/short_comment}">
12
13
      ${entry/revno}: ${entry/short_comment}
13
14
    </title>
14
 
    <updated tal:content="entry/date/isoformat">
15
 
    Z
 
15
    <updated tal:content="string:${entry/utc_date/isoformat}Z">
 
16
      updated
16
17
    </updated>
 
18
    <!-- TODO: The feed validator will generate warnings because this is URL-encoded -->
17
19
    <id tal:content="python:branch.url(['/revision', entry.revno])">
18
20
      ID
19
21
    </id>
25
27
    <content type="text" tal:content="entry/comment">
26
28
      comment
27
29
    </content>
28
 
    <link rel="alternate"
 
30
    <link rel="alternate" type="text/html"
29
31
          tal:attributes="href python:branch.url(['/revision', entry.revno])" />
30
32
  </entry>
31
33
</feed>