comparison mercurial/templates/rss/changelogentry.tmpl @ 21057:19ee4923a2b6

hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
author Aaron Jensen <ajensen@webmd.net>
date Wed, 16 Apr 2014 09:32:04 -0700
parents 9409aeaafdc1
children e1a3898a8bb8
comparison
equal deleted inserted replaced
21056:d70703954a2a 21057:19ee4923a2b6
1 <item> 1 <item>
2 <title>{desc|strip|firstline|strip|escape}</title> 2 <title>{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title>
3 <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid> 3 <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid>
4 <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description> 4 <description>
5 <![CDATA[
6 <table>
7 <tr>
8 <th style="text-align:left;">changeset</th>
9 <td>{node|short}</td>
10 </tr>
11 <tr>
12 <th style="text-align:left;">branch</th>
13 <td>{branches%"{name|escape}"}</td>
14 </tr>
15 <tr>
16 <th style="text-align:left;">bookmark</th>
17 <td>{bookmarks%"{name|escape}"}</td>
18 </tr>
19 <tr>
20 <th style="text-align:left;">tag</th>
21 <td>{tags%"{name|escape}"}</td>
22 </tr>
23 <tr>
24 <th style="text-align:left;vertical-align:top;">user</th>
25 <td>{author|obfuscate}</td>
26 </tr>
27 <tr>
28 <th style="text-align:left;vertical-align:top;">description</th>
29 <td>{desc|strip|escape|addbreaks|nonempty}</td>
30 </tr>
31 <tr>
32 <th style="text-align:left;vertical-align:top;">files</th>
33 <td>{files}</td>
34 </tr>
35 </table>
36 ]]></description>
5 <author>{author|obfuscate}</author> 37 <author>{author|obfuscate}</author>
6 <pubDate>{date|rfc822date}</pubDate> 38 <pubDate>{date|rfc822date}</pubDate>
7 </item> 39 </item>