Import from Italian Library National Service

CharlasBug Collectors

Únete a LibraryThing para publicar.

Import from Italian Library National Service

1benedetto.abate
Editado: Feb 1, 2022, 11:19 am

Whenever I want to import a record from the SBN Opac, LT presents me only an item, however indicating the total number, in the result of the search. And it obviously allows me to import only this book.
While trying with other search options this problem of truncating the selectable results does not occur.
Thanks in advance.
Lorenzo

2bnielsen
Editado: Feb 1, 2022, 3:18 pm

Italian National Library Service = opac.sbn.it:3950/nopac
I just get timeout error, not even a single book.

Searching for "bible" from inside the LT interface, gives "Error: system error".

>1 benedetto.abate: Could you give us an example that results in a result?

3lesmel
Feb 1, 2022, 4:12 pm

It looks like the port number changed for SBN. I've updated it. Please test again.

https://www.iccu.sbn.it/en/sbn/the-sbn-catalogue-opac/

4bnielsen
Editado: Feb 1, 2022, 5:47 pm

I still can't get it to return anything but an error message. According to this 3950 or 2100 should both work. Maybe they are just taking a break? :-) (BTW, their web search looks excellent! And functioning, and quick)

https://opac.sbn.it/opacsbn/opac/iccu/free-en.jsp?language=en&cs=n

OPAC SBN (On line Public Access Catalog of National Library Service) provides access to 18.979.834 bibliographic records, complete with 108.375.292 locations
(Updated 31/01/2022)
Z39.50 access to the opac SBN.

Target configuration:
Address: opac.sbn.it
Port: 2100 or 3950
DB Name: nopac
Record syntax: SUTRS, UNIMARC o MARC21 (on either ports)
attributes set: Bib-1 (part of)
character-set: UTF-8

5lilithcat
Feb 1, 2022, 5:50 pm

I just tried it. It seems to work using the ISBN as the search term, but not if I use the title.

6lesmel
Feb 1, 2022, 9:44 pm

It definitely was working with ISBN when I changed the port number to 2100. Port 3950 wasn't working when I tried ISBN.

7bnielsen
Feb 2, 2022, 12:29 am

>5 lilithcat: Searching for one of my books on Roma: 8845179532 works.

8.mau.
Feb 2, 2022, 3:35 am

I use a lot Italian National Library Service as a source for adding books, but I always search for ISBN so I never noticed this bug - one result is usually enough :-)

I just tried with my name-and-surname: https://opac.sbn.it/opacsbn/opac/iccu/free.jsp returns 18 results for Maurizio Codogno, LT gives only one - https://www.librarything.com/work/27708006/book/212060225 - which by the way does not even contain "Maurizio". Still worse, a search for "codogno" alone returns 0 results. There is something wrong: unfortunately I don't know anything about the API for the system. If really necessary, I can hunt for somebody knowledgeable, but I don't guarantee anything.

9benedetto.abate
Editado: Feb 2, 2022, 4:54 am

For example, my next book in LT:
Tu mi scruti e mi conosci / Carlo Maria Martini

SBN Opac shows 13 results searching by title

Lt input search:
ISBN: 1 result --> 1 book importable (1985 edition)
"Tu mi scruti e mi conosci": 13 results --> 1 wrong book importable
"Tu mi scuti e mi conosci" Martini: 10 results --> 1 book importable (2008 edition)
"Tu mi scruti" Martini: 10 results --> 1 book importable (1999 edition)

10bnielsen
Feb 2, 2022, 5:49 am

>8 .mau.: I often get several results for a single ISBN number, so always just getting one result would make me suspicious :-)

11.mau.
Feb 2, 2022, 6:48 am

>10 bnielsen: it could happen if for example two different libraries added the work independently , but from my own point of view (I just need a base source) it is not useful.

12francobes
Jul 13, 2022, 3:36 am

Adding books from Italian National Library Service still not working.
I can't identify the cause. Is there anyone who can ask technical help to egidio.incelli@cultura.gov.it or mariacristina.mataloni@cultura.gov.it?
Thx!

13kristilabrie
Jul 13, 2022, 10:55 am

>12 francobes: I'll email them to see if they have any ideas that can help.

14francobes
Jul 14, 2022, 9:57 am

>13 kristilabrie: Great. Thank you!

15ccatalfo
Editado: Jul 19, 2022, 7:29 am

Kristi contacted them and their server is up and running. I tried with some searches in yaz-client and they worked.

I'm suspecting I may need to adjust the configuration on the LT side to use a different index.

$ yaz-client opac.sbn.it:2100/nopac
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 81
Name : Metaproxy/YAZ
Version: 1.20.0/5.31.1 c3cea881e3e7e80b069ddd1429994e58841acb14
Options: search present scan namedResultSets
Elapsed: 0.447311
Z> format unimarc
Z> f @attr 1=4 codogno
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 362, setno 1
records returned: 0
Elapsed: 0.162321
Z> s
Sent presentRequest (1+1).
Records: 1
nopacRecord type: Unimarc
00724nam0 22002413i 4500
001 IT\ICCU\UBO\3684549
003 http://id.sbn.it/bid/UBO3684549
005 20090908091521.3
100 $a 20090908d2008 ||||0itac50 ba
101 $a ita
102 $a IT
181 1 $6 z01 $a i $b xxxe
182 1 $6 z01 $a n
183 1 $6 z01 $a nc $2 RDAcarrier
200 1 $a Comune di Codogno $e edizione 2008
210 $a Castelfranco Veneto $c Gruppo guide Italia $d 2008
215 $a 71 p. $c ill. $d 21 cm
300 $a Dalla cop.
312 $a Dal dorso $9 IT\ICCU\UBO\3684550
410 0 $1 001IT\ICCU\UBO\3374872 $1 2001 $a Guida del cittadino $v 42
517 1 $a Codogno $9 IT\ICCU\UBO\3684550
801 3 $a IT $b ICCU $c 20220711
899 $1 BO0304 $2 UBO GA $f P/G

nextResultSetPosition = 2
Elapsed: 0.161360

I will try that next - I suspect we'll get it working.

16ccatalfo
Editado: Jul 18, 2022, 11:56 am

Ok I think it's working now - forcing it to use the "ti" index which is about as close as we can get to keyword.

Also setting "present chunk" to true - and this one is not exposed in the Edit Library Sources interface so I had to do that one manually. (Maybe it should be.)

17bnielsen
Editado: Jul 18, 2022, 5:20 pm

>16 ccatalfo: (Maybe it should be.) Yes probably. Getting a few more parameters exposed might help us figure out some weird problems rather than just yell for you to come to the rescue :-)

(Hmm. Note to self: I have some old perl script I use for connecting, but I might have yaz-client installed too?

Yes. yaz-client was installed. Maybe it was put aside last time because I don't speak fluent yaz? :-)

18ccatalfo
Jul 19, 2022, 7:32 am

>17 bnielsen: Yeah, let me see if I can get that "present chunk" setting working in the Edit Library Sources interface. I did a quick check and out of several thousand libraries we have that flag set only for 156. So a pretty small percentange -- but sometimes it's just not going to work without that. So, yeah.

19.mau.
Feb 22, 2023, 4:14 am

I am not sure if it is better to reopen that bug or start a new one: please tell me what's better.

Anyway, I just tried to search for 9788829012671 on Italian SBN (Servizio Bibliotecario Nazionale, National Library Service) and I got 30938 results. Searching in Amazon.it gave me the correct book. Could it be that they changed the APIs?