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>
Giuseppe Bilotta committed
Jan 26, 2009 at 12:50 UTC
3ac109ae4c513b12959f3661b9d8f86b99f150d0
1 file changed
+3
-1
gitweb/gitweb.perl
+3
-1
@@ -6074,7 +6074,9 @@ XML
6074
print "<title>$title</title>\n" .
6075
"<link>$alt_url</link>\n" .
6076
"<description>$descr</description>\n" .
6077
- "<language>en</language>\n";
6077
+ "<language>en</language>\n" .
6078
+ # project owner is responsible for 'editorial' content
6079
+ "<managingEditor>$owner</managingEditor>\n";
6080
if (defined $logo || defined $favicon) {
6081
# prefer the logo to the favicon, since RSS
6082
# doesn't allow both