Mercurial > genshi > mirror
comparison examples/trac/templates/query_rss.cs @ 39:93b4dcbafd7b trunk
Copy Trac to main branch.
author | cmlenz |
---|---|
date | Mon, 03 Jul 2006 18:53:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
38:ee669cb9cccc | 39:93b4dcbafd7b |
---|---|
1 <?xml version="1.0"?> | |
2 <rss version="2.0"> | |
3 <channel><?cs | |
4 if:project.name_encoded ?> | |
5 <title><?cs var:project.name_encoded ?>: Ticket Query</title><?cs | |
6 else ?> | |
7 <title>Ticket Query</title><?cs | |
8 /if ?> | |
9 <link><?cs var:query.href ?></link><?cs | |
10 if:project.descr ?> | |
11 <description><?cs var:project.descr ?></description><?cs | |
12 /if ?> | |
13 <language>en-us</language> | |
14 <image> | |
15 <title><?cs var:project.name_encoded ?></title> | |
16 <url><?cs | |
17 if:!header_logo.src_abs ?><?cs var:base_host ?><?cs | |
18 /if ?><?cs | |
19 var:header_logo.src ?></url> | |
20 <link><?cs var:base_host ?><?cs var:trac.href.timeline ?></link><?cs | |
21 if:header_logo.width ?> | |
22 <width><?cs var:header_logo.width ?></width><?cs | |
23 /if ?><?cs | |
24 if:header_logo.height ?> | |
25 <height><?cs var:header_logo.height ?></height><?cs | |
26 /if ?> | |
27 </image> | |
28 <generator>Trac v<?cs var:trac.version ?></generator><?cs | |
29 each:result = query.results ?> | |
30 <item> | |
31 <link><?cs var:result.href ?></link> | |
32 <guid isPermaLink="true"><?cs var:result.href ?></guid> | |
33 <title><?cs var:'#' + result.id + ': ' + result.summary ?></title><?cs | |
34 if:result.created ?> | |
35 <pubDate><?cs var:result.created ?></pubDate><?cs | |
36 /if ?><?cs | |
37 if:result.reporter ?> | |
38 <author><?cs var:result.reporter ?></author><?cs | |
39 /if ?> | |
40 <description><?cs var:result.description ?></description> | |
41 <category>Tickets</category> | |
42 <comments><?cs var:result.href ?>#changelog</comments> | |
43 </item><?cs | |
44 /each ?> | |
45 </channel> | |
46 </rss> |