"Fossies" - the Fresh Open Source Software Archive

Member "PURELIB/trac/versioncontrol/templates/revisionlog.rss" (27 Aug 2019, 2014 Bytes) of package /windows/misc/Trac-1.4.win32.exe:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 {# Copyright (C) 2006-2017 Edgewall Software
    3 
    4   This software is licensed as described in the file COPYING, which
    5   you should have received as part of this distribution. The terms
    6   are also available at http://trac.edgewall.com/license.html.
    7 
    8   This software consists of voluntary contributions made by many
    9   individuals. For the exact contribution history, see the revision
   10   history and logs, available at http://trac.edgewall.org/.
   11 #}
   12 ##
   13 ## Revision log view - RSS flavor
   14 ##
   15 <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
   16   ## jinjacheck: "no DTD found" OK
   17   # with log_href = abs_href.log(reponame, path, rev=rev)
   18   <channel>
   19     <title>Revisions of ${path}</title>
   20     <link>${log_href}</link>
   21     <description>Trac Log - Revisions of ${path}{%
   22       if reponame %} in ${reponame}{% endif %}</description>
   23     <language>en-US</language>
   24     <generator>Trac ${trac.version}</generator>
   25     # if chrome.logo.src_abs:
   26     <image>
   27       <title>${project.name}</title>
   28       <url>${chrome.logo.src_abs}</url>
   29       <link>${log_href}</link>
   30     </image>
   31     # endif
   32 
   33     # for item in items:
   34     #   set change = changes[item.rev]
   35     #   set item_context = context.child('changeset', change.rev, parent=repos.resource)
   36     <item>
   37       # with author = change.author
   38       #   include 'author_or_creator.rss'
   39       # endwith
   40       <pubDate>${http_date(change.date)}</pubDate>
   41       <title>Revision ${display_rev(item.rev)}: ${shorten_line(change.message)
   42       }</title>
   43       <link>${abs_href.changeset(item.rev, reponame, item.path)}</link>
   44       <guid isPermaLink="false">${abs_href.changeset(item.rev, reponame, item.path)
   45       }</guid>
   46       # set m = change.message
   47       <description>${
   48       (wiki_to_html(item_context, m)
   49          if verbose else
   50        wiki_to_oneliner(item_context, m)
   51          if wiki_format_messages else
   52        m)
   53       |forceescape
   54       }</description>
   55       <category>Log</category>
   56     </item>
   57     # endfor
   58  </channel>
   59  # endwith
   60 </rss>