[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] resolving to specific metadata types



Hi Richard,

This really depends on how you are resolving the handle. Are you using the Java API or do you want to know how to redirect a browser to different values using the handle proxy (http://hdl.handle.net)?

If you are using the proxy, you can tell hdl.handle.net to use certain parameters when it does its handle resolution, and querying for specific types of handles values is one way to do that. I don't think the "type" parameter (or any parameters for that matter) are officially supported by the proxy, but they do currently work. For example, you could do:
http://hdl.handle.net/123/456?type=XYZ


but that may not help you much since all the proxy does is pass the type through to the native handle resolver and display the result. If the type of any resulting handle values is "URL" or begins with "URL." then the proxy will send an HTTP redirect message back to the browser with the data part of the handle value as the destination URL. So you could add a handle value with a type of "URL.XML" to a handle and make links like the one above except with ?type=URL.XML.

I don't necessarily recommend using either "URL.XML" or "XML" as handle value types, and I would be very careful about any new types that you use since they are hard to change once links to them have been spread around. But hopefully you are referring to "real" resolution using the Java or C API in which you can be much more flexible. If that's the case, let me know what language you're using and I'll send an example.

Thanks,
Sean

On Feb 15, 2007, at 9:06 AM, richard wrote:

I would like to know what needs to be specified in the handle identifier to obtain specific types of metadata. For example, if handle 123/456 has 2 sets of data, one url and one XML, how would I specify that I want the XML ? 123/456/xml ?

Thanks,
Richard.

_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info

Attachment: smime.p7s
Description: S/MIME cryptographic signature