Nico,

Bob can give you the details, but I think both things you suggest are  
possible.  However, I see one big problem:  in general I do not think  
we should default to opening a live Jmol in the wiki.  A static  
picture which can then become a live Jmol is more appropriate.  I  
think you want behavior more like the Jmol pop-in implemented by the  
export-to-web function.  An example page is here:
http://www.uwosh.edu/faculty_staff/gutow/Jmol_Web_Page_Maker/Export_to_web_tutorial.shtml

You can use the code in this page which is based on a template made by  
Angel.  Note since this page was generated we have updated things to  
perform better.  You would probably be best off generating a new page  
in Jmol and lifting the code from that.

Jonathan
On Nov 23, 2010, at 1:08 PM, Nicolas Vervelle wrote:

> Hi,
>
> I have started working again on the extension to include Jmol in  
> Wikipedia.
>
> The current extension is not as simple as some Wikipedia people  
> would like (see this bugzilla report).
> One idea there is that a Media handler for molecular files should be  
> developed (so that an image could be displayed automatically when  
> going on the page of a CML file). It's interesting but seems  
> complicated.
>
> I have an other idea that could be not really hard to develop but  
> would enable to show a lot of molecules easily.
> But I need more infos on what Jmol is currently capable (I have lost  
> track and since I am no chimist at all that's difficult to follow).
> The idea is to use a simple tag with only an identifier inside to  
> choose the molecule.
> What do you think of the ideas below ?
>
> Can Jmol show a molecule having just a SMILES string ?
> If so, what are the commands that need to be executed ?
> I think we could add a syntax for Wikipedia where a user would  
> simply have to add something like <smiles>XXXX</smiles> to display  
> the molecule in Jmol.
>
> Also, can Jmol retrieve a molecular file using only an identifier  
> (like getting the molecule on the pdb database) ?
> What are the options and the commands ?
> That would allow the same kind of addition : <pdb>XXXX</pdb> to  
> display a molecule from the pdb database.
>
> Nico
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with  
> the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for  
> grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers

                          Dr. Jonathan H. Gutow
Chemistry Department                                 gu...@uwosh.edu
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/facstaff/gutow






------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to