Hi Jim 

I'm not used to WordPress, but here are a few comments from the Jmol 
side:

> - added support for some other file types. So far it only accepts 
> these if the path is specified via a fileurl= parameter. The plugin 
> modifies the wordpress whitelist to allow upload of additional mime 
> types, but advice on what to use is needed.

In fact, Jmol/JSmol does not care about file extensions for plain 
text files (which covers pdb, mol and many other accepted formats), 
so in an extreme case the file could be named .txt irrespective of 
its actual format.
For binary files, JSmol needs to recognize some token in the 
extension (see 
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object#Reading_binary_f
iles) and will then load the file of any format.

As for retrieving the files remotely, there are different issues 
there since you cannot set the file name+extension. Henry has 
commented.

But I guess in any case MIME type will be either text or gzipped for 
all cases.


> - are there equivalents of pdb for remote loading of other file 
> types?

Apart from what Henry said, there is loading from the NCI CACTUS 
server, and from PubChem, both dealing with MOL/SDF-formatted files. 
Both are integrated in Jmol/JSmol.


> - I tried to load an obj file based on the cube example from 
> http://www.fileformat.info/format/wavefrontobj/egff.htm . But I can't 
> tell if it's there. Can I display that, and if so, what commands 
> should I use to display it? What commands would show whether it's 
> loaded?

I believe that OBJ files can be output by Jmol but not input.



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to