Ticket #3167: rss.patch
| File rss.patch, 2.6 KB (added by eblot, 5 years ago) |
|---|
-
trac/Timeline.py
165 165 'author': author or 'anonymous', 166 166 'date': format_date(date), 167 167 'time': format_time(date, '%H:%M'), 168 'dateuid': int(date), 168 169 'message': message} 169 170 170 171 if format == 'rss': -
templates/timeline_rss.cs
26 26 /if ?> 27 27 <pubDate><?cs var:event.date ?></pubDate> 28 28 <link><?cs var:event.href ?></link> 29 <guid isPermaLink="true"><?cs var:event.href ?>/<?cs 30 var:event.dateuid ?></guid> 29 31 <description><?cs var:event.message ?></description> 30 32 </item><?cs 31 33 /each ?> -
templates/report_rss.cs
35 35 <pubDate><?cs var:pubdate ?></pubDate> 36 36 <title><?cs var:'#' + id + ': ' + title ?></title> 37 37 <link><?cs var:link ?></link> 38 <guid isPermaLink="true"><?cs var:link ?></guid> 38 39 <description><?cs var:descr ?></description> 39 40 <category>Report</category> 40 41 </item><?cs -
templates/log_rss.cs
19 19 <pubDate><?cs var:change.date ?></pubDate> 20 20 <title>Revision <?cs var:item.rev ?>: <?cs var:change.shortlog ?></title> 21 21 <link><?cs var:base_host ?><?cs var:item.restricted_href ?></link> 22 <guid isPermaLink="true"><?cs var:base_host ?><?cs 23 var:item.restricted_href ?></guid> 22 24 <description><?cs var:change.message ?></description> 23 25 <category>Log</category> 24 26 </item><?cs -
templates/ticket_rss.cs
20 20 <link><?cs var:base_host ?><?cs var:ticket.href ?><?cs 21 21 if:change.cnum ?>#comment:<?cs var:change.cnum ?><?cs 22 22 /if ?></link> 23 <guid isPermaLink="true"><?cs var:base_host ?><?cs var:ticket.href ?><?cs 24 if:change.cnum ?>#comment:<?cs var:change.cnum ?><?cs 25 /if ?></guid> 23 26 <description> 24 27 <?cs if:len(change.fields) ?> 25 28 <ul><?cs
