Difference between revisions of "User:AngelHerraez/Sandbox/PhpUrl"
< User:AngelHerraez | Sandbox
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) |
AngelHerraez (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|<jmol> | |<jmol> | ||
<jmolApplet> | <jmolApplet> | ||
− | <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> | + | <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> | ||
</jmol> | </jmol> | ||
− | |a simple URL, in an outside server (supposedly | + | |a simple URL, in an outside server (supposedly this needs the signed applet, but it's working with the unsigned applet) |
|- | |- | ||
|<jmol> | |<jmol> | ||
<jmolApplet> | <jmolApplet> | ||
− | <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> | + | <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> | ||
</jmol> | </jmol> | ||
− | |now ampersands are written as < | + | |now ampersands are written as <code>&amp;</code>. At least the applet loads, but does not find the file (tries <code>load f=a1.gamess</code>) |
+ | |- | ||
+ | |<jmol> | ||
+ | <jmolApplet> | ||
+ | <signed>true</signed> | ||
+ | <size>100</size> | ||
+ | <urlContents>http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob%26p=formaldehyde%26h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a%26hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595%26f=a1.gamess</urlContents> | ||
+ | </jmolApplet> | ||
+ | </jmol> | ||
+ | |now ampersands are written as <code>%26</code> (the wikicode for &). The applet loads, the file is not found until we update the Jmol WikiMedia Extension to version 3.2 (a patch which processes those %26 codes). | ||
|} | |} |
Latest revision as of 19:55, 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 this needs the signed applet, but it's working with the unsigned applet) | ||
a PHP url, that includes ampersands :: this is broken | ||
now ampersands are written as & . At least the applet loads, but does not find the file (tries load f=a1.gamess )
| ||
now ampersands are written as %26 (the wikicode for &). The applet loads, the file is not found until we update the Jmol WikiMedia Extension to version 3.2 (a patch which processes those %26 codes).
|