Ralph, I see how you do it, thanks, Bill
-----Original Message-----
From: LeVan,Ralph [mailto:[log in to unmask]]
Sent: 17 March 2004 15:56
To: [log in to unmask]
Subject: Re: Database URL in EchoedRequests
I've gotten around the problem completely without needing to echo the URL.
I've got a stylesheet client that does everything I need.
Try looking at http://alcme.oclc.org/srw/search/GSAFD
Ralph
> -----Original Message-----
> From: Oldroyd, Bill [mailto:[log in to unmask]]
> Sent: Wednesday, March 17, 2004 10:07 AM
> To: [log in to unmask]
> Subject: Re: Database URL in EchoedRequests
>
>
> Ralph,
>
> Have you worked out a solution to this problem ?. Not having
> the Database
> URL in the response makes it difficult to code a very thin
> client (i.e XSLT
> only), also it means that if the response becomes separated
> from the process
> that knows the URL used to generate this response, there is no way of
> knowing where the search was performed. For example if you
> save a response,
> without adding the URL to the response data, there is no
> means of knowing
> where the search was performed.
>
> Bill
>
> -----Original Message-----
> From: LeVan,Ralph [mailto:[log in to unmask]]
> Sent: 28 January 2004 18:02
> To: [log in to unmask]
> Subject: Database URL in EchoedRequests
>
>
> How do you guys feel about having the SRU server put the
> database URL into
> the EchoedRequest part of the response?
>
> There is no problem when I use forms. The problem is getting
> back to my
> starting point when I use anchors. Here's the scenario:
>
> I send in the URL: http://oclc.org/SRW/test and I get back an
> explainResponse which gets rendered into a search screen.
> The search screen
> has a form with no action attribute in it. That causes the
> browser to send
> the form back to the same URL as before and my search works
> perfectly. I
> get a searchRetrieveResponse which is rendered into a results
> screen. Now,
> I'd like an anchor that points me back to the search screen.
> But if I use
> <a>Home</a>, I get sent back to http://oclc.org/SRW. The
> browser thinks
> that "test" was a document in directory SRW and uses that
> directory as the
> base URL for the anchor href.
>
> Now, I can get around this by replacing <a href="">Home</a> with <form
> method="get"><input type="submit" value="Home"></form>, but
> that's just a
> little clumsy. The cleaner mechanism would be to have the
> server echo back
> the base URL. Then generated HTML could actually use a
> <base> element.
>
> Not a show stopper, just a thought.
>
> Ralph
>
>
> **************************************************************
> ************
>
> Experience the British Library online at www.bl.uk
>
> Adopt a Book this season ! Help the British Library conserve
> the world's
> knowledge. www.bl.uk/adoptabook
>
> **************************************************************
> ***********
>
> The information contained in this e-mail is confidential and
> may be legally
> privileged. It is intended for the addressee(s) only. If you
> are not the
> intended recipient, please delete this e-mail and notify the
> [log in to unmask] : The contents of this e-mail must not be
> disclosed or
> copied without the sender's consent.
>
> The statements and opinions expressed in this message are those of the
> author and do not necessarily reflect those of the British
> Library. The
> British Library does not take any responsibility for the views of the
> author.
>
> **************************************************************
> ***********
>
**************************************************************************
Experience the British Library online at www.bl.uk
Adopt a Book this season ! Help the British Library conserve the world's
knowledge. www.bl.uk/adoptabook
*************************************************************************
The information contained in this e-mail is confidential and may be legally
privileged. It is intended for the addressee(s) only. If you are not the
intended recipient, please delete this e-mail and notify the
[log in to unmask] : The contents of this e-mail must not be disclosed or
copied without the sender's consent.
The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the British Library. The
British Library does not take any responsibility for the views of the
author.
*************************************************************************
|