##// 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 b''
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 b''
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 b''
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 b''
1 {header}
2 <title>{repo|escape}: branches</title>
3 <description>{repo|escape} branch history</description>
4 {entries%branchentry}
5 </channel>
6 </rss>
@@ -10,4 +10,6 b' tags = tags.tmpl'
10 tagentry = tagentry.tmpl
10 tagentry = tagentry.tmpl
11 bookmarks = bookmarks.tmpl
11 bookmarks = bookmarks.tmpl
12 bookmarkentry = bookmarkentry.tmpl
12 bookmarkentry = bookmarkentry.tmpl
13 branches = branches.tmpl
14 branchentry = branchentry.tmpl
13 error = error.tmpl
15 error = error.tmpl
@@ -1,9 +1,9 b''
1 {header}
1 {header}
2 <title>{repo|escape}: Branches</title>
2 <title>{repo|escape}: Branches</title>
3 <link rel="alternate" type="application/atom+xml"
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 <link rel="alternate" type="application/rss+xml"
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 </head>
7 </head>
8 <body>
8 <body>
9
9
@@ -1,7 +1,7 b''
1 {header}
1 {header}
2 <title>{repo|escape}: Branches</title>
2 <title>{repo|escape}: Branches</title>
3 <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom 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-log" title="RSS feed for {repo|escape}"/>
4 <link rel="alternate" type="application/rss+xml" href="{url}rss-branches" title="RSS feed for {repo|escape}"/>
5 </head>
5 </head>
6
6
7 <body>
7 <body>
@@ -1,9 +1,9 b''
1 {header}
1 {header}
2 <title>{repo|escape}: branches</title>
2 <title>{repo|escape}: branches</title>
3 <link rel="alternate" type="application/atom+xml"
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 <link rel="alternate" type="application/rss+xml"
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 </head>
7 </head>
8 <body>
8 <body>
9
9
@@ -9,4 +9,6 b' tags = tags.tmpl'
9 tagentry = tagentry.tmpl
9 tagentry = tagentry.tmpl
10 bookmarks = bookmarks.tmpl
10 bookmarks = bookmarks.tmpl
11 bookmarkentry = bookmarkentry.tmpl
11 bookmarkentry = bookmarkentry.tmpl
12 branches = branches.tmpl
13 branchentry = branchentry.tmpl
12 error = error.tmpl
14 error = error.tmpl
General Comments 0
You need to be logged in to leave comments. Login now