Source

bloodhound-trac / trac / ticket / templates / ticket.rss

<?xml version="1.0"?>
<rss version="2.0" xmlns:py="http://genshi.edgewall.org/"
                   xmlns:dc="http://purl.org/dc/elements/1.1/"
                   xmlns:xi="http://www.w3.org/2001/XInclude">
  <channel>
    <title>${project.name}: Ticket #${ticket.id}: ${ticket.summary}</title>
    <link>${abs_href.ticket(ticket.id)}</link>
    <description>${unicode(wiki_to_html(context, ticket.description))}</description>
    <language>en-us</language>
    <image py:if="chrome.logo.src_abs">
      <title>$project.name</title>
      <url>$chrome.logo.src_abs</url>
      <link>${abs_href.ticket(ticket.id)}</link>
    </image>
    <generator>Trac $trac.version</generator>

    <item py:for="change in changes">
      <xi:include href="author_or_creator.rss" py:with="author = change.author"/>
      <pubDate>${http_date(change.date)}</pubDate>
      <title>$change.title</title>
      <link>${abs_href.ticket(ticket.id)}<py:if test="change.cnum">#comment:$change.cnum</py:if></link>
      <guid isPermaLink="false">${abs_href.ticket(ticket.id)}<py:if test="change.cnum">#comment:$change.cnum</py:if></guid>
      <description>
        <py:if test="change.fields">
          &lt;ul&gt;
          <py:for each="field, value in change.fields.items()">
            &lt;li&gt;&lt;strong&gt;$field&lt;/strong&gt;
            <py:choose>
              <py:when test="value.rendered">${unicode(value.rendered)}</py:when>
              <py:when test="not value.old">
                set to &lt;em&gt;$value.new&lt;/em&gt;
              </py:when>
              <py:when test="value.new">
                changed from &lt;em&gt;$value.old&lt;/em&gt; to &lt;em&gt;$value.new&lt;/em&gt;
              </py:when>
              <py:otherwise>
                &lt;em&gt;$value.old&lt;/em&gt; deleted
              </py:otherwise>
            </py:choose>
            &lt;/li&gt;
          </py:for>
          &lt;/ul&gt;
        </py:if>
        ${unicode(wiki_to_html(context, change.comment))}
      </description>
      <category>Ticket</category>
    </item>

 </channel>
</rss>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.