[PATCH] Add long comments to shared-mime-info XML file

Christian Neumair chris at gnome-de.org
Thu Oct 13 03:17:14 PDT 2005

Am Mittwoch, den 07.09.2005, 23:48 -0400 schrieb Andrew J. Montalenti:
> Hey,
> On Wed, 2005-09-07 at 17:50 +0200, Christian Neumair wrote:
> > @@ -461,7 +489,8 @@ command to generate the output files.
> >    </mime-type>
> >    <mime-type type="application/x-asp">
> >      <sub-class-of type="text/plain"/>
> > -    <_comment>active server page</_comment>
> > +    <_comment>ASP</_comment>
> > +    <_long-comment>Active Server Pagee</_long-comment>
> >      <glob pattern="*.asp"/>
> Seems to me that's a spelling error.

Thanks for pointing that out.

> 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>

> Just to further push my point, many desktop publishers use TIFF files
> and JPEG files and PDF files all the time, without caring at all that
> TIFF stands for Tagged Image File Format

Exactly. Over at Nautilus, we're also suffering from the problem that
the current <comment>s are simply too long.

> Anyway, I think this patch needs at least a _bit_ of discussion before a
> commit, and at least needs to have some of these sillier long entries
> corrected.

Doesn't it do that already? The file is quiet huge, and I've spent some
time. It is just meant as a starting point for further development.

Christian Neumair <chris at gnome-de.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20051013/f408cf99/attachment.pgp 

More information about the xdg mailing list