Difference between revisions of "User:AngelHerraez/Sandbox/PhpUrl"

From Jmol
Jump to navigation Jump to search
Line 3: Line 3:
 
|<jmol>
 
|<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
     <size>150</size>
+
     <size>100</size>
 
     <urlContents>http://wiki.jmol.org/images/Caffeine.mol</urlContents>
 
     <urlContents>http://wiki.jmol.org/images/Caffeine.mol</urlContents>
 
   </jmolApplet>
 
   </jmolApplet>
Line 11: Line 11:
 
|<jmol>
 
|<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
     <size>150</size>
+
     <size>100</size>
 
     <urlContents>http://biomodel.uah.es/model1j/prot/cys.pdb</urlContents>
 
     <urlContents>http://biomodel.uah.es/model1j/prot/cys.pdb</urlContents>
 
   </jmolApplet>
 
   </jmolApplet>
Line 19: Line 19:
 
|<jmol>
 
|<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
     <size>150</size>
+
     <size>100</size>
 
     <urlContents>http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob&p=formaldehyde&h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a&hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595&f=a1.gamess</urlContents>
 
     <urlContents>http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob&p=formaldehyde&h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a&hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595&f=a1.gamess</urlContents>
 
   </jmolApplet>
 
   </jmolApplet>
Line 27: Line 27:
 
|<jmol>
 
|<jmol>
 
   <jmolApplet>
 
   <jmolApplet>
     <size>150</size>
+
     <size>100</size>
 
     <urlContents>http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob&amp;p=formaldehyde&amp;h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a&amp;hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595&amp;f=a1.gamess</urlContents>
 
     <urlContents>http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob&amp;p=formaldehyde&amp;h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a&amp;hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595&amp;f=a1.gamess</urlContents>
 
   </jmolApplet>
 
   </jmolApplet>
 
</jmol>
 
</jmol>
|now ampersands are written as <nowiki>&amp;</nowiki>. At least the applet loads, but does not find the file (does <code>load f=a1.gamess</code>)
+
|now ampersands are written as <code>&amp;amp;</code>. At least the applet loads, but does not find the file (does <code>load f=a1.gamess</code>)
 
|}
 
|}

Revision as of 00:46, 12 November 2009

A test for urlContents with a PHP url

a simple URL, within wiki.jmol.org
a simple URL, in an outside server (supposedly need the signed applet, but it's not so)
a PHP url, that includes ampersands :: this is broken
now ampersands are written as &amp;. At least the applet loads, but does not find the file (does load f=a1.gamess)

Contributors

AngelHerraez