OAI-PMH in XQuery

Posted by Michael Giarlo on September 25, 2007

I seem to be having issues successfully submitting comments to certain WordPress blogs lately — or perhaps Akismet has finally decided to (rightly) classify my comments are spam? Anyone know of any Firefox / WordPress comment bugs? My comments seem to be submitted — there are no errors — and Firefox winds up on a link like "http://example.org/blog/foo-bar-whatever/#comment-12309". Any ideas? At any rate, I'm left to comment via trackback for now.

Thanks for the nod, Winona. Hopefully you folks will get some good use out of the XQuery-based OAI-PMH data provider I've been working on.

I just want to clarify that only one small bit of the code is specific to X-Hive, and that's a call to an extension that gets last-modified dates from the X-Hive service. We do not reliably store this information in the metadata itself, and so I needed to go this route. Some folks do store this in MODS or elsewhere in descriptive or administrative metadata. It should be a two-line change to short-circuit this behavior (xhive-exts:last-update() is only invoked in two places, I believe).

I'm currently working on adding EAD support, modularizing things a bit more, and streamlining configuration. resumptionTokens will come after that, I hope.

I'll be interested to hear more of UVM's implementation and how I can make this thing more useful to others.

unAPI, COinS-PMH, OpenSearch support

Posted by Michael Giarlo on March 02, 2006

I've decided to use this blog partly to write about work-related points of interest but also to futz around with blogging technologies and such. 

Thanks to a couple of very helpful posts and some neat WordPress hacks

http://www.wallandbinkley.com/quaedam/?p=59 
http://www.wallandbinkley.com/quaedam/?p=50 

Technosophia is now unAPI-1.0- and COinS-PMH-compliant!  Under each post there are shortcut links to view the Dublin Core, MODS, and other unAPI formats (should I add them in at a later date).

It started dawning on me today just how useful unAPI might turn out to be, mostly because I re-read Dan Chudnov's slides for the first time seeing his talk live at code4libCon '06.

Addendum the first: This is also OpenSearch 1.1-compliant, thanks to: http://www.williamsburger.com/wb/archives/opensearch-v-1-1.  Excellent.

Addendum the second: I'm also PURL-friendly - http://purl.org/maint/linkpurl.html.  Well, at least if you have a friendly client (read: not IE).