how to obtain a control by MIME type of URI?



Hi.

I'm interested in implementing HTML::OBJECT element;
http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.3
is superset of HTML::IMG, HTML::APPLET, and HTML::EMBED, etc.

the first challenge of HTML::IMG has took upon of loading eog directly.
but I got found 'loading a contol directly' is really bad idea;
there's bunch of controls that dealing with image/* MIME types, for example.
and for HTML::OBJECT, I cannot imagine how much kind of controls implemented and will be.
(for almost of them has placed in GStreamer I believe.)

so I ought not to specify which control to use for a external resource.
then, I have only known for a URI of the resource, e.g. http://localhost/test.jpg
Does bonobo support this kind of way to getting proper control for a resource?
I'm suspecting bonobo_moniker_client_new_from_name() is the one I'm searching for.
I'm not sure.

help me pliz.
thx.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]