[PATCH] Add long comments to shared-mime-info XML file
Behdad Esfahbod
behdad at cs.toronto.edu
Thu Oct 13 03:23:40 PDT 2005
On Thu, 13 Oct 2005, Christian Neumair wrote:
> > I don't know about this patch. Some of your long forms are a bit too
> > long. "Cascading Style Sheets stylesheet" and "Microsoft Windows Media
> > Video video", for example, are particularly long and redundant, and
> > would look stupid should a programmer ever actually employ the long
> > comment form.
>
> Maybe you could come up with alternate proposals?
>
> > Since a lot of what you are doing seems to be acronym expansion, I think
> > a better approach might be to use what many web pages employ nowadays,
> > namely an <abbr> tag.
>
> Isn't that exactly what I was proposing, just that the <abbr> tag you
> propose maps to the <comment> tag of my proposal, i.e.
>
> | short desc., long desc. (expanded)
> current <comment>, <comment>
> your proposal <abbr>, <comment>
> my proposal <comment>, <long-comment>
What about going the exact HTML way:
<_comment><abbr title="Cascading Style Sheets">CSS</abbr> stylesheet</_comment>
Assuming that the long-comment is typically useless, this way you
have the short comment "CSS stylesheet" that most people want,
and you can have a tooltip for the under-dotted-lined "CSS", like
the browsers do these day.
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
More information about the xdg
mailing list