DOI links in webofknowledge.com

DOI Logo
After a long period of absence, it is time to share a new tweak with you. Enjoy.

Literature research has become very easy during the last decade: using databases of scientific journals you barely have to leave your office searching for some particular information. However it is not as comfortable as it could be.

I’m a happy user of the digital object identifier (DOI) which links published documents with a unique identifier-string. The publishers website for the requested document can then be found easily by resolving the DOI on http://dx.doi.org.

About including the DOI-link in you biblatex bibliographies to provide an easy access to your references, I’ve written some time ago. Now I want to share some script to include the DOI link on the website of the popular scientific search engine worldofknowledge.com. Unfortunately they are providing the DOI in they article summaries, but do not link with dx.doi.org, so you have to copy and paste it there manually to access the article. Crap! With a simple greasemonkey userscript you can drop that an have the link directly added to your locally shown webofknowledge website. Here’s the code:

// ==UserScript==
// @name        DOI links for webofknowledge.com
// @namespace   Henning Hollermann
// @description DOI links for webofknowledge.com
// @include     *.webofknowledge.com/full_record.do*
// @icon        https://images.webofknowledge.com/WOKRS5132R4.2/images/trlogo.png
// @version     1.0
// @grant       none
// ==/UserScript==

/*
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    For any comments mail to laclaro@mail.com
*/

var doiResolver = "http://dx.doi.org/";
var doi = "";
var elements = document.getElementsByClassName("FR_label");
for (let FR_labelNode of elements) {
    if (FR_labelNode.innerHTML.match(/DOI:\s*/)) {
        doi = FR_labelNode.parentNode.children[1].innerHTML
        FR_labelNode.parentNode.children[1].innerHTML = "<a href=" + doiResolver + doi + ">" + doi + "</a>";
    }
}

This is it. A short block of javascript, which now has to be installed as a new userscript in your browser. In chrome you can use the script even without any extension, but you should use Tampermonkey to manage them more easily. To test the script, access e.g. the article on the ball lightning observation and notice that the DOI has now got a link to resolve the identifier. Happy research, comments welcome!

About

Peter Pan. Kann fliegen mit Feenstaub.

Tagged with: , , , ,
Posted in Technik, Wissen und Wissenschaft
3 comments on “DOI links in webofknowledge.com
  1. Adoa says:

    My newest discovery is Zotero. It does an unbelievable amount of Magic™. You should have a look!

  2. laclaro says:

    Yes indeed! I do use this greasemonkey script with zotero.

  3. […] You can do that either by using the URL directly or resolve the digital object identifier (DOI) via dx.doi.org. DOIs are very useful, if you can get them. See e.g. this article. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Posts by topic…
…by month
Have a look at…


%d bloggers like this: