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

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