summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-26 11:50:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-28 22:13:54 (GMT)
commit3ac109ae4c513b12959f3661b9d8f86b99f150d0 (patch)
treefff3034455c266860b47d8e29682073e9a1091f9 /gitweb
parentad59a7a359ffa3bf0903f1d35ccfd3910f9bbef2 (diff)
downloadgit-3ac109ae4c513b12959f3661b9d8f86b99f150d0.zip
git-3ac109ae4c513b12959f3661b9d8f86b99f150d0.tar.gz
git-3ac109ae4c513b12959f3661b9d8f86b99f150d0.tar.bz2
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 3d94f50..cc6d0fb 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