~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/atom.kid

add a '-C' option for ensuring loggerhead is running (from a cron job, for
example), and clean up the main() code a bit in the process.  also added
log rolling (daily, weekly, or none).

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