Skip to content

Commit 03aa402

Browse files
committed
Ported another post
1 parent ed9ac82 commit 03aa402

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: post
3+
title: "Ubiquity fun: entering semantic markup as easy as running a Ubiquity command"
4+
date: 2008-09-01 00:10
5+
blogger-link: https://chem-bla-ics.blogspot.com/2008/09/ubiquity-fun-entering-semantic-markup.html
6+
doi: 10.59350/s6bgg-e7a38
7+
tags: rdf javascript web ubiquity
8+
image: /blog/assets/images/ubiSechemticStep1.5.png
9+
---
10+
11+
Now, the [DOI ubiquity scripts](http://chem-bla-ics.blogspot.com/2008/09/ubiquity-fun-resolving-dois.html) I just blogged about,
12+
was just the beginning of things. Me exploring the environment and learning the JavaScript language.
13+
14+
I start to become really interesting when we use these technologies to improve things. I am still not sure people will like the
15+
command line nature, but at least I will be a happy user. This is the setting: I'm blogging about some chemistry, like to add an
16+
InChI (or InChIKey) and add that [cool sechemtic markup](http://chem-bla-ics.blogspot.com/2006/12/including-smiles-cml-and-inchi-in.html)
17+
people have been blogging about, but I do not know (or want to know) the HTML details for that.
18+
19+
Well, no worries, no more. Here comes *sechemtic-inchi* ([installer here](http://blueobelisk.sourceforge.net/people/egonw/sechemtic-inchi.html))!
20+
21+
## Step 1
22+
23+
I type in the InChI I want in my blog (example showing that of [methane](http://en.wikipedia.org/wiki/Methane)):
24+
25+
![](/blog/assets/images/ubiSechemticStep1.png)
26+
27+
And, I select the InChI:
28+
29+
![](/blog/assets/images/ubiSechemticStep1.5.png)
30+
31+
After which I hit the Ubiquity shortcut (ALT-SPACE on Linux) and I type *sechemtic-inchi*:
32+
33+
![](/blog/assets/images/ubiSechemticStep2.png)
34+
35+
And, viola, there is my RDFa HTML code for chemistry:
36+
37+
![](/blog/assets/images/ubiSechemticStep3.png)
38+
39+
Now, with only minor amounts of fantasy, you can imagine where this is going: SMILES, InChiKey, etc, etc. Hook it up with
40+
[chemistry webservices](http://rguha.wordpress.com/2008/08/30/ubiquity-and-chemical-information/) to autoconvert
41+
SMILES to InChIKeys, and Bob's your uncle.
13 KB
Loading
22.7 KB
Loading
28.4 KB
Loading
21.3 KB
Loading

0 commit comments

Comments
 (0)