--- layout: post status: publish published: true title: Implementing COinS wordpress_id: 22 wordpress_url: http://new.martineve.com/?p=22 date: !binary |- MjAxMC0wMy0yNyAxMjowODowMCArMDEwMA== date_gmt: !binary |- MjAxMC0wMy0yNyAxMjowODowMCArMDEwMA== categories: - Technology - Open Access tags: - COinS comments: [] ---
After the Vitae Digital Researcher workshop at the British Library, I decided to ramp up my web presence to a slightly more professional level than it had previously obtained. Having also decided that it would be nice to take a bit of a break this weekend, I went ahead and implemented COinS on my main web page. Although, at present, my publication list is somewhat insubstantial, as this grows it will be possible for anyone who visits to automatically import my conference papers and publications into social citation software such as Zotero, Mendeley and CiteULike. COinS works by embedding a span tag inside your document that describes the data being visually presented. The full specification is at http://ocoins.info/ However, I anticipate that this will merely end up scaring quite a few people off, so here's a quick example that makes it much easier to digest. There's also an automatic generator at http://generator.ocoins.info, although this won't do conference papers, which is what I will show below.
The example!
On my site, I have the following code embedded:
{% highlight html %} <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rfr_id=info%3Asid%2Focoins.info%3Agenerator&rft.btitle=%27It+sure%27s+hell+looked+like+war%27%3A+Terrorism+and+the+Cold+War+in+Thomas+Pynchon%27s+Against+the+Day+and+Don+DeLillo%27s+Underworld%27&rft.creator=Martin+Paul+Eve&rft.publisher=Maria+Curie-Sklodowska+University&rft.date=2010-06-09&rft.format=Conference+Paper&rft.source=IPW+2010%3A+Of+Pynchon+And+Vice%3A+America%27s+Inherent+Others&rft.genre=conference">'It sure's hell looked like war': Terrorism and the Cold War in Thomas Pynchon's <i>Against the Day</i> and Don DeLillo's <i>Underworld</i>' (forthcoming, <i>IPW 2010: Of Pynchon And Vice: America's Inherent Others</i>, Maria Curie-Sklodowska University, Lublin, Poland)</span> {% endhighlight %}What does this do?
Well, to start at the end, the last portion "'It sure's hell looked like war': Terrorism and the Cold War in Thomas Pynchon's <i>Against the Day</i> and Don DeLillo's <i>Underworld</i>' (forthcoming, <i>IPW 2010: Of Pynchon And Vice: America's Inherent Others</i>, Maria Curie-Sklodowska University, Lublin, Poland)" simply displays the name of the paper.
The portion before is also, not really, so hard to explain.
To get a human readable version, replace in the above the following:
<space> --> %20So, the title attribute actually reads (with [ENTER] inserted after each &):
{% highlight html %} ctx_ver=Z39.88-2004&Now, it becomes a bit clearer what's going on. There are a set of key/value pairs specifying each bibliographic aspect.
Let me run through each key.
{% highlight html %} ctx_ver=Z39.88-2004& {% endhighlight %}This simply tells the parser (Zotero etc.) the version of the metadata format that we are using.
{% highlight html %} rft_val_fmt=info=ofi/fmt=kev=mtx=book& {% endhighlight %}This specifies that the type of publication is a "book". For conference papers, use this and then set the genre (see below).
{% highlight html %} rfr_id=info=sid/ocoins.info=generator& {% endhighlight %}Another piece of data purely for the automated parsers; it should be there, but you don't need to worry about it.
{% highlight html %} rft.btitle='It sure's hell looked like war'= Terrorism and the Cold War in Thomas Pynchon's Against the Day and Don DeLillo's Underworld'& {% endhighlight %}The title of your stunning research. btitle stands for book title.
{% highlight html %} rft.creator=Martin Paul Eve& {% endhighlight %}The name of the author.
{% highlight html %} rft.publisher=Maria Curie-Sklodowska University& {% endhighlight %}The name of the publisher.
{% highlight html %} rft.date=2010-06-09&The format of the piece.
{% highlight html %}The conference at which the paper was given.
{% highlight html %} rft.genre=conference {% endhighlight %}Finally, specify genre to conference to say that, in reality, it's not a book.
There, demystified. Now, when you visit the page, Zotero or CiteULike should be able to parse the information making you 10x more citable!
I have only tested this example in Zotero and, at present, it is not possible using COinS to get the information about place and conference name into the software (see: http://forums.zotero.org/discussion/439/coins-conference-papers-imported-incorrectly-by-zotero/). I have included it in the example purely for future proofing.
Photograph for this post is licensed as Attribution-Non-Commercial-Share Alike 2.0 Generic by "Here's Kate" at http://hereskate.com/blog You must credit the original author, not me, if you re-use it.