summaryrefslogtreecommitdiffstats
path: root/gitweb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-26 12:50:13 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-28 23:13:54 +0100
commit3ac109ae4c513b12959f3661b9d8f86b99f150d0 (patch)
treefff3034455c266860b47d8e29682073e9a1091f9 /gitweb
parentgitweb: feed generator metadata (diff)
downloadgit-3ac109ae4c513b12959f3661b9d8f86b99f150d0.tar.xz
git-3ac109ae4c513b12959f3661b9d8f86b99f150d0.zip
gitweb: rss feed managingEditor
The RSS 2.0 specification allows an optional managingEditor tag for the channel, containing the "email address for person responsible for editorial content", which is basically the project owner. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 3d94f50cff..cc6d0fb79e 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -6074,7 +6074,9 @@ XML
print "<title>$title</title>\n" .
"<link>$alt_url</link>\n" .
"<description>$descr</description>\n" .
- "<language>en</language>\n";
+ "<language>en</language>\n" .
+ # project owner is responsible for 'editorial' content
+ "<managingEditor>$owner</managingEditor>\n";
if (defined $logo || defined $favicon) {
# prefer the logo to the favicon, since RSS
# doesn't allow both