Tuesday, August 29, 2006

Extracting DOIs



DOIs are pretty cool, so I spent a little time this evening working out how to extract DOIs from Google Scholar results for journals hosted by Springer, JStor, and J-Stage I've also added code to extract Serial Item and Contribution Identifiers (SICIs) from JSTor URLs. SICI is NISO standard Z39.56.

The point of this exercise is to try and get DOIs for as many articles as possible, because DOIs are the GUID of choice for publications, and we can extract metadata for a DOI, either directly using CrossRef's OpenURL resolver, or via Connotea. This will make life easier for the next step, namely aggregating literature into a triple store.

Wednesday, August 09, 2006

Add to Connotea

Finally go around to adding a "Add to Connotea" button to the Google Scholar results, based on code from Postgenomic. The code is a simple bit of Javascript:


<a style="cursor:pointer;" onclick="javascript:
u='http://dx.doi.org/10.1111/j.1744-7429.2005.37_04_01.x';
a=false;
x=window;
e=x.encodeURIComponent;
d=document;
w=open('http://www.connotea.org/addpopup?continue=confirm
&uri='+e(u),'add','width=660,height=300,scrollbars,resizable');
void(x.setTimeout('w.focus()',200));">
<img src="images/connotea.png" border="0"
alt="add bookmark to connotea" align="absmiddle"></a>


where http://dx.doi.org/10.1111/j.1744-7429.2005.37_04_01.x is the URI of the article being added.

Now a click brings up Connotea and you can add a paper you've found using iSpecies. At present this only works for papers where I've extracted a DOI.