Blame Identity/Webenv/Trac/templates/report_rss.cs

ef5584
ef5584
<rss version="2.0">
ef5584
 <channel>
ef5584
 if:project.name_encoded ?>
ef5584
  <title>: </title>
ef5584
 else ?>
ef5584
  <title></title>
ef5584
 /if ?>
ef5584
 <link>
ef5584
  var:trac.href.report ?>/</link>
ef5584
 <description>Trac Report - </description>
ef5584
 <language>en-us</language>
ef5584
 <generator>Trac v</generator>
ef5584
  if:chrome.logo.src ?>
ef5584
   <image>
ef5584
    <title></title>
ef5584
    <url>
ef5584
     var:chrome.logo.src ?></url>
ef5584
    <link>
ef5584
     var:trac.href.report ?>/</link>
ef5584
   </image>
ef5584
  /if ?>
ef5584
 each:row = report.items ?>
ef5584
  set title = '' ?>
ef5584
  set descr = '' ?>
ef5584
  set author = '' ?>
ef5584
  set pubdate = '' ?>
ef5584
  each:item = row ?>
ef5584
   if name(item) == 'ticket' ?>
ef5584
    set:link = base_host + item.ticket_href ?>
ef5584
    set:id = item ?>
ef5584
   elif:name(item) == 'summary' ?>
ef5584
    set:title = item ?>
ef5584
   elif:name(item) == 'description' ?>
ef5584
    set:descr = item.parsed ?>
ef5584
   elif:name(item) == 'reporter' ?>
ef5584
    set:author = item.rss ?>
ef5584
   elif:name(item) == 'time' || name(item) == 'changetime'
ef5584
     || name(item) == 'created' || name(item) == 'modified' ?>
ef5584
    set pubdate = item.gmt ?>
ef5584
   /if ?>
ef5584
  /each ?>
ef5584
  <item>
ef5584
   <author></author>
ef5584
   <pubDate></pubDate>
ef5584
   <title></title>   
ef5584
   <link></link>
ef5584
   <guid isPermaLink="false"></guid>
ef5584
   <description></description>
ef5584
   <category>Report</category>
ef5584
  </item>
ef5584
 /each ?></channel>
ef5584
</rss>