~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.kid

  • Committer: Robey Pointer
  • Date: 2006-12-21 00:29:58 UTC
  • Revision ID: robey@lag.net-20061221002958-gnxmw13qjzqlzt40
fix bad uses of tg.url

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:py="http://purl.org/kid/ns#">
 
3
    <title> bazaar changes for ${branch.friendly_name} </title>
 
4
    <updated>${updated}</updated>
 
5
    <id>${tg.url([ external_url, branch.group_name, branch.name, 'atom' ])}</id>
 
6
    <link rel="self" href="${tg.url([ external_url, branch.group_name, branch.name, 'atom' ])}" />
 
7
 
 
8
        <entry py:for="entry in changes">
 
9
            <title> ${entry.revno}: ${entry.short_comment} </title>
 
10
            <updated>${entry.date.isoformat() + 'Z'}</updated>
 
11
            <id>${tg.url([ external_url, branch.group_name, branch.name, 'revision', entry.revid ])}</id>
 
12
            <author> <name> ${util.hide_email(entry.author)} </name> </author>
 
13
            <content type="text">
 
14
            ${entry.comment}
 
15
            </content>
 
16
            <link rel="alternate" href="${tg.url([ external_url, branch.group_name, branch.name, 'revision', entry.revid ])}" />
 
17
        </entry>
 
18
</feed>