There are DokuWiki plugins for research & education which I developed. All plugins are under GPL2 license, so feel free to use them in your DokuWiki.
Dokuwiki Official
DokuWiki plugins for bioscience and biotechnology.
This is a plugin for DokuWiki that creates the link or retrieve chemical structure for the compound identified by CID (Compound ID).
{{pubchem>[(COMMAND)|(COMMAND:CID)}} COMMAND: link, small, large, clear_cache, searchbox
command | function |
---|---|
small | Display a small image of chemical structure |
large | Display a large image of chemical structure |
summaryXml | Display a summary XML from NCBI Structure database |
IUPAC | Display an IUPAC name of a compound |
formula | Display a molecular formula of a compound |
searchBox | Display a search box of PubChem |
clear | Clear all PubChem cache files |
remove_dir | Clear and remove cache directory |
A syntax {{pubchem>link:6248}} creates a link like this.
{{pubchem>large:6248}} retrieves a large image of chemical structure.
{{pubchem>small:6248}} retrieves a small image of chemical structure.
You can display a search box for PubChem with {{pubchem>searchbox}}.
{{pubchem>summaryXML:6248}} displays a summary XML from NCBI.
{{pubchem>formula:6248}} displays a chemical formula of compound.
{{pubchem>IUPAC:6248}} displays an IUPAC name of compound.
You can clear all image files by {{pubchem>clear_cache}}. {{pubchem>remove_dir}} will clear all files and pubchem directory.
Recent dokuwiki has Extension manager in Admin tools. It can download and install the plugin automatically.
-Install bio plugin and cache plugin if not installed.
-Download and extract pubchem.zip (6 KB).
-Upload the folder your DokuWiki at /lib/plugins/
This plugin automatically creates 'pubchem' namespace and caches images of chemical structure there.