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

Re: [Handle-info] Editing location weight attributes



You can assign any type to a handle value.  Using hdl-admintool, click the "Add..." button then "Add Blank Value".  Now you can enter 10320/loc as the type and the XML you want as the UTF-8 data of the handle value.

10320/loc is intended as a more flexible replacement for multiple values of type URL.  You can have multiple values of type URL, but you cannot assign them weights.    I expect "showurls" is showing you that the URL values are treated as having weight 0?  That's just showing their behavior for proxy resolution, not an actual attribute of the handle value.

10320/loc should give you the behavior you want.  Tell me the handle that you tried to create with a 10320/loc value, and I will look and see why it is not working for you.

Robert

> On Sep 11, 2017, at 11:22 PM, Brian Sheppard <brian.sheppard@wisc.edu> wrote:
> 
> I’m really more interested in how those values are assigned or edited, for purposes of testing.
> 
> I don’t see an option to assign "10320/loc” value types to handle index values via the Handle Tool. (I haven’t looked at the API docs in this regard.) And the docs imply 10320/loc behavior should apply to multiple index values of type URL — or at least, the weight attributes for such handles are available via the ‘showurls’ action parameter.
> 
> What I’m aiming for is to have a handle with multiple URL values that resolves to either a default URL, or to one of the other URL values based on some supplied parameter (index value, locatt value pair, etc). So the default resolution is to url X, but urls Y and Z are options *if* you specify them.
> 
> I did try adding "10320/loc” as a customized value type, with no effect.
> 
> Thanks for the follow-up.
> B-
> 
> 
> 
>> On September 11, at 9:46 PM, Robert R Tupelo-Schneck <schneck@cnri.reston.va.us> wrote:
>> 
>> Location weights are given in the data of a 10320/loc handle value, which is XML.  You should see that in the JSON representation.  Let me know which handle and what you see instead.
>> 
>> Robert
>> 
>>> On Sep 11, 2017, at 1:23 PM, Brian Sheppard <brian.sheppard@wisc.edu> wrote:
>>> 
>>> Can these be added/deleted/edited via the Handle Tool 2.0?
>>> 
>>> I note that in the json representation for a handle with multiple URLs, these attributes don’t display. I can only see an XML representation via the action parameter.
>>> 
>>> Using HANDLE.NET® (version 8.1) Tech manual as my reference, along with the proxy server documentation:
>>> https://www.handle.net/proxy_servlet.html
>>> 
>>> Thanks for any insight.
>>> -Brian
>>> 
>>> —————————————————————————————
>>> Brian Sheppard
>>> UW Digital Collections Center
>>> brian.sheppard@wisc.edu
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Handle-Info mailing list
>>> Handle-Info@cnri.reston.va.us
>>> http://www.handle.net/mailman/listinfo/handle-info
>> 
> 
> _______________________________________________
> Handle-Info mailing list
> Handle-Info@cnri.reston.va.us
> http://www.handle.net/mailman/listinfo/handle-info

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