Difference between revisions of "Jmol testpage"

From NMReDATA
Jump to: navigation, search
(mime.types file)
Line 1: Line 1:
 
Note that I could not find a  
 
Note that I could not find a  
 
<code>includes/mime.types</code> file in main wiki folder ...
 
<code>includes/mime.types</code> file in main wiki folder ...
 +
: Newer MW versions locate that in <code>includes/libs/mime/mime.types</code>
  
 
I may be related: I could not manage to allow the upload of .sdf .mol . But .cml files works (I followed [https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_Extension these instructions])
 
I may be related: I could not manage to allow the upload of .sdf .mol . But .cml files works (I followed [https://www.mediawiki.org/wiki/Extension:Jmol#Installing_Jmol_Extension these instructions])

Revision as of 12:13, 20 February 2019

Note that I could not find a includes/mime.types file in main wiki folder ...

Newer MW versions locate that in includes/libs/mime/mime.types

I may be related: I could not manage to allow the upload of .sdf .mol . But .cml files works (I followed these instructions)

this works

aspirin

<jmolSmiles>aspirin</jmolSmiles>

Chair.cml

<jmolFile>Chair.cml</jmolFile>

this does not work

<jmol> <jmolApplet> <uploadedFileContents> Chair.cml </uploadedFileContents> </jmolApplet> </jmol>


<jmol> <jmolApplet> <wikiPageContents> toto </wikiPageContents> </jmolApplet> </jmol>


There should be something here below: <code> <jmol> <jmolApplet> <inlineContents> OpenBabel02151916433D 31 31 0 0 0 0 0 0 0 0999 V2000 0.6797 1.2651 -0.2387 C 0 0 0 0 0 0 0 0 0 0 0 0 1.3944 -0.0096 0.2024 C 0 0 0 0 0 0 0 0 0 0 0 0 0.6695 -1.3027 -0.2371 C 0 0 2 0 0 0 0 0 0 0 0 0 -0.8129 -1.2397 0.2137 C 0 0 1 0 0 0 0 0 0 0 0 0 -1.5089 0.0539 -0.2208 C 0 0 0 0 0 0 0 0 0 0 0 0 -0.7680 1.3033 0.2480 C 0 0 2 0 0 0 0 0 0 0 0 0 -1.4711 2.5652 -0.2509 C 0 0 0 0 0 0 0 0 0 0 0 0 -1.5752 -2.3115 -0.3340 O 0 0 0 0 0 0 0 0 0 0 0 0 1.4325 -2.5688 0.2868 C 0 0 0 0 0 0 0 0 0 0 0 0 0.7873 -3.8964 -0.1292 C 0 0 0 0 0 0 0 0 0 0 0 0 2.8961 -2.5942 -0.1835 C 0 0 0 0 0 0 0 0 0 0 0 0 1.2254 2.1343 0.1484 H 0 0 0 0 0 0 0 0 0 0 0 0 0.7117 1.3341 -1.3336 H 0 0 0 0 0 0 0 0 0 0 0 0 2.4050 0.0252 -0.2178 H 0 0 0 0 0 0 0 0 0 0 0 0 1.5013 -0.0027 1.2947 H 0 0 0 0 0 0 0 0 0 0 0 0 -1.6086 0.0630 -1.3151 H 0 0 0 0 0 0 0 0 0 0 0 0 -2.5371 0.0569 0.1639 H 0 0 0 0 0 0 0 0 0 0 0 0 0.6850 -1.3476 -1.3355 H 0 0 0 0 0 0 0 0 0 0 0 0 -0.8654 -1.3281 1.3056 H 0 0 0 0 0 0 0 0 0 0 0 0 -0.7714 1.3230 1.3457 H 0 0 0 0 0 0 0 0 0 0 0 0 -1.4921 2.6034 -1.3455 H 0 0 0 0 0 0 0 0 0 0 0 0 -0.9581 3.4631 0.1088 H 0 0 0 0 0 0 0 0 0 0 0 0 -2.5048 2.6021 0.1085 H 0 0 0 0 0 0 0 0 0 0 0 0 -1.4957 -2.2720 -1.3025 H 0 0 0 0 0 0 0 0 0 0 0 0 1.4411 -2.5381 1.3844 H 0 0 0 0 0 0 0 0 0 0 0 0 0.5863 -3.9212 -1.2054 H 0 0 0 0 0 0 0 0 0 0 0 0 -0.1467 -4.0734 0.4111 H 0 0 0 0 0 0 0 0 0 0 0 0 1.4390 -4.7445 0.1088 H 0 0 0 0 0 0 0 0 0 0 0 0 2.9614 -2.5170 -1.2741 H 0 0 0 0 0 0 0 0 0 0 0 0 3.3900 -3.5247 0.1184 H 0 0 0 0 0 0 0 0 0 0 0 0 3.4778 -1.7803 0.2581 H 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 0 0 0 0 1 12 1 0 0 0 0 1 13 1 0 0 0 0 2 3 1 0 0 0 0 2 14 1 0 0 0 0 2 15 1 0 0 0 0 3 4 1 1 0 0 0 3 9 1 0 0 0 0 3 18 1 0 0 0 0 4 5 1 0 0 0 0 4 8 1 0 0 0 0 4 19 1 1 0 0 0 5 6 1 0 0 0 0 5 16 1 0 0 0 0 5 17 1 0 0 0 0 6 1 1 0 0 0 0 6 7 1 0 0 0 0 6 20 1 1 0 0 0 7 21 1 0 0 0 0 7 22 1 0 0 0 0 7 23 1 0 0 0 0 8 24 1 0 0 0 0 9 10 1 0 0 0 0 9 11 1 0 0 0 0 9 25 1 0 0 0 0 10 26 1 0 0 0 0 10 27 1 0 0 0 0 10 28 1 0 0 0 0 11 29 1 0 0 0 0 11 30 1 0 0 0 0 11 31 1 0 0 0 0 M END </inlineContents> </jmolApplet> </jmol> </code>