diff options
| author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-26 12:50:13 +0100 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-01-28 14:13:54 -0800 | 
| commit | 3ac109ae4c513b12959f3661b9d8f86b99f150d0 (patch) | |
| tree | fff3034455c266860b47d8e29682073e9a1091f9 | |
| parent | ad59a7a359ffa3bf0903f1d35ccfd3910f9bbef2 (diff) | |
| download | git-3ac109ae4c513b12959f3661b9d8f86b99f150d0.tar.gz | |
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>
| -rwxr-xr-x | gitweb/gitweb.perl | 4 | 
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 | 
