« Mumbai | Main | AJAX and Web interfaces »

SRW: Compatibility vs. Compliance

A9The OpenSearch protocol developed as part of Amazon’s A9 has been pretty much dismissed by the SRW community as just being too limited to be of interest.  The idea of SRW was to make the functionality of Z39.50 available in a web-friendly manner.  Evidently A9 didn’t think it was quite friendly enough, and has come out with a simpler protocol, quite cleverly built on top of RSS, for easy access via news readers.

To me, however, OpenSearch looks like it might be very appealing to something like the NISO Metasearch Initiative, which just had a meeting in Chapel Hill.  OpenSearch has the feeling of the sort of thing where 'simple wins' and those with more complex technologies ignore it at their peril.

Is there a middle ground here?  Something that is compatible with SRU, but closer to A9?  Our Metasearch representative, Ralph LeVan thinks so and has offered to develop guidelines to make this happen.  The catch is that what is being proposed, while compatible with SRU, is not SRU compliant.  According to Ralph, there is some reluctance on the part of those developing SRW to embrace anything less than full compliance, but we argue that not only would the proposed simplification of SRU be a step forward from the screen-scraping that Metasearchers engage in, it is a step in the right direction, in that extending the services to full SRW compliance wouldn’t break anything.

Here are two from the A9 search query page:

>http://www.koders.com/?s={searchTerms}&p={startPage}&output=rss

>http://beta.indeed.com/opensearch?q={searchTerms}&start={startIndex}&limit={count}

To me those two examples look incompatible, but maybe the '?s' in the first should have been '?q'.

Here's an SRU search:

>http://alcme.oclc.org/srw/search/ORPublications?query=”levan”&recordPosition=1&maximumRecords=10

The SRU example looks simple enough, although it won’t come back as RSS automatically.

So what’s not compliant about the proposal?  No explain record is required and neither is support for even simple CQL (the Common Query Language that SRW/SRU queries are expressed in).

I’ve argued in the past (with only moderate success) that if you are doing something that is similar to an OpenURL request you really should put it in the OpenURL syntax, even if you aren’t bringing up a full OpenURL server.  It gives you a natural path for future development, avoids incompatibilities and you don’t have to spend time developing yet-another funky syntax.

--Th

Comments

Take your point about the apparent incompatibilities between the URL syntaxes, but that's where A9's OpenSearch Description Document comes in to play.

Under the hood the implementations maybe different [I would also love consistency, unfortunately reality doesn't often work out like that] but by reading the description document from the search service provider A9, and any other OpenSearch client, will understand how to interoperate with it.

NISO Metasearch Collection & Service descriptions I hear you shout. Well yes but can you see Amazon going down that road? Neither can I, and the Amazoogles are much better Internet Pied Pipers than the Libraries are.

Post a comment

Comments are moderated, and will not appear on this weblog until the author has approved them.

If you have a TypeKey or TypePad account, please Sign In

My Photo

July 2008

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31