they are totally unrelated formats; but if that works, i can live with tying them together.
Just brainstorming, I was wondering about having collisions map to a container mime that then uses the stream or throws an exception if there is not enough info to detect. thanks On Mon, Sep 16, 2013 at 1:08 PM, Nick Burch <[email protected]> wrote: > On Mon, 16 Sep 2013, Ryan McKinley wrote: > >> What approach do people suggest to handle the case different types use >> the same extension? >> >> In this case (Lidar vs ASCII log file) I can see if the first character is >> '~' and pick the right mime type. >> > > Is one a subset of the other? If so, define the glob on the outer one, > mark the inner one as being a subtype, and put the magic on the inner one > at a higher priority. > > Nick >
