OpenSearch and ZeroConf

Has anybody out there thought about advertising an OpenSearch service via ZeroConf-style wide-area DNS Service Discovery (DNS-SD)? A quick look at the DNS-SD SRV Service Types doesn't seem to indicate as such, and a search for "opensearch and dns-sd" or a search for "opensearch and zeroconf" mostly shows hits back to this blog.

I see three reasons for considering this:

  • Lets the discovery happen even when users are looking at one of your webapps or subdomains where you can't twiddle the HTML HEAD element (there are still plenty of these)
  • Lets a remote service find out more about the institution running your network (modulo "but I'm not on that network now" problem, which plain ol' zeroconf itself could help)
  • The more avenues for discovery the better

Er, those being "general reasons for anybody using OpenSearch to consider this". My own reasons extend these with more specifics about library-specific uses like metasearch and link resolvers, some details of which I've written up before.

One main drawback to all this is:

  • Browsers and javascript-in-browsers don't do DNS

...or, well, Safari and Konq do, but not IE (not without a plugin, and "First Install This Thingy" doesn't scale) and not Mozilla/Firefox. But then again we could always proxy that with a web service, yadda, yadda. See also mozilla bug 14328 and discussion.

Defining an SRV type would be pretty straightforward - it probably only needs a key pointing to the path of the OpenSearch description document, since that's what that's for.

Trackback URL for this post:

http://onebiglibrary.net/trackback/213

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <pre> <code> <img> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <form> <input> <span> <object> <embed> <br>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apache>, <bash>, <css>, <diff>, <dot>, <java>, <javascript>, <mysql>, <perl>, <php>, <python>, <rails>, <ruby>, <sql>, <xml>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Syndicate content

This site is Copyright (c) 2005-2008 by Daniel Chudnov. All rights reserved.

All opinions stated here are my own, and do not reflect those of my employer.