From: Jakub Narebski Date: Fri, 03 Oct 2008 01:04:56 GMT Subject: Re: [PATCH] gitweb: Identify all summary metadata table rows Message-ID: In-Reply-To: <20081003003053.GT21310@spearce.org> "Shawn O. Pearce" writes: > Petr Baudis wrote: > > In the metadata table of the summary page, all rows have their > > id (or class in case of URL) set now. This for example lets sites > > easily disable fields they do not want to show in their custom > > stylesheet (e.g. they are overly technical or irrelevant for the site). > > > > Many of my other patches depend on this, so I would appreciate to hear > > as soon as possible if someone has an issue with this patch. > > Its pretty trivial and painless. So its applied. Marking up unique > elements so you can control them via CSS isn't rocket science. ;-) Somehow original patch didn't appear (yet) on git mailing list; perhaps it ran afoul vger anti-SPAM filter... > > + "description" . esc_html($descr) . "\n" . > > + "owner" . esc_html($owner) . "\n"; > > + print "last change$cd{'rfc2822'}\n"; > > + print "$url_tag$git_url\n"; I like the idea, and I think this can be seen as beginning to use either microformats, or RDFa. You have marked those fragments for CSS to show or hide; microformats are about marking those fragments for machine to parse. Although microformats usually use 'class' (or 'rel' for links), not 'id' attribute for classifying data... -- Jakub Narebski Poland ShadeHawk on #git