| <?xml version="1.0"?> |
| |
| <rss version="2.0"> |
| <channel><?cs |
| if:project.name_encoded ?> |
| <title><?cs var:project.name_encoded ?>: Ticket <?cs var:title ?></title><?cs |
| else ?> |
| <title>Ticket <?cs var:title ?></title><?cs |
| /if ?> |
| <link><?cs var:base_host ?><?cs var:ticket.href ?></link> |
| <description><?cs var:ticket.description.formatted ?></description> |
| <language>en-us</language> |
| <generator>Trac v<?cs var:trac.version ?></generator><?cs |
| if:chrome.logo.src ?> |
| <image> |
| <title><?cs var:project.name_encoded ?></title> |
| <url><?cs if:!chrome.logo.src_abs ?><?cs var:base_host ?><?cs /if ?><?cs |
| var:chrome.logo.src ?></url> |
| <link><?cs var:base_host ?><?cs var:ticket.href ?></link> |
| </image><?cs |
| /if ?><?cs |
| each:change = ticket.changes ?> |
| <item><?cs |
| if:change.author ?><author><?cs var:change.author ?></author><?cs |
| /if ?> |
| <pubDate><?cs var:change.http_date ?></pubDate> |
| <title><?cs var:change.title ?></title> |
| <link><?cs var:base_host ?><?cs var:ticket.href ?><?cs |
| if:change.cnum ?>#comment:<?cs var:change.cnum ?><?cs |
| /if ?></link> |
| <guid isPermaLink="false"><?cs var:base_host ?><?cs var:ticket.href ?><?cs |
| if:change.cnum ?>#comment:<?cs var:change.cnum ?><?cs |
| /if ?></guid> |
| <description> |
| <?cs if:len(change.fields) ?> |
| <ul><?cs |
| each:field = change.fields ?> |
| <li><strong><?cs name:field ?></strong> <?cs |
| if:!field.old ?>set to <em><?cs |
| var:field.new ?></em><?cs |
| elif:field.new ?>changed from <em><?cs var:field.old |
| ?></em> to <em><?cs |
| var:field.new ?></em>.<?cs |
| else ?>deleted<?cs |
| /if ?></li><?cs |
| /each ?> |
| </ul> |
| <?cs /if ?> |
| <?cs var:change.comment ?> |
| </description> |
| <category>Ticket</category> |
| </item><?cs |
| /each ?> |
| </channel> |
| </rss> |