[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Handle-info] Handle Template resolvers
Thank you Robert.
I tried this earlier without much success
<namespace> <template delimiter="/"> <def parameter="URL"><value
data="https://svr/lookup/${extension}"/></def> </template> </namespace>
I tried your suggestion below. But when queried for 12345/abc I get
The handle you requested --
12345/abc
-- cannot be found.
I read the documentation but having "/"as a delimiter seems to be special
case. Any further help is much appreciated.
Thanks,
Karunakar
-----Original Message-----
From: Robert Tupelo-Schneck [mailto:schneck@cnri.reston.va.us]
Sent: 07 June 2013 22:54
To: Karunakar Neriyanuru
Cc: handle-info@cnri.reston.va.us
Subject: Re: [Handle-info] Handle Template resolvers
You can find information about this in Chapter 11 of the Handle Technical
Manual.
I haven't actually tried this, but a template like the following should
work:
<namespace>
<template delimiter="/">
<value index="1" type="URL" data="http://svr/lookup/${extension}"/>
</template>
</namespace>
Robert
On 2013-06-07, at 06:46 , "Karunakar Neriyanuru"
<karunakar.neriyanuru@csgsol.com> wrote:
> I am trying to create a template resolver for the base handle, say 12345/,
so that the template converts handles such as 12345/abc & 12345/efg to URLs
like http://svr/lookup/abc &http://svr/lookup/efg respectively.
>
> How can I do this?
>
> Thanks,
> Karunakar
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info