source: trac/vendor/0.8-1233/templates/log_rss.cs @ 2589

Revision 2581, 1.3 KB checked in by moschny, 8 years ago (diff)

Importing inital 0.8 version.

Line 
1<?xml version="1.0"?>
2<!-- RSS generated by Trac v<?cs var:$trac.version ?> on <?cs var:$trac.time ?> -->
3<rss version="2.0">
4   <?cs set base_url = $HTTP.Protocol+'://'+$HTTP.Host ?>
5   <?cs if $HTTP.Port ?>
6     <?cs set base_url = $base_url + ':' + $HTTP.Port ?>
7   <?cs /if ?>
8    <channel>
9      <?cs if $project.name.encoded ?>
10        <title><?cs var:$project.name.encoded ?>: Revisions of <?cs var:$log.path ?></title>
11      <?cs else ?>
12        <title>Revisions of <?cs var:$log.filename ?></title>
13      <?cs /if ?>
14      <link><?cs var:$base_url ?><?cs var:$log.href ?></link>
15      <description>Trac Log - Revisions of <?cs var:$log.path ?></description>
16      <language>en-us</language>
17      <generator>Trac v<?cs var:$trac.version ?></generator>
18      <?cs each:item = $log.items ?>
19       <item>
20<!--  XXX: author element requires email address in rss 2.0.
21           maybe we should use the DC rdf stuff for metadata instead?
22       <author><?cs var:$item.author ?></author> -->
23         <pubDate><?cs var:$item.gmt ?></pubDate>
24         <title><?cs var:$item.rev+': '+$item.shortlog ?></title>
25         <link><?cs var:$base_url+$item.file_href ?></link>
26         <description><?cs var:$item.log.raw ?></description>
27         <category>Report</category>
28       </item>
29      <?cs /each ?>
30    </channel>
31</rss>
Note: See TracBrowser for help on using the repository browser.