[Yazlist] Pazpar2 Record command

Adam Dickmeiss adam at indexdata.dk
Mon Jan 12 15:33:07 CET 2009


Eric Bégin wrote:
> Thanks Jakub,
>
> Here is the command and warning that jsdemo is sending.  It looks valid 
> to me.  Maybe I'm missing something.
>
> 08:12:48-08/01 pazpar2 [log] Request: GET 
> /pazpar2/search.pz2?command=record&session=40&id=title%20coordinating%20the%20internet%20author%20medium%20book
> 08:12:49-08/01 pazpar2 [warn] HTTP 417 Record missing: title
>
> I run pazpar2 1.0.9 on Vista, compiled with Yaz 3.0.38.
>
>   
The URL decoding was broken on Windows for Pazpar2 1.0.9. Please upgrade 
to a newer version of Pazpar2.

/ Adam
> I don't know if this may be relevant, but I had to copy the pz2.js in 
> the same directory than jsdemo.js to make it works.
>
> Thanks again,
>
> Eric
>
> Jakub Skoczen wrote:
>   
>> Hi Eric,
>>
>> On Thu, Jan 8, 2009 at 8:25 AM, Eric Bégin <Eric.Begin at inlibro.com> wrote:
>>   
>>     
>>> Hello,
>>>
>>> I was scratching my head over a way to pass the recid to the pazpar2
>>> Record command.
>>>
>>> My problem is caused by the spaces in those recid.  I finally though
>>> about trying it with the jsdemo sample and I saw that the same problem
>>> occurs.
>>>
>>> In jsdemo, when I click a title, I received the following warning:
>>>
>>> /01 pazpar2 [warn] HTTP 417 Record missing: title
>>>
>>> Anyone got this problem too?
>>>     
>>>       
>> No, I was not able to reproduce the problem you're talking about (in
>> jsdemo that is), fetching records works fine. Anyways, the spaces in
>> the recid should not cause any problems - you simply take the string
>> as it is and URL encode it before sending as a parameter in the record
>> request.
>>
>>   
>>     
>>> Thanks,
>>>
>>> --
>>> Eric
>>>
>>> _______________________________________________
>>> Yazlist mailing list
>>> Yazlist at lists.indexdata.dk
>>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>>>
>>>     
>>>       
>>
>>   
>>     
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>
>   




More information about the Yazlist mailing list