From: Giuseppe Bilotta Date: Mon, 26 Jan 2009 11:50:12 +0000 (+0100) Subject: gitweb: feed generator metadata X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/1a102e7bf2b3e9d4f6dd87c516fc37fef9af0a41d1586d875e235bc4f0f38be8 gitweb: feed generator metadata Add tag to RSS and Atom feed. Versioning info (gitweb/git core versions, separated by a literal slash) is stored in the appropriate attribute for the Atom feed, and in the tag content for the RSS feed. Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 78f54e7..566935a 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -6086,6 +6086,7 @@ XML "$alt_url\n" . "\n"; } + print "gitweb v.$version/$git_version\n"; } elsif ($format eq 'atom') { print < @@ -6112,6 +6113,7 @@ XML } else { print "$latest_date{'iso-8601'}\n"; } + print "gitweb\n"; } # contents