[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: proposal regarding stylesheet and http:accept parameters
I have a proposal regarding the SRU stylesheet
and http:accept parameters.
The http:accept parameter can indicate sru, atom,
rss, html (or other) but in particular when it is html then the
client is saying in effect "format the results however you like and send back
html".
With the stylesheet parameter, the
client simply says "just send me back this url in the
<stylesheet> element" and presumably it is a stylesheet at the
client.
My proposal: if the client is requesting
html, and if the stylesheet parameter is also supplied (which given the current
semantics wouldn't make sense) let the stylesheet be at the server, and the
request is for the server to apply the stylesheet (assuming the SRU response format as input) and then send back
html.
Or, if you think that that overloads the stylesheet
parameter, create a new parameter. So there would be two stylesheet
parameters: localStylesheet and remoteStylesheet.
In any case I do think this functionality would be
useful, in the case when an html response is requested for the request to be
able to include a stylesheet at the server. (And if you are wondering if
there is a use case, LC would like to be able to do this right
now.)
--Ray
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]