~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:
 
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>