Blog

Yer Basic One-Liner

thammond

thammond – 2008 October 14

In Handle

Here’s your basic one-line handle client (all of it) for the browser: OpenHandle.Util().getHandleData("10.1038/nature05826", function(data) { alert(OpenHandle.Util().helloWorld(data)); }); Can’t see how to make that much shorter (bar tossing spaces). But here’s one attempt (shorter though now it’s not strictly a one-liner): var u = OpenHandle.Util(); u.getHandleData("10.1038/nature05826", function(_) { alert(u.helloWorld(_)); }); Here I’ve used two utility convenience methods from the OpenHandle client library: OpenHandle.Util().getHandleData(handle, callback, [server]) OpenHandle.Util().helloWorld(JSON) You will though need to include a couple of libraries: openhandle.

OpenHandle JavaScript API

thammond

thammond – 2008 October 08

In Handle

(Click figure for PDF.) I just posted updated versions of the OpenHandle JavaScript Client Library (v0.2.2) and Utilities (v0.2.2) to the project site. Mainly this post is just by way of saying that there’s now a “cheat sheet” for the API (see figure above, click for PDF) which will give some idea of scope. The JavaScript API attempts to reflect the Java Client Library API for Handle data structures, and has in excess of 100 methods.

Handle Clients #1, #2, #3

thammond

thammond – 2008 October 01

In Handle

Three alternate clients for viewing a Handle (or DOI): #1 (sky - text), #2 (black - tuples), #3 (white - cards) - the image above is “clickable”. When Handle clients become JavaScript-able, one really can have it one’s own way. (The JavaScript library is here, the demo service interface here - the code for setting up a new service interface can be got from the OpenHandle project.)

The Last Mile

thammond

thammond – 2008 October 01

In Handle

The figure above (click to enlarge) is probably self-explanatory but a few words may be in order. With no end-to-end delivery of data from the Handle System to the user’s application (broswer or reader), getting data out of the Handle System has traditionally meant using the Web (ie. HTTP) as a courier - in effect, this is the “last mile” for Handle data. Typically an upstream (Handle) client provides services to the user.

Look Ma, No Plugins!

thammond

thammond – 2008 September 22

In Handle

var f = function (OpenHandleJson) {   var h = new OpenHandle(OpenHandleJson);   var hv = h.getHandleValues();   for (var i = 0; i < hv.length; i++) {     var v = new HandleValue(hv[i]);     if (v.hasType(‘URL’)) {       print(v.getData());     }     else if (v.hasType(‘HS_ADMIN’)) {       var a = new AdminRecord(v.getData());       print(a.getAdminPermissionString())     }   } } "And that, gentlemen, is how we do that." - Apollo 13 Following on from my earlier Client Handle Demo post, this entry is just to mention the availability of a port of (part of) the Handle client library (in Java) to JavaScript: openhandle-0.

Crossref is hiring an R&D software engineer

Geoffrey Bilder

Geoffrey Bilder – 2008 September 18

In News Release

Crossref is hiring an R&D software engineer to work in our Oxford office. This is a fantastic opportunity to work on wide range of projects that promise to revolutionize scholarly publishing.

Multiple Resolution

thammond

thammond – 2008 August 22

In Multiple Resolution

I’ve been meaning for some time to write something about DOI and so-called “Multiple Resolution”, which to be honest is the only technology feature of any real interest as concerns DOI. (DOI as a business and social compact for guaranteeing name persistence of Web resources has been an extraordinarily successful venture in the academic publishing world with more than 32m items registered and maintained over eight years of operation but that may not have required any specialized technology. More a consensus to adopt a single location service in the DOI proxy.)

Multiple resolution, though. Now, that’s something else. Seems like it should be able to offer a lot of general funkiness and yet it has not been much used up to now. And I have to wonder why.

(Continues below.)

mod_prism (Updated)

thammond

thammond – 2008 August 21

In RSS

I’ve just put up for comment a revised mod_prism (0.3) of the existing mod_prism RSS 1.0 module. This is now updated to the current PRISM version (v2.0) which was released in February ’08 and reissued with Errata in July ’08. The current mod_prism draft is registered here and hosted on the PRISM site here. The new draft charts all (five) versions of the PRISM specification (v1.0-v2.0) and maps PRISM terms to RSS 1.

Search Web Services - New Committee Drafts

thammond

thammond – 2008 July 29

In Search

As posted here on the SRU Implementors list, the OASIS Search Web Services Technical Committee has announced the release of five Committee Drafts, informally known as: Abstract Protocol Definition (APD) Binding for SRU 1.2 Auxiliary Binding for HTTP GET CQL 1.2 Binding for OpenSearch Links to specific document formats are given at the bottom of the mail. A list of the TC public documents is also available here.

Does Size Matter?

thammond

thammond – 2008 July 28

In Web

Interesting post from Google, in which they say: “Recently, even our search engineers stopped in awe about just how big the web is these days — when our systems that process links on the web to find new content hit a milestone: 1 trillion (as in 1,000,000,000,000) unique URLs on the web at once!” Puts Crossref’s 32,639,020 unique DOIs into some kind of perspective: 0.0033%. But nonetheless that trace percentage still seems to me to be reasonably large, especially in view of it forming a persistent and curated set.
RSS Feed

Recent Posts

Blog

2019 August 29

2019 election slate

2019 August 23

Archives