A number of years ago, Bob wrote code for an approach to loading Wikipedia compound article molecules from the SMILES on the Wikipedia page (By the pool at his hotel at Disney in FL - not kidding). I think the returned page from ethanol is instructive per this email chain.
NOTE: As this dynamic page currently comes from Wikipedia, there is an http/https inconsistency that prevented the page from working locally on my computer. When I changed all St Olaf urls to https, it worked just fine on my Mac - the jsmol.php was http: <!DOCTYPE html><html style='height:100%'><head><title>CCO</title></head><body style='height:100%'><div style='height:95%'><script src=https://chemapps.stolaf.edu/jmol/files/JSmolMin2.js></script><script type='text/javascript' language='javascript'> Jmol.Info.j2sPath = 'https://chemapps.stolaf.edu/jmol/jsmol/j2s';Jmol.Info.serverURL='https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php' jmolInitialize('https://chemapps.stolaf.edu/jmol/files', true); jmolApplet(['600','600'],"set antialiasdisplay;load data \"mydata\"|C2H6O|APtclcactv09091620003D 0 0.00000 0.00000| | 9 8 0 0 0 0 0 0 0 0999 V2000| 1.2854 -0.2499 -0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0| -0.0072 0.5687 -0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0| -1.1304 -0.3147 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0| 1.3175 -0.8784 0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0| 1.3175 -0.8784 -0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0| 2.1422 0.4239 -0.0000 H 0 0 0 0 0 0 0 0 0 0 0 0| -0.0392 1.1972 0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0| -0.0392 1.1972 -0.8900 H 0 0 0 0 0 0 0 0 0 0 0 0| -1.9857 0.1365 -0.0000 H 0 0 0 0 0 0 0 0 0 0 0 0| 1 2 1 0 0 0 0| 2 3 1 0 0 0 0| 1 4 1 0 0 0 0| 1 5 1 0 0 0 0| 1 6 1 0 0 0 0| 2 7 1 0 0 0 0| 2 8 1 0 0 0 0| 3 9 1 0 0 0 0|M END|$$$$||end \"mydata\";");</script></div></body></html> -- Otis Rothenberger o...@chemagic.org http://chemagic.org > On Sep 10, 2016, at 8:08 AM, Angel Herráez <angel.herr...@uah.es> wrote: > > I am surprised. As far as I know, the jsmol.php is only used for loading > models in binary format (and only for some browsers), not for used to load > the javascript making the page . > > Have you tried loading a plain MOL file, for example, or a file from NCI > CACTUS using "load $aspirin" ? That would clarify the issue > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users