view 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
line wrap: on
line source

<item>
    <title>{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title>
    <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid>
    <description>
	<![CDATA[
	<table>
	<tr>
		<th style="text-align:left;">changeset</th>
		<td>{node|short}</td>
	</tr>
	<tr>
		<th style="text-align:left;">branch</th>
		<td>{branches%"{name|escape}"}</td>
	</tr>
	<tr>
		<th style="text-align:left;">bookmark</th>
		<td>{bookmarks%"{name|escape}"}</td>
	</tr>
	<tr>
		<th style="text-align:left;">tag</th>
		<td>{tags%"{name|escape}"}</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">user</th>
		<td>{author|obfuscate}</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">description</th>
		<td>{desc|strip|escape|addbreaks|nonempty}</td>
	</tr>
	<tr>
		<th style="text-align:left;vertical-align:top;">files</th>
		<td>{files}</td>
	</tr>
	</table>
	]]></description>
    <author>{author|obfuscate}</author>
    <pubDate>{date|rfc822date}</pubDate>
</item>