From: Václav R. <xro...@gm...> - 2012-07-02 08:31:03
|
Hi Yes, I will look at the differences between my and Alan's driver and merge these changes. BTW, there will be VuFind hackathon/installfest in Czech Republic (date is open, but probably on 15th - 16th August) and there will participate at least three libraries with Exlibris Aleph, so I will have great opportunity to test Aleph driver. Vasek 2012/7/2 Katharina Wolkwitz <wol...@fh...>: > Hi all, > > we've had the same problems as Ranju while trying to get Vasek's aleph-driver to > work with our system, but when we switched to Alan Rykhus' version of the > aleph-driver (to be found here: http://vufind.org/jira/browse/VUFIND-561 ), all > those problems disappeared, and now we have very nice availability displays in > the result list as well as in the holdings-tab. > We had to do a small amount of work in order to get everything running as > wanted, but I remember that after fixing one error displayed in the > title-display suddenly the availablitiy-display in the holdings-tab showed lots > of lovely red and green information. :-) > > So - the important question for me is: > is Alans driver also ported to vufind 2.x? > > If that isn't the case, could Vasek and Alan please, please, please work > together on a combined standard aleph-driver for vufind 2.x? > > Greetings > Kate > > Am 27.06.2012 15:23 schrieb Ranju Upadhyay: >> Hi Vasek, >> >> The problem is still not solved even when I have disabled everything that has to >> do with X-server :-( >> >> Thanks >> Ranju. >> >> ----- Original Message ----- >> From: Václav Rosecký <xro...@gm...> >> Date: Wednesday, June 27, 2012 1:17 pm >> Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver >> To: Ranju Upadhyay <Ran...@nu...> >> Cc: vuf...@li... >> >> Hi >> >> 2012/6/27 Ranju Upadhyay <Ran...@nu... >> <javascript:main.compose('new', 't=Ran...@nu...')>> >> >> Hi Vasek, >> >> I have commented out the WWW-X user parameters in Aleph.ini i.e. it >> looks like this: >> >> >> ; WWW-X user - optional, if not set, X-server functionality will be disabled >> ;wwwuser = "YOUR-WWW-X-USER" >> ;wwwpasswd = "YOUR-WWW-X-USER-PASSWORD" >> >> >> So the problem with the availability on the long list is fixed now when you >> disabled the X-Server, doesn't it? >> >> >> >> Also when I look at the XML returned by the API, for the node, >> items/item/z30/z30-call-no the value is something like this : >> $$h782.421680943$$mFEH >> >> i.e. seem to return the format codes as well.And that is probably the >> reason why I see Call Number with formating code in the detailed view. >> How did you get yours to rerurn only the value? >> >> >> I don't know why Aleph returns the format codes as well, we don't have this >> problem. They are two simple solutions: >> >> - modifying Aleph driver to throw away the format codes from the callnumber >> - creating smarty plugin to throw away the format codes and >> override /RecordDrivers/Index/holdings.tpl to call your plugin when >> displaying callnumber >> >> Or you can fix it on the Aleph side. >> >> >> >> Apart from this I am still getting the notices in detailed view. >> >> >> I uploaded new version correcting the notices in a holdings view, it's >> available here: >> http://vufind.org/jira/secure/attachment/20270/aleph-vufind_v1.3_5.tar.bz2 >> >> >> >> >> Thanks >> Ranju. >> ----- Original Message ----- >> From: Václav Rosecký <xro...@gm... <javascript:main.compose('new', >> 't=xro...@gm...')>> >> Date: Wednesday, June 27, 2012 12:38 pm >> Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver >> To: Ranju Upadhyay <Ran...@nu... >> <javascript:main.compose('new', 't=Ran...@nu...')>> >> Cc: vuf...@li... <javascript:main.compose('new', >> 't=vuf...@li...')> >> >> > Hi Ranju >> >> > Strange, it should agree. In the long list if you don't have X-server >> it calls the getHolding function which is also called in the detail >> view, so I don't understand why it differs. >> > >> > Vasek >> > >> > 2012/6/27 Ranju Upadhyay <Ran...@nu...> >> >> > Hi Vasek, >> > >> > Ok I understand it slightly more now.Yes indeed we also have a >> node called items/item/status and its value (when available is ) >> "Not on loan" (meaning currently not on loan hence available).So >> when I use that value in available_statuses it does indeed return >> "available" instead of "10" in the detailed view.So some progress >> there :-) >> > >> > You can see the item here: >> > >> http://libaleph.nuim.ie:1891/rest-dlf/record/MAY01001600195/items/?view=full >> > >> > However in my long list it continues to give me the status of >> "checked out" when quick_availability is set to false( we don't have >> x-server only Restful API). >> > >> > Thanks >> > Ranju. >> >> > >> > ----- Original Message ----- >> > From: Václav Rosecký <xro...@gm...> >> > Date: Wednesday, June 27, 2012 11:45 am >> > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver >> > To: Ranju Upadhyay <Ran...@nu...> >> > Cc: vuf...@li... >> > >> > > Hi Ranju >> > > >> > > 2012/6/27 Ranju Upadhyay <Ran...@nu...>: >> > > > Hi Vasek, >> > > > >> > > > When I look at the XML returned by the RestfulAPI, it seem to >> be returning >> > > > the item status code rather than description i.e. in our case >> the node : >> > > > items/item/z30-item-status-code/ has value of 10 (which is the >> status code), >> > > > its description in Aleph GUI modules would be "Standard Loan". >> > > >> > > Yes, items/item/z30-item-status-code/ contains also number in >> our case. There is an example of our XML - items/item/status() is >> used for availability on the page with search results: >> > > >> > > <get-item-list> >> > > <reply-text>ok</reply-text> >> > > <reply-code>0000</reply-code> >> > > <items> >> > > <item >> href="http://aleph.mzk.cz:1891/rest-dlf/record/MZK01000000116/items/MZK50000000116000010"> >> > > <z30-sub-library-code>SK0</z30-sub-library-code> >> > > <z30-item-process-status-code/> >> > > <z30-item-status-code>31</z30-item-status-code> >> > > <z30-collection-code>SKL</z30-collection-code> >> > > <queue/> >> > > <z30> >> > > .... >> > > </z30> >> > > <z13> >> > > .... >> > > </z13> >> > > <status>On Shelf</status> <!-- Used for availability --> >> > > </item> >> > > </items> >> > > </get-item-list> >> > > >> > > > >> > > > How did you get your RestfulAPI to show the description and >> not the code? >> > > >> > > Can you send me the XML? >> > > >> > > > >> > > > Moreover , if I set the value of quick_availability = true in >> Aleph.ini, it >> > > > goes on to the "Loading" status in the long list and if I set >> it to false it >> > > > shows "checked out". I have set the value of >> available_statuses to >> > > > "Standard Loan" but that makes no difference. >> > > >> > > Set quick_availability to false if you don't have X server. >> > > >> > > > >> > > > >> > > > Thanks >> > > > Ranju. >> > > > >> > > > >> >> > > Vasek >> > > >> > > > >> > > > >> > > > ----- Original Message ----- >> > > > From: Václav Rosecký <xro...@gm...> >> > > > Date: Wednesday, June 27, 2012 10:54 am >> > > > Subject: Re: [VuFind-General] Aleph.ini in latest ILS driver >> > > > To: Ranju Upadhyay <Ran...@nu...> >> > > > Cc: dem...@vi..., >> vuf...@li... >> > > > >> > > >> Hi Ranju >> > > >> >> > > >> 2012/6/27 Ranju Upadhyay <Ran...@nu...>: >> > > >> > Hi Vasek and Demian, >> > > >> > >> > > >> > I have now downloaded and installed the latest ILS driver i.e. >> > > >> v1.3-4.Now in >> > > >> > my long list I see a status of "checked out" for most items >> > > >> and nothing for >> > > >> > some (the "loading" status is gone) .But when I look in the >> > > >> Aleph catalogue >> > > >> > the item (that vufind says checkedout) is available for >> > > >> standard loan. >> > > >> >> > > >> You should set available_statuses in Aleph.ini according to your >> > > >> needs. Statuses are taken from elements /items/item/status() >> in XML >> > > >> returned by REST DLF API (eg. >> > > >> http://libaleph.nuim.ie:1891/rest- >> > > >> dlf/record/MAY01001455221/items/?view=full). >> > > >> > >> > > >> > In the detailed page it gives me the location (along with the >> > > >> formatting , >> > > >> > something like $$h943.088$$mFUC) and the code of 10 (which >> > > >> would be for >> > > >> > standard loan).For this case I am wondering if I need to >> > > >> uncomment the >> > > >> > parameters in the section >> > > >> >> > > >> No, the parameters are optional. In our case it shows with >> classic >> > > >> theme (2-0994.359 is callnumber, 2610003608 is barcode): >> > > >> >> > > >> Call Number: 2-0994.359 >> > > >> Copy 2610003608 >> > > >> Available Place a Hold >> > > >> Copy 2610113531 >> > > >> Available Place a Hold >> > > >> >> > > >> You can override the way the items are displayed in >> > > >> /RecordDrivers/Index/holdings.tpl in your overrided theme. Use >> > > >> {$holdings|print_r} in smarty template to see what is available. >> > > >> >> > > >> > >> > > >> > ; Aleph configuration files - optional >> > > >> > [util] >> > > >> > >> > > >> > I am attaching a copy of my latest Aleph.ini. >> > > >> > >> > > >> > BTW I still see the notices in detailed view: >> > > >> > >> > > >> > Notice: Undefined offset: 0 in C:\vufind\vufind- >> > > >> 1.3\web\Drivers\Aleph.php on >> > > >> > line 514 >> > > >> > >> > > >> > Notice: Undefined offset: 0 in C:\vufind\vufind- >> > > >> 1.3\web\Drivers\Aleph.php on >> > > >> > line 518 >> > > >> > >> > > >> > Notice: Undefined offset: 0 in C:\vufind\vufind- >> > > >> 1.3\web\Drivers\Aleph.php on >> > > >> > line 519 >> > > >> > >> > > >> > Notice: Undefined offset: 0 in C:\vufind\vufind- >> > > >> 1.3\web\Drivers\Aleph.php on >> > > >> > line 524 >> > > >> >> > > >> I will look at it, maybe some elements in your XML returned >> by your >> > > >> RESTful server are missing, but it's not critical. >> > > >> >> > > >> > >> > > >> > And the response in the long list looks like this (looks like >> > > >> the ids are >> > > >> > getting passed ): >> > > >> > >> > > >> > {"data":[{"id":"001455310","availability":"false", >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> Out<\/span>",> >> > > >> > "location":"Unknown","locationList":false,"reserve":"false", >> > > >> > "reserve_message":"Not >> > > >> > On Reserve","callnumber":"","missing_data":true}, >> > > >> > {"id":"001455221","availability":"false", >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> Out<\/span>",> >> > > >> > "location":"Unknown","locationList":false,"reserve" >> > > >> > :"false", >> > > >> > >> > > >> > "reserve_message":"Not On Reserve", >> > > >> > "callnumber":"","missing_data":true}, >> > > >> > {"id":"001455222","availability":"false", >> > > >> > >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> Out<\/span>",> "location":"Unknown" >> > > >> > ,"locationList":false,"reserve":"false", >> > > >> > >> > > >> > "reserve_message":"Not On >> Reserve","callnumber":"","missing_data" >> > > >> > :true}, >> > > >> > {"id":"001108412","availability":"false", >> > > >> > >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> > Out<\/span>", >> > > >> > >> > > >> > "location":"Unknown","locationList":false,"reserve":"false", >> > > >> > "reserve_message":"Not On Reserve" >> > > >> > ,"callnumber":"","missing_data":true}, >> > > >> > {"id":"001109581","availability":"false", >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> Out<\/span>",> >> > > >> > "location":"Unknown","locationList":false,"reserve" >> > > >> > :"false", >> > > >> > >> > > >> > "reserve_message":"Not On >> > > >> Reserve","callnumber":"","missing_data":true},> >> > > >> {"id":"001011628","availability":"false",> >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> Out<\/span>",> "location":"Unknown" >> > > >> > ,"locationList":false,"reserve":"false", >> > > >> > >> > > >> > "reserve_message":"Not On >> Reserve","callnumber":"","missing_data" >> > > >> > :true}, >> > > >> > {"id":"000130221","availability":"false", >> > > >> > >> > > >> > "availability_message":"<span class=\"checkedout\">Checked >> > > >> > Out<\/span>", >> > > >> > >> > > >> > "location":"Unknown","locationList":false,"reserve":"false", >> > > >> > "reserve_message":"Not On Reserve" >> > > >> > ,"callnumber":"","missing_data":true}], >> > > >> > "status":"OK"} >> > > >> > >> > > >> > Thanks >> > > >> > Ranju. >> > > >> >> > > >> Vasek >> > >> >> > >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general >> > > > > -- > > Mit freundlichen Grüßen > > Katharina Wolkwitz > > Fachhochschule Südwestfalen > Hochschulbibliothek > Haldener Straße 182 > 58095 Hagen > Tel.: 02331/9330-607 > FAX: 02331/9330-608 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |