Does anyone have any suggestions for how to proceed here? I want to make the mime system detect docbook, since there is a mime type for it.
Thanks, Chris On Thu, 2005-07-14 at 08:10 +0100, Thomas Leonard wrote: > ----- Forwarded message from Christopher James Lahey <[EMAIL PROTECTED]> ----- > > Subject: docbook mime type detection > From: Christopher James Lahey <[EMAIL PROTECTED]> > Date: Wed, 13 Jul 2005 16:25:32 -0400 > > I'm trying to figure out how to make the shared mime database detect the > mime type of docbook files. I found the section where xml files can be > identified by namespace and root element name, but docbook appears to > not use a namespace. Could this be extended to include checking the uri > of the doctype? Perhaps alternatively we could check the pubid of the > external entity of the doctype? > > Alternatively, is it possible to specify an empty namespace and just > specify the localname? That way any xml docs that match as <article> or > <book> would just be labeled as docbook. > > How do you suggest I go forward on this? > > Thanks, > Chris > > ----- End forwarded message ----- > _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
