https://bugzilla.wikimedia.org/show_bug.cgi?id=16491





--- Comment #5 from Ilmari Karonen <[EMAIL PROTECTED]>  2008-11-30 02:28:20 UTC 
---
The docs indicate it should be possible to run Jmol on the server side for
static thumbnail generation.  Alternatively, OpenRasMol might also be usable as
a server side rasterizer.

In general, I think this should be treated a lot like the Cortado media player:
users with Java get a nice little inline viewer, while the rest get a thumbnail
and the ability to view the files using a browser plugin (like Chime) or
download them for local viewing.

All that said, it does occur to me that there's one important difference
between video clips and chemical structure data.  Video files are "WYSIWYG";
they really only have one "normal" rendering, which the file format
unambiguously specifies.  Chemical structure data formats (like CML, MDL, PDB,
etc.), on the other hand, generally just specify an abstract set of spatial
data that can be rendered in a number of different ways.  For RasMol-style
renderers (which includes Jmol), this extra presentational information is
effectively supplied via a scripting language that controls the viewer.

One possibility, if we want to go the media handler way, might be to add an
extra "script=" parameter to the image link syntax, supporting a limited subset
of the RasMol scripting language.  Of course, we'd presumably have to parse the
code and validate it, especially if we were to use it for server side
rasterization.  Even so, I'd prefer to use something based on RasMol script
syntax rather than inventing our own, if only because people are likely to be
familiar with it, and because there are probably tools out there that generate
it.  It's also pretty easy to read and edit,at least as long as you don't get
too clever with it (which is about what one could say of wiki markup, too).

That said, both thumbnailing and scripting are really second-step features. 
The first step would be to get the media handler working at all.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to