Hi Ingo, This sounds perfect. Andrew Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote: > > 3) get the type's app hint > a) if it has one and the file exists, we're done > b) else query for the app file and pick the one with the latest version > c) if none exists, fail > > The algorithm may be changed like this: > > 1) get the preferred app signature of the node > a) if found, use algorithm 3) to get the app ref and return it > if successful, otherwise continue > b) else get the node's MIME type -- sniff the type, if it has none > 2) get the preferred app signature of the given MIME type > a) if it has one, use 3) to get the app ref and return it if > successful, otherwise continue with b) > b) else if the supertype has one, use 3) and be done or > c) else fail > 3) as above > > Does that sound OK? > > CU, Ingo