Bug 19664 - Need alias(es) for text/csv
Summary: Need alias(es) for text/csv
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 10:46 UTC by Federico Mena-Quintero
Modified: 2009-02-09 11:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Federico Mena-Quintero 2009-01-20 10:46:49 UTC
Looking at defaults.list, I see these MIME types mapped to applications:

application/csv
text/comma-separated-values
text/csv
text/x-comma-separated-values
text/x-csv

The programs that say they support those types are either Gnumeric or oocalc.

However, shared-mime-info's text/csv.xml only defines an alias for text/x-comma-separated-values -> text/csv.  I think there should be aliases for all the other names mentioned above.

See https://bugzilla.novell.com/show_bug.cgi?id=463510 for where this bug started.
Comment 1 Pino Toscano 2009-01-20 11:07:43 UTC
The official IANA MIME type is "text/cvs", as also specified by its RFC:
  http://www.rfc-editor.org/rfc/rfc4180.txt

IMHO it would make more sense to start getting rid of the usage of the other *3* variants ("application/csv", "text/comma-separated-values", "text/x-csv") in applications, in flavour of the official MIME type. Especially that applications using only those three are broken anyway since long.
(At most text/x-csv could be added as alias for KDE 3 compatibility.)

All of that IMHO, of course.
Comment 2 Bastien Nocera 2009-02-09 06:47:10 UTC
When using the link provided in the first comment of the Novell bug:
File Type: “application/force-download type”.

I've added text/x-csv:
* freedesktop.org.xml.in: Add alias for text/x-csv (Closes: #19664)

For the other aliases, please open a new bug and show me where those mime-types are being used in the wild.
Comment 3 Federico Mena-Quintero 2009-02-09 11:27:05 UTC
Thanks, Bastien :)

I guess we can ignore the other aliases for now.  Gnumeric seems to define them, but I haven't actually seen those MIME-types in the wild.
Comment 4 Federico Mena-Quintero 2009-02-09 11:39:03 UTC
Filed http://bugzilla.gnome.org/show_bug.cgi?id=571073 against Gnumeric, FWIW.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.