git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitweb - Use <description> instead of <content:encoded>.
@ 2005-08-18 14:30 Yasushi SHOJI
  2005-08-18 15:36 ` Sven Verdoolaege
  2005-08-18 16:01 ` Kay Sievers
  0 siblings, 2 replies; 5+ messages in thread
From: Yasushi SHOJI @ 2005-08-18 14:30 UTC (permalink / raw)
  To: git

Use <description> instead of <content:encoded>.

RSS 2.0 Specification doesn't have <content:encoded>.
see http://blogs.law.harvard.edu/tech/rss

I've tested this with Mozilla Thunderbird version 1.0.6 (20050802),
and seems to be working well.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
---

 gitweb.cgi |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

8a489f354a5412e44ddaf7443aaecb47a81167f8
diff --git a/gitweb.cgi b/gitweb.cgi
--- a/gitweb.cgi
+++ b/gitweb.cgi
@@ -1426,8 +1426,7 @@ sub git_rss {
 		      "</title>\n" .
 		      "<pubDate>$cd{'rfc2822'}</pubDate>\n" .
 		      "<link>" . escapeHTML("$my_url?p=$project;a=commit;h=$commit") . "</link>\n" .
-		      "<description>" . escapeHTML($co{'title'}) . "</description>\n" .
-		      "<content:encoded>" .
+		      "<description>" .
 		      "<![CDATA[\n";
 		my $comment = $co{'comment'};
 		foreach my $line (@$comment) {
@@ -1442,7 +1441,7 @@ sub git_rss {
 			print "$file<br/>\n";
 		}
 		print "]]>\n" .
-		      "</content:encoded>\n" .
+		      "</description>\n" .
 		      "</item>\n";
 	}
 	print "</channel></rss>";

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-18 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 14:30 [PATCH] gitweb - Use <description> instead of <content:encoded> Yasushi SHOJI
2005-08-18 15:36 ` Sven Verdoolaege
2005-08-18 16:52   ` Yasushi SHOJI
2005-08-18 16:01 ` Kay Sievers
2005-08-18 16:26   ` Yasushi SHOJI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).