changeset 661:148f642d1f8e

Add rss tag in the changelog/filelog html template. # HG changeset patch # User kreijack@inwind.REMOVEME.it # Node ID 20edcc82038fce8460076ca5723fbbb919016356 # Parent 8c89408a7154d2da94766e957a088407fd0fef93 Add rss tag in the changelog/filelog html template. This patch add rss tags in the changelog/filelog template html pages. This tags permit the browser to detect the rss feed.
author kreijack@inwind.REMOVEME.it
date Sun, 10 Jul 2005 15:59:26 -0800
parents 2c83350784c3
children b55a78595ef6
files templates/changelog.tmpl templates/filelog.tmpl
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/templates/changelog.tmpl	Sun Jul 10 14:07:14 2005 -0800
+++ b/templates/changelog.tmpl	Sun Jul 10 15:59:26 2005 -0800
@@ -1,12 +1,14 @@
 #header#
 <title>#repo|escape#: changelog</title>
+<link rel="alternate" type="application/rss+xml"
+   href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#">
 </head>
 <body>
 
 <div class="buttons">
 <a href="?cmd=tags">tags</a>
 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
-<a href="?cmd=changelog;style=rss">rss</a>
+<a type="application/rss+xml" href="?cmd=changelog;style=rss">rss</a>
 </div>
 
 <h2>changelog for #repo|escape#</h2>
--- a/templates/filelog.tmpl	Sun Jul 10 14:07:14 2005 -0800
+++ b/templates/filelog.tmpl	Sun Jul 10 15:59:26 2005 -0800
@@ -1,5 +1,8 @@
 #header#
 <title>#repo|escape#: #file# history</title>
+<link rel="alternate" type="application/rss+xml"
+   href="?cmd=filelog;file=#file#;filenode=0;style=rss" title="RSS feed for #repo|escape#:#file#">
+</head>
 </head>
 <body>
 
@@ -8,7 +11,7 @@
 <a href="?cmd=tags">tags</a>
 <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a>
 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
-<a href="?cmd=filelog;file=#file#;filenode=0;style=rss">rss</a>
+<a type="application/rss+xml" href="?cmd=filelog;file=#file#;filenode=0;style=rss">rss</a>
 </div>
 
 <h2>#file# revision history</h2>