##// END OF EJS Templates
hgweb: add branches RSS and Atom feeds...
Angel Ezquerra -
r18045:add2f9dd default
parent child Browse files
Show More
@@ -0,0 +1,8
1 <entry>
2 <title>{branch|escape}</title>
3 <link rel="alternate" href="{urlbase}{url}rev/{node|short}"/>
4 <id>{urlbase}{url}#branch-{node}</id>
5 <updated>{date|rfc3339date}</updated>
6 <published>{date|rfc3339date}</published>
7 <content type="text"><![CDATA[{branch|strip|escape|addbreaks}]]></content>
8 </entry>
@@ -0,0 +1,11
1 {header}
2 <id>{urlbase}{url}</id>
3 <link rel="self" href="{urlbase}{url}atom-tags"/>
4 <link rel="alternate" href="{urlbase}{url}tags"/>
5 <title>{repo|escape}: branches</title>
6 <summary>{repo|escape} branch history</summary>
7 <author><name>Mercurial SCM</name></author>
8 {latestentry%feedupdated}
9
10 {entries%branchentry}
11 </feed>
@@ -0,0 +1,6
1 <item>
2 <title>{branch|escape}</title>
3 <link>{urlbase}{url}rev/{node|short}</link>
4 <description><![CDATA[{branch|strip|escape|addbreaks}]]></description>
5 <pubDate>{date|rfc822date}</pubDate>
6 </item>
@@ -0,0 +1,6
1 {header}
2 <title>{repo|escape}: branches</title>
3 <description>{repo|escape} branch history</description>
4 {entries%branchentry}
5 </channel>
6 </rss>
@@ -1,13 +1,15
1 1 default = 'changelog'
2 2 feedupdated = '<updated>{date|rfc3339date}</updated>'
3 3 mimetype = 'application/atom+xml; charset={encoding}'
4 4 header = header.tmpl
5 5 changelog = changelog.tmpl
6 6 changelogentry = changelogentry.tmpl
7 7 filelog = filelog.tmpl
8 8 filelogentry = filelogentry.tmpl
9 9 tags = tags.tmpl
10 10 tagentry = tagentry.tmpl
11 11 bookmarks = bookmarks.tmpl
12 12 bookmarkentry = bookmarkentry.tmpl
13 branches = branches.tmpl
14 branchentry = branchentry.tmpl
13 15 error = error.tmpl
@@ -1,32 +1,32
1 1 {header}
2 2 <title>{repo|escape}: Branches</title>
3 3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}"/>
4 href="{url}atom-branches" title="Atom feed for {repo|escape}"/>
5 5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}"/>
6 href="{url}rss-branches" title="RSS feed for {repo|escape}"/>
7 7 </head>
8 8 <body>
9 9
10 10 <div class="page_header">
11 11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches
12 12 </div>
13 13
14 14 <div class="page_nav">
15 15 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
16 16 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
17 17 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
18 18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
19 19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
20 20 <a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
21 21 branches |
22 22 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
23 23 <a href="{url}help{sessionvars%urlparameter}">help</a>
24 24 <br/>
25 25 </div>
26 26
27 27 <div class="title">&nbsp;</div>
28 28 <table cellspacing="0">
29 29 {entries%branchentry}
30 30 </table>
31 31
32 32 {footer}
@@ -1,38 +1,38
1 1 {header}
2 2 <title>{repo|escape}: Branches</title>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-branches" title="Atom feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-branches" title="RSS feed for {repo|escape}"/>
5 5 </head>
6 6
7 7 <body>
8 8 <div id="container">
9 9 <div class="page-header">
10 10 <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches</h1>
11 11
12 12 <form action="{url}log">
13 13 {sessionvars%hiddenformentry}
14 14 <dl class="search">
15 15 <dt><label>Search: </label></dt>
16 16 <dd><input type="text" name="rev" /></dd>
17 17 </dl>
18 18 </form>
19 19
20 20 <ul class="page-nav">
21 21 <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li>
22 22 <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
23 23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
24 24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
25 25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 26 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
27 27 <li class="current">branches</li>
28 28 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
29 29 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
30 30 </ul>
31 31 </div>
32 32
33 33 <h2 class="no-link no-border">branches</h2>
34 34 <table cellspacing="0">
35 35 {entries%branchentry}
36 36 </table>
37 37
38 38 {footer}
@@ -1,60 +1,60
1 1 {header}
2 2 <title>{repo|escape}: branches</title>
3 3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}: branches" />
4 href="{url}atom-branches" title="Atom feed for {repo|escape}: branches" />
5 5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}: branches" />
6 href="{url}rss-branches" title="RSS feed for {repo|escape}: branches" />
7 7 </head>
8 8 <body>
9 9
10 10 <div class="container">
11 11 <div class="menu">
12 12 <div class="logo">
13 13 <a href="{logourl}">
14 14 <img src="{staticurl}{logoimg}" alt="mercurial" /></a>
15 15 </div>
16 16 <ul>
17 17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
18 18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
19 19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 20 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
21 21 <li class="active">branches</li>
22 22 </ul>
23 23 <ul>
24 24 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
25 25 </ul>
26 26 </div>
27 27
28 28 <div class="main">
29 29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
30 30 <h3>branches</h3>
31 31
32 32 <form class="search" action="{url}log">
33 33 {sessionvars%hiddenformentry}
34 34 <p><input name="rev" id="search1" type="text" size="30" /></p>
35 35 <div id="hint">find changesets by author, revision,
36 36 files, or words in the commit message</div>
37 37 </form>
38 38
39 39 <table class="bigtable">
40 40 <tr>
41 41 <th>branch</th>
42 42 <th>node</th>
43 43 </tr>
44 44 {entries %
45 45 ' <tr class="tagEntry parity{parity}">
46 46 <td>
47 47 <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
48 48 {branch|escape}
49 49 </a>
50 50 </td>
51 51 <td class="node">
52 52 {node|short}
53 53 </td>
54 54 </tr>'
55 55 }
56 56 </table>
57 57 </div>
58 58 </div>
59 59
60 60 {footer}
@@ -1,12 +1,14
1 1 default = 'changelog'
2 2 mimetype = 'text/xml; charset={encoding}'
3 3 header = header.tmpl
4 4 changelog = changelog.tmpl
5 5 changelogentry = changelogentry.tmpl
6 6 filelog = filelog.tmpl
7 7 filelogentry = filelogentry.tmpl
8 8 tags = tags.tmpl
9 9 tagentry = tagentry.tmpl
10 10 bookmarks = bookmarks.tmpl
11 11 bookmarkentry = bookmarkentry.tmpl
12 branches = branches.tmpl
13 branchentry = branchentry.tmpl
12 14 error = error.tmpl
General Comments 0
You need to be logged in to leave comments. Login now