Mercurial > genshi > genshi-test
view examples/trac/templates/log_rss.cs @ 52:584dff20e91f
Trac port: Make use of the fact that combining `py:for` with `py:attrs` now works correctly.
author | cmlenz |
---|---|
date | Tue, 04 Jul 2006 09:04:50 +0000 |
parents | 71ecbe90aafc |
children |
line wrap: on
line source
<?xml version="1.0"?> <!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> --> <rss version="2.0"> <channel><?cs if:project.name_encoded ?> <title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs else ?> <title>Revisions of <?cs var:log.path ?></title><?cs /if ?> <link><?cs var:base_host ?><?cs var:log.log_href ?></link> <description>Trac Log - Revisions of <?cs var:log.path ?></description> <language>en-us</language> <generator>Trac v<?cs var:trac.version ?></generator><?cs each:item = log.items ?><?cs with:change = log.changes[item.rev] ?> <item><?cs if:change.author ?><author><?cs var:change.author ?></author><?cs /if ?> <pubDate><?cs var:change.date ?></pubDate> <title>Revision <?cs var:item.rev ?>: <?cs var:change.shortlog ?></title> <link><?cs var:base_host ?><?cs var:item.restricted_href ?></link> <description><?cs var:change.message ?></description> <category>Log</category> </item><?cs /with ?><?cs /each ?> </channel> </rss>