Jmol in Wikis and Blogs

From Jmol
Revision as of 09:54, 15 October 2010 by Pinostriccoli (talk | contribs) (WordPress)
Jump to navigation Jump to search


Jmol can be embedded in wiki pages using special processors.

You can see a list of wikis that already use Jmol: Wikis Using Jmol.


Jmol can be used in blogs, discussion boards and similar environments.
You can see a list of blogs that already use Jmol: Blogs Using Jmol.

Google Blogger

I have blogged some instructions for using Jmol in Google Blogger. I have found two ways of doing it (besides he widget described below). I think the best way is the one I describe in the comments. Note that Jmol doesn't show up in Preview, so you have to publish the post to see how it looks. Jan Jensen (Jhjensen), 17 November, 2009.


I have blogged some instructions for using Jmol in Wordpress. There are various ways of doing so, but the one I used enables running fully functional scripts etc. There is one issue however, and that is the need to insert <script src="../Jmol/Jmol.js" type="text/javascript" /> into the style header. This gets over-written every time the instance of WordPress is updated. --Rzepa 13:20, 16 November 2009 (UTC)

Having in mind the instruction written in Henry Rzepa's blog for Wordpress, i put the javaapplet inside "wp-content" directory together with all pdb files, using the ftp connection. The Jmol.js is also in the same wp-content directory. The link to Jmol (<script src="wp-content/Jmol.js" type="text/javascript" /> has to inserted in the header so that it is available in posts and pages too. When putting jmolInizialiaze the directory must be "/wp-content". In my blog, I used the <applet> tag, instead of jmolApllet, because i am having a persistent error appletclass not found. --User:Pinostriccoli 11:52, 15 October 2010


MicroJmol widget by Jeff Moore (Dept. Chemistry, University of Illinois at Urbana-Champaign): A portable version of Jmol viewer that loads the user-provided Jmol-readable file at startup. Used to share 3D structures on blogs, discussion boards and inside of other widgets that use the widgetbox. Instructions or comments can be added to the text field.

Uses this code:

<script src=""
if (WIDGETBOX) WIDGETBOX.renderWidget('ec6af128-5436-4d7b-97c9-7f2f4b528859');
Get the <a href="">MicroJmol</a> widget 
and many other <a href="">great free widgets</a> 
at <a href="">Widgetbox</a>! 
Not seeing a widget? 
(<a href="">More info</a>)

And, as a result, this kind of code gets inserted in the page:

<iframe hspace="0" vspace="0" marginheight="0" marginwidth="0"