LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  May 2002

ZNG May 2002

Subject:

Re: [Ex-plain] SRW Explain Record

From:

Robert Sanderson <[log in to unmask]>

Reply-To:

Z39.50 Next-Generation Initiative

Date:

Tue, 14 May 2002 17:02:27 +0100

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (65 lines)

> Finally comes the defaults section.  Default values for all the search
> parameters are specified as well as the default record schema, default index
> set (what happens when an index prefix is not provided) and the default
> index (which happens to come from a different index set than the default
> index set.)

Why have a defaults section which just repeats the data above, when you
could have a default attribute on the data itself?


> <?xml version="1.0" encoding="UTF-8" ?>
> <searchRetrieveResponse xmlns="urn:z3950:ZNG_Prototype1">
>       <explainRecord>
>               <database name="ETDCAT Something about a Dissertation
> Catalog"
>                       baseURL="http://levan-r:8080/SRW/etdcat">
>                       A subset of the 3.5 million dissertation records in
> OCLC's WorldCat database
>                       </database>
>               <adminEmail url="mailto:[log in to unmask]" />

ZeeRex already handles all of this, although not in the exactly the same
way.


>               <recordSchemas>
>                       <recordSchema name="dc"
> urn="http://dublincore.org/documents/2001/09/20/dcmes-xml/dcmes-xml-dtd.dtd"
>                       </recordSchemas>

Our recordSyntax/elementSet elements.


>               <indexSets>
>                       <indexSet name="zxd"
> urn="http://lcweb.loc.gov/z3950/agency/indexSets/zxd">
>                               <index name="title" />
>                               <index name="titleWords" />
>                               <index name="author" />
>                               <index name="authorWords" />
>                               </indexSet>

Indexset, index and name. (with Map, to distinguish it from title, etc)

>               <defaults>
>                       <startRecord value="1" />
>                       <maximumRecords value="10" />

Is startRecord useful information? When would a server not default to the
first record apart from with a sadistic or malicious administrator? :)

The only thing that we don't already do is maximumRecords, which I assume
is the max records that it can return in a single response. Which isn't
really a 'default' value that could be overridden?

Rob

--
      ,'/:.          Rob Sanderson ([log in to unmask])
    ,'-/::::.        http://www.o-r-g.org/~azaroth/
  ,'--/::(@)::.      Special Collections and Archives, extension 3142
,'---/::::::::::.    Twin Cathedrals:  telnet: liverpool.o-r-g.org 7777
____/:::::::::::::.              WWW:  http://liverpool.o-r-g.org:8000/
I L L U M I N A T I

Top of Message | Previous Page | Permalink

Advanced Options


Options

Error during command authentication.

Error - unable to initiate communication with LISTSERV (errno=111). The server is probably not started.

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager