Difference between revisions of "Jmol testpage"

From NMReDATA
Jump to: navigation, search
(this does not work)
Line 19: Line 19:
 
<jmolFile>Chair.cml</jmolFile>
 
<jmolFile>Chair.cml</jmolFile>
 
</nowiki></code>
 
</nowiki></code>
== this does not work ==
+
 
<code><nowiki>
 
 
<jmol>
 
<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
     <uploadedFileContents> Chair.cml </uploadedFileContents>
+
     <uploadedFileContents>Chair.cml</uploadedFileContents>
 
   </jmolApplet>
 
   </jmolApplet>
 
</jmol>
 
</jmol>
</nowiki></code>
+
== this does not work ==
 
 
 
 
 
<code><nowiki>
 
<code><nowiki>
 
<jmol>
 
<jmol>
Line 39: Line 36:
  
 
There should be something here below:
 
There should be something here below:
<nowiki><code>
+
 
 
<jmol>
 
<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
Line 112: Line 109:
 
   </jmolApplet>
 
   </jmolApplet>
 
</jmol>
 
</jmol>
</nowiki></code>
 

Revision as of 17:42, 27 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> <wikiPageContents> toto </wikiPageContents> </jmolApplet> </jmol>


There should be something here below: