diff --git a/templates/changelog.tmpl b/templates/changelog.tmpl --- a/templates/changelog.tmpl +++ b/templates/changelog.tmpl @@ -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> diff --git a/templates/filelog.tmpl b/templates/filelog.tmpl --- a/templates/filelog.tmpl +++ b/templates/filelog.tmpl @@ -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>