From: Harold <hb...@no...> - 2009-06-25 14:29:28
|
my x3d test case url disappeared in this email! Here it is: http://x3d-earth.nps.edu/globe/SanFrancisco/north/tiles/0/north0-0.x3d HB > This is what I've been trying to do today: > > - tell iceweasel/firefox to open x3d and vrml files without the plugin but > by launching the stand-alone freewrl in it's own window. > > At first it seems easy with .vrml files .. just open up the > preferences/applications tab and change vrm files to /usr/bin/freewrl. > > Then I tried .x3d files .. and this is what I had to do: > > - open 'about:config' and see what mimetypes freewrl plugin supports. > - add/edit the /etc/mimetypes file to agree with this > - shut down iceweasel/firefox > - delete .mozilla/firefox/*/mimtypes.rdf file > - restart iceweasel > - repeat what I did for vrm files in preferences/applications > > Now this seemed to work fine for the test file '1.x3d' .. but when I go to > the x3d-earth site and try this: > http://x3d-earth.nps.edu/globe/SanFrancisco/north/tiles/0/north0-0.x3d > I get: > Could Not Locate Inline URL /tmp/../../tiles/1/south1-1.x3d > > .. but this URL works fine with the plugin. > > Q1: Is this expected behaviour? > > It looks like there are 'wget' inlines in this code and it looks like the > relative position of these inlines is being messed up (/tmp/../.. ). > > I tried in a console: > > freewrl http://..... > > and it works fine. > > When I try to trap any errors from this freewrl launch I simply get four > lines: > Inline unsuccessful > Inline unsuccessful > Inline unsuccessful > Inline unsuccessful > > Q2: Is there something in freewrl that detects it's being called from a > browser and then treats the inlines differently? > > Q3: Should we be modifying the /etc/mime.types file (or suggesting to the > installer to update the mime.types) to reflect the vrml/x3d mimetypes? > > x-world/x-vrml wrl > model/vrml wrl > model/x3d x3d > model/x3d+xml x3d > model/x3d+vrml x3dv > model/x3d+binary x3db > > In my Debian Lenny release the mime.types has these lines only: > > model/vrml wrl vrml > x-world/x-vrml vrm vrml wrl > > > Harold > > > > > > _______________________________________________ > FreeWRL mailing list > Fr...@cr... > |