I just pushed a new version of the wordpress plugin for JSmol to GitHub. 
Changes:
- 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.
- added support to specify the URL of the data file (useful when wordpress 
isn't delivering the path you expect, or for loading the demos in the data 
directory)
- more debug info
- fixed (I hope) the bug that prevented loading when permalinks were set to the 
default.
- fixed menu popup menu problems on some templates. The problem was an outdated 
version of jquery and that I hadn't set the dependency for jquery-ui properly. 
On some newer templates, these had already been loaded.

Thanks to Henry for patience and finding bugs!!

demo is still at http://biochemistryweb.tamu.edu/biobiodev/testing-jsmol-post/

A couple of questions:
- are there equivalents of pdb for remote loading of other file types?
- 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?

Best,

Jim
=====================================
Jim Hu
Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054

------------------------------------------------------------------------------
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