A little more on progress for Wikipedia support:

I wrote:

> I will try to do some experimenting over the weekend on the idea of a 
> template similar to chembox. I will use the Jmol Wiki (which of 
> course has the MediaWiki Extension and file type already set), so 
> that we have a better idea of what is workable from the Jmol side.

Finally I could not use the Jmol Wiki since the version of MediaWiki 
there does not support what is needed. I got permission to do my 
tests at another wiki where they have both the Jmol Extension and an 
updated version of MW:
http://www.sklogwiki.org/SklogWiki/index.php/User:AngelHerraez

This is the summary. Feedback is welcome.

1. For a first go, set-up a simple version of Jmol implementation (no 
scripts) that integrates in the Chembox template (more precisely, 
Chembox_new) currently in WP.

2. The Chembox will include, within the 'Structure' subsection, a row 
entitled '3D structure' with a hyperlink that will open Jmol in a pop-
up window (only if the user decides to go in). That's a resizable 
window with resizable JmolApplet filling 100%. Jmol popup menu and 
console are available as they are usually (but they could be 
restricted if so desired by editing the template, I think; anyway, I 
see no reason to do so)

3. The model file may come, depending on the wiki administrators' 
decision, either from an uploaded file (pdb, mol, xyz, etc. formats 
must be allowed for uploads in the wiki) or from a wikipage 
containing the molecular data.

4. Authors of wikipages need only 
4a. Know how to use the Chembox (which is not totally trivial, but 
not difficult either, and not our problem)
4b. Insert this code (example):
                Cyclohexane.pdb
into the pre-written field that says:
                3DStruct = 
4c. Make sure that the "Cyclohexane.pdb" file has been uploaded, or 
the "Cyclohexane.pdb" page has been created.


Technical requirements:
- MediaWiki 1.12 or later
- Jmol MediaWiki Extension (preferably latest version, dated 
Dec.2008, r10478)
- Permission to upload molecular files, if so chosen as the desired 
format
- Either a simpler template, or the Chembox and all its accessory 
subtemplates from WP. Edition of some of these WP templates is needed 
to add the new 3DStruct parameter.
- The new Chembox_3DStruct template.




------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to