Difference between revisions of "CMS Using Jmol"

From Jmol
Jump to navigation Jump to search
(some detils about the Jmol filter for Moodle)
(Drupal)
Line 56: Line 56:
 
[http://drupal.org/ Drupal] is an open source content management platform.
 
[http://drupal.org/ Drupal] is an open source content management platform.
  
Compatibility with Jmol is uncertain yet; this needs to be documented.
+
;Drupal 6
 
+
:Jmol whas been tried and tested on the Drupal 6 platform and works as expected. A Drupal 6 module is available for download to get you started and customize your own Jmol pages in Drupal. Below is a guide on how to install the module and get Jmol working on your Drupal site
 +
:*Download the module and uncompress it in your module folder so you have a module folder called '''jmol'''
 +
:*Activate the module from your Drupal site by going to ''Site building > modules > Other > Jmol''
 +
:* to be completed today
  
 
== Others ==
 
== Others ==
 
...?
 
...?

Revision as of 11:19, 7 January 2012

Jmol / JSmol Applications

This page is devoted to Content Management Systems, Learning Management Systems, Virtual Learning Environments, e-Learning Platforms..., that have been set-up to use Jmol as part of their contents.

Moodle

Moodle sites using Jmol

Moodle is an open-source course management system. A third-party Jmol filter (info) automatically converts links to molecular model files (.mol, .csmol, .pdb, .xyz, .cml) in Moodle documents into embedded Jmol models. Jmol models can also be added as resources, or placed in searchable databases that students can edit.

If you know a Moodle which uses Jmol, and which is not in the list below, please add it.

Molecular structures in Moodle

  • How does the Jmol filter work?
Like the other text filters in Moodle, the Jmol filter expands a simple, shorthand code typed by an author into more complex code the browser can display. Specifically, this filter removes a link to a molecular file (with recognized file extension) and inserts a JmolApplet that loads the model. It can optionally insert controls too (e.g. for changing the rendering style).
  • How do I embed molecules into Moodle pages?
First, make sure that the administrators of your Moodle site have installed the Jmol filter. Then, simply upload a .pdb file to your course, and make a link to it using Moodle's HTML editor.
Note that the server must be the same for the uploaded file and the Moodle system files, since Jmol will not display remote pdb files.
<a href="path/aspartic.pdb">Aspartic acid</a>
The default size of the display is 350 pixels. You can set the size of the display to n pixels by appending ?s=n to the URL. For example:
<a href="path/aspartic.pdb?s=200">Aspartic acid</a>
You can turn the default controls off by appending ?c=0 to the URL. If you combine this with the sizing option, separate the parameters with an ampersand (&).
<a href="path/aspartic.pdb?s=200&c=0">Aspartic acid</a>
For even greater control, pass a Jmol script to the view by typing JMOLSCRIPT{} after the link. The script goes between the braces.
For example, to set the background to white, zoom in to 150%, and spin the molecule around its x and y axes, you could type:
<a href="path/aspartic.pdb?s=200&c=0">Aspartic acid</a>JMOLSCRIPT{color background white; zoom 150; set spin x 10; set spin y 10; spin;}

Internationalization

The Jmol filter for Moodle is being internationalized (Jan 2008) [1]


WebAssign

WebAssign® is a Course Management System offered as a service and done by North Carolina State University and Advanced Instructional Systems, Inc.

  • Notice announcing Jmol functionality.


LON-CAPA

LON-CAPA is a "Free Open-Source Distributed Learning Content Management and Assessment System" under continuing development at Michigan State University. There are many exercises in the growing database of shared resources that use Jmol. Most require an account on the system to access the exercises, but a few are published "publicly" and do not require log-in for access. For example:


Drupal

Drupal is an open source content management platform.

Drupal 6
Jmol whas been tried and tested on the Drupal 6 platform and works as expected. A Drupal 6 module is available for download to get you started and customize your own Jmol pages in Drupal. Below is a guide on how to install the module and get Jmol working on your Drupal site
  • Download the module and uncompress it in your module folder so you have a module folder called jmol
  • Activate the module from your Drupal site by going to Site building > modules > Other > Jmol
  • to be completed today

Others

...?