List Info

Thread: repackaging sru responses.




repackaging sru responses.
country flaguser name
United States
2007-04-13 15:10:06
Working with the yaz proxy - I want to
repackage the responses as valid RSS1.0, or atom.

But as I look at the style sheets, it seems as if each style
sheet gets 
one record at a time to process -
so I cannot generate the Rdf:List needed by RSS1.0; in fact,
I cannot 
process do any work in a style sheet
with yaz proxy that needs to package up the set of
responses.
So, at the moment, I have another proxy to do the list level
work.

Am I approaching this in the wrong way?
Thanks,
Rick

-- 
******************************
Enrico Silterra
Software Engineer
501 Olin Library
Cornell University
Ithaca NY 14853

Voice: 607-255-6851
Fax:     607-255-6110
E-mail: es287cornell.edu
http://www.librar
y.cornell.edu/cts/
"We must walk consciously only part way toward our
goal, and then leap in the dark to our success."  - -
Thoreau
******************************


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

Re: repackaging sru responses.
country flaguser name
Denmark
2007-04-16 03:15:31
Enrico Silterra wrote:
> Working with the yaz proxy - I want to
> repackage the responses as valid RSS1.0, or atom.
> 
> But as I look at the style sheets, it seems as if each
style sheet gets 
> one record at a time to process -

Correct. Record conversion XSLT stylesheets are workin on
one record a 
time. The SRU/SRW packaging (or Z39.50 packaging, for that
matter) are 
handles in low-level C-code in the YAZ libraries.

> so I cannot generate the Rdf:List needed by RSS1.0; in
fact, I cannot 
> process do any work in a style sheet
> with yaz proxy that needs to package up the set of
responses.
> So, at the moment, I have another proxy to do the list
level work.
> 
> Am I approaching this in the wrong way?

No, this is the very right way to do. Essentially, our YAZ
library 
speaks SRU/SRW and Z39.50, but not RSS or Atom, or OAI, or
..

Transforming into the other protocols means writing a web
server script 
  (in PHP, Perl, C-CGI ..) which parses the intended
protocol request, 
and makes a simple XSLT transformation for the response.

You are doing it the right way.

Marc Cromme, Index Data


> Thanks,
> Rick
> 


-- 

Marc Cromme
M.Sc and Ph.D in Mathematical Modelling and Computation
Senior Developer, Project Manager

Index Data Aps
Købmagergade 43, 2
1150 Copenhagen K.
Denmark

tel: +45 3341 0100
fax: +45 3341 0101

http://www.indexdata.com


INDEX DATA Means Business
for Open Source and Open Standards





_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )