git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: Atom feeds

From
Junio C Hamano <junkio@cox.net>
Date
Nov 17, 2006, 09:01 UTC
Message-ID
<7v4psysazy.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<ejim5q$31b$1@sea.gmane.org>
Andreas Fuchs <asf@boinkor.net> writes:
Show 19 quoted lines
> Jakub Narebski wrote:
>> Andreas Fuchs <asf@boinkor.net> wrote:
>> 
>>> * Wrap the commit message in <pre>
>> We use <div class="pre"> in "commit" view if I remember correctly.
>
> That's ok for rendered HTML output, but in my experience, the way feed
> readers interpret that ranges from "badly" to "not at all"; it's better
> to stick to explicit structure hints only in feeds. /-:
>
> So, this is the only thing I haven't fixed in the attached patch (:
> ...
> In addition to the above points, the attached patch emits a
> Last-Changed: HTTP response header field, and doesn't compute the feed
> body if the HTTP request type was HEAD. This helps keep the web server
> load down for well-behaved feed readers that check if the feed needs
> updating.
>
> Hope you like it,

Seems sane to me. Jakub, how do you like this one? If it looks Ok to you, please arrange to include your one-liner that this depends on and forward a readily applicable patch with appropriate commit log message.

Previous: Andreas Fuchs
Message 4 of 4 in “gitweb: Make RSS feed output prettier”
  1. gitweb: Make RSS feed output prettierasf@boinkor.net, Nov 15, 2006
  2. Jakub NarebskiNov 15, 2006
  3. gitweb: Atom feeds (was: gitweb: Make RSS feed output prettier)Andreas Fuchs, Nov 16, 2006
  4. Junio C HamanoNov 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.