~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.kid

  • Committer: Robey Pointer
  • Date: 2007-03-12 17:51:19 UTC
  • Revision ID: robey@lag.net-20070312175119-xms19elalw5ax1zc
revert the change that stopped converting spaces to ' '.
in other words, go back to doing the nbsp conversion.  bug report from
kent gibson reveals that at least in firefox, the spaces aren't handled
the way i want.

Show diffs side-by-side

added added

removed removed

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