]> Lady’s Gitweb - Gitweb/commitdiff
Add <author> and <guid> to RSS feed
authorYasushi SHOJI <redacted>
Thu, 18 Aug 2005 16:24:28 +0000 (18:24 +0200)
committerKay Sievers <redacted>
Thu, 18 Aug 2005 16:24:28 +0000 (18:24 +0200)
From http://blogs.law.harvard.edu/tech/rss
  author - Email address of the author of the item.
  guid   - A string that uniquely identifies the item.

Signed-off-by: Yasushi SHOJI <redacted>
gitweb.cgi

index 64d90da93debc2a7f56d313ed6f779ef04303d3d7ee32e33cac62ab31fcd96a5..cd3063946f238b0e8fd80d5efc8950aa532c79ecc5a86537ddd5031ae4b2cdc2 100755 (executable)
@@ -1424,7 +1424,9 @@ sub git_rss {
                      "<title>" .
                      sprintf("%d %s %02d:%02d", $cd{'mday'}, $cd{'month'}, $cd{'hour'}, $cd{'minute'}) . " - " . escapeHTML($co{'title'}) .
                      "</title>\n" .
+                     "<author>" . escapeHTML($co{'author'}) . "</author>\n" .
                      "<pubDate>$cd{'rfc2822'}</pubDate>\n" .
+                     "<guid isPermaLink=\"true\">" . escapeHTML("$my_url?p=$project;a=commit;h=$commit") . "</guid>\n" .
                      "<link>" . escapeHTML("$my_url?p=$project;a=commit;h=$commit") . "</link>\n" .
                      "<description>" . escapeHTML($co{'title'}) . "</description>\n" .
                      "<content:encoded>" .
This page took 0.238953 seconds and 4 git commands to generate.