Bug 27516

Summary: Mallard help files taken as text/html
Product: shared-mime-info Reporter: Carlos Garnacho Parro <carlosg>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: example mallard file

Description Carlos Garnacho Parro 2010-04-07 08:47:41 UTC
Created attachment 34769 [details]
example mallard file

Hi! shared-mime-info is taking some mallard help files (http://projectmallard.org/about/index.html) as html files. These files format is XML, closer to docbook than html, but however shared-mime-info takes it as an html document. For other similar files it returns text/plain, which is more sensible in this case.

I'm attaching an example document, more specimens can be found in /usr/share/gnome/help/gnome-doc-mallard-spec/C/ if a recent gnome-doc-utils is installed.
Comment 1 Bastien Nocera 2011-05-25 05:52:55 UTC
Please follow the instructions at:
http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING#n31
for mime-type additions.
Comment 2 Bastien Nocera 2013-02-13 10:10:57 UTC

*** This bug has been marked as a duplicate of bug 23008 ***

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.