List Info

Thread: Re: Simple interface to yaz-client




Re: Simple interface to yaz-client
user name
2007-02-01 21:54:05
Timothy Murphy wrote:

>I wonder if there is a simple interface
>(perhaps GUI, but that is not essential)
>which would let me type in an ISBN number,
>which would then be sent to LOC
>and the resulting MARC entry (or the main items in it)
>would appear neatly arranged on my screen?
>
>I know it is not difficult to do,
>but I'm rather lazy, and if someone else has done it
>I am not too proud to use their handiwork!
>
>My OS of choice is Linux, but again that is not
important.
>  
>
You can trivially script something like that using zoomsh
which comes 
with YAZ, e.g.

% zoomsh "connect z3950.loc.gov:7090/voyager"
"search attr 1=7 
1565928628" "set preferredRecordSyntax marc"
"show 0 1" quit

does what you want, depending on your definition of 'neatly
arranged'.

The LOC Z server supports different combinations of record
syntaxes 
(MARC and XML) and element set names, eg. mods and dc for
XML... the 
results can be run through a stylesheet or similar. The LOC
makes sample 
stylesheets available to generate a human-friendly
presentation formats 
from MARCXML at www.loc.gov/marcxml.

The Zoom interface is available in a number of programming
languages as 
well, so it'd be easy to script a simple web gui that does
what you want.

--Seb

-- 
Sebastian Hammer, Index Data
quinnindexdata.com   www.indexdata.com
Ph: (603) 209-6853 Fax: (866) 383-4485


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

[1]

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