Main

April 19, 2011

Content Negotiation for CrossRef DOIs

So does anybody remember the posting DOIs and Linked Data: Some Concrete Proposals?

Well, we went with option "D."

From now on, DOIs, expressed as HTTP URIs, can be used with content-negotiation.

Let's get straight to the point. If you have curl installed, you can start playing with content-negotiation and CrossRef DOIs right away:

curl -D - -L -H   "Accept: application/rdf+xml" "http://dx.doi.org/10.1126/science.1157784" 

curl -D - -L -H   "Accept: text/turtle" "http://dx.doi.org/10.1126/science.1157784"

curl -D - -L -H   "Accept: application/atom+xml" "http://dx.doi.org/10.1126/science.1157784"

Or if you are already using CrossRef's "unixref" format:

curl -D - -L -H "Accept: application/unixref+xml" "http://dx.doi.org/10.1126/science.1157784" 

This will work with over 46 million CrossRef DOIs as of today, but the beauty of the setup is that from now on, any DOI registration agency can enable content negotiation for their constituencies as well. DataCite- we're looking at you ;-) .

It also means that, as registration agency members (CrossRef publishers, for instance) start providing more complete and richer representations of their content, we can simply redirect content-negotiated requests directly to them.

We expect that that this development will round-out CrossRef's efforts to support standard APIs including OpenURL and OAI_PMH and we look forward to seeing DOIs increasingly used in linked data applications.

Finally, CrossRef would just like to thank the IDF and CNRI for their hard work on this as well as Tony Hammond and Leigh Dodds for their valuable advice and persistent goading.







December 3, 2008

Ubiquity commands for CrossRef services

So the other day Noel O'Boyle made me feel guilty when he pinged me and asked about the possibility using one of the CrossRef APIs for creating a Ubiquity extension. You see, I had played with the idea myself and had not gotten around to doing much about it. This seemed inexcusable- particularly given how easy it is to build such extensions using the API we developed for the WordPress and Moveable Type plugins that we announced earlier in the year. So I dug up my half-finished code, cleaned it up a bit and have posted the results.

Note that the back-end that supports the plugins has been moved to more stable machines and the index is now being automatically updated with journal and conference proceeding deposits (sorry, no books yet).

Also note that we are hoping that others will look at the code for the WordPress, Moveable Type and Ubiquity plugins and create more such extensions. If you do, please let us know about them at citation-plugin@crossref.org.

February 20, 2007

Kay Sera Sera

Not specifically publishing-related, but here is a fun rant interview with Alan Kay titled The PC Must Be Revamped—Now.

My favorite bit...

"...in the last few years I've been asking computer scientists and programmers whether they've ever typed E-N-G-E-L-B-A-R-T into Google-and none of them have. I don't think you could find a physicist who has not gone back and tried to find out what Newton actually did. It's unimaginable. Yet the computing profession acts as if there isn't anything to learn from the past, so most people haven't gone back and referenced what Engelbart thought. "

February 19, 2007

Stick this in your pipe...

Rob Cornelius has a practical little demo of using Yahoo! pipes against some Ingenta feeds.

Like Tony, I keep experiencing speed/stability problems while accessing pipes so I haven't yet become a crack-pipes-head.

October 12, 2006

Ruby Makes A-List

Um, well. Seems according to O'Reilly Ruby that Ruby is now a mainstream language.

"The Ruby programming language just made the A-list on the TIOBE Programming Community Index, and Ruby is now listed as a mainstream programming language. For the past three or four years Ruby has consistently placed in the high 20’s in this index, but is now placed as the 13th most popular programming language!"

(No language wars, but I am, I will confess, a big admirer - for some time.)