OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [search-ws] proposal regarding stylesheet and http:accept parameters


I think this is a fine idea.  I’m not sure it is worth codifying in the standard, but would make a fine example somewhere in the body of the text.

 

Ralph

 

From: Ray Denenberg, Library of Congress [mailto:rden@loc.gov]
Sent: Friday, May 08, 2009 10:35 AM
To: search-ws@lists.oasis-open.org
Subject: [search-ws] 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]