Blame Extras/Trac/templates/report_rss.cs

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