Bug 27516 - Mallard help files taken as text/html
Summary: Mallard help files taken as text/html
Status: RESOLVED DUPLICATE of bug 23008
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 08:47 UTC by Carlos Garnacho Parro
Modified: 2013-02-13 10:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
example mallard file (6.43 KB, application/octet-stream)
2010-04-07 08:47 UTC, Carlos Garnacho Parro
Details

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.