diff options
| author | Yasushi SHOJI <yashi@atmark-techno.com> | 2005-08-18 18:24:28 +0200 |
|---|---|---|
| committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-18 18:24:28 +0200 |
| commit | e00c9e18a7382209b158efdc0c600165cde295a5 (patch) | |
| tree | 8a074ed382226d88eda77dd66694f5396ff35931 /gitweb.cgi | |
| parent | 53b89d8ddb0ec0643ab0c14d5c251d1e7ffbc8cb (diff) | |
Add <author> and <guid> to RSS feed
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 <yashi@atmark-techno.com>
Diffstat (limited to 'gitweb.cgi')
| -rwxr-xr-x | gitweb.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitweb.cgi b/gitweb.cgi index 8d4e4f7022..e68368d56b 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -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>" . |
