* [PATCH] gitweb - Add <author> and <guid>.
@ 2005-08-18 14:43 Yasushi SHOJI
2005-08-18 16:26 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Yasushi SHOJI @ 2005-08-18 14:43 UTC (permalink / raw)
To: git
Hi all,
with this patch and the privious one I just sent, you can run a pretty
neat blog site with rss feed for geeks ;)
one missing feature is the picture tag Junio asked a while ago ;P
yashi
----
Add <author> and <guid>.
>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>
---
gitweb.cgi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
0a477312bf2975cf3240d3cf107ff7ac2e32049a
diff --git a/gitweb.cgi b/gitweb.cgi
--- 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>" .
"<![CDATA[\n";
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gitweb - Add <author> and <guid>.
2005-08-18 14:43 [PATCH] gitweb - Add <author> and <guid> Yasushi SHOJI
@ 2005-08-18 16:26 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2005-08-18 16:26 UTC (permalink / raw)
To: Yasushi SHOJI; +Cc: git
On Thu, Aug 18, 2005 at 11:43:03PM +0900, Yasushi SHOJI wrote:
> Hi all,
>
> with this patch and the privious one I just sent, you can run a pretty
> neat blog site with rss feed for geeks ;)
>
> one missing feature is the picture tag Junio asked a while ago ;P
>
> yashi
> ----
> Add <author> and <guid>.
>
> 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.
Next version will have it. Thanks for the patch.
Kay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-18 16:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 14:43 [PATCH] gitweb - Add <author> and <guid> Yasushi SHOJI
2005-08-18 16:26 ` Kay Sievers
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).