~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.kid

  • Committer: Michael Hudson
  • Date: 2008-06-11 05:05:43 UTC
  • mfrom: (128.6.75 zpt-templating)
  • Revision ID: michael.hudson@canonical.com-20080611050543-o8vel8ydossw3wkc
merge zpt-templating.
this gets rid of all the kid templates and replaces them with zope page
templates and adds glue to render them under turbogears with the simpletal
library.

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>${branch.url(['atom'])}</id>
6
 
    <link rel="self" href="${branch.url([''])}" />
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>${branch.url(['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"
17
 
                  href="${branch.url(['revision', entry.revid ])}" />
18
 
        </entry>
19
 
</feed>