5 Nov 23:43
Re: Recent stuff.
Andrew Plotkin <erkyrath <at> eblong.com>
2005-11-05 22:43:41 GMT
2005-11-05 22:43:41 GMT
On Fri, 4 Nov 2005, Jason McIntosh wrote:
> * Registered a feature request on the bugboard tonight: Javolin needs to
> be able to open and react to ".volity" files. Yes, I've got the game
> finder far enough along that it correctly generates and uploads them.
> I'll have something running on our server soonish.
I started looking at this.
Thing 1: We still need a name for these things. "Volity file" is too
broad -- it could apply to anything I've written since May.
For that matter, it would be hubris to think that these objects deserve
to be styled as *the* Volity MIME type. I have no doubt that in a year,
we'll have more file types and more MIME types.
Therefore, I propose (again) that these things be referred to as "Volity
command stubs", MIME type "application/x-volity-command-stub",
file suffix ".volcom". (Not that I anticipate dealing with them in the
filesystem very often.)
Thing 2: I whipped up a XML parser for the file syntax. That was easy.
Then I tried to figure out how to make Javolin react to the MIME type. At
this, I have failed.
I created a ContentHandler subclass. (See java.net.ContentHandler.) This
works, but it's only used for URLs opened inside Javolin. That is to say:
I can write test code that says
URL url = new URL("http://www.eblong.com/zarf/tmp/stub.volcom");
(Continue reading)
RSS Feed