SMILES, CAS and InChI in blogs: Greasemonkey
As follow up on my Including SMILES, CML and InChI in blogs blog last week, I had a go at Greasemonkey. Some time ago already, Flags and Lollipops and Nodalpoint showed with two cool mashups (one Connotea/Postgenomic and one Pubmed/Postgenomic) that userscripts are rather useful in science too. I can very much recommend the PubMed/Postgenomic mashup, as PubMed has several organic chemistry journals indexed too!
So, how does this relate to my blog of last week? Well, would it not be nice that if your blog uses the markup as suggested in that blog, that you automatically get links to PubChem and Google? That is now possible with a small GPL-ed Greasemonkey script called blogchemistry.user.js.
The Greasemonkey plugin requires Firefox to be installed. If ready, install the script by cli·cking this link earlier, and the Greasemonkey will ask you if you want to install the script. After, check the output for this RDFa markup content:
- a SMILES: CCO
- a CAS registry number: 50-00-0
- and an InChI: InChI=1/CH4/h1H4
It should look like the output for this blog item:
Note the superscript PubChem and Google links.