From: Christoffer L. <lan...@re...> - 2006-05-11 19:45:59
|
Yannick Majoros wrote: > Christoffer Landtman wrote: > >> Yannick Majoros wrote: >> >>> Hello, >>> >>> After searching for two hours, I still don't know how to search for >>> some specific "Library of Congress Call Number" in Emilda. >>> >>> It seems to be attribute 16 in bib1.att in my zebra server conf. >>> >>> I edited marc.inc to add following lines: >>> >>> in $YAZ_attributes: >>> "050" => "1=16 t=l t=r t=n t=b s=al", >>> >>> (whatever it means, I read everything I could find but could not find >>> t=.... anywhere) >>> >>> in $CCL_names: >>> "050" => "Classification-LC", >>> >>> I don't have any error message, but it doesn't find the books. >>> >>> I'm still not that familiar with all this yaz/zebra/z3950/marc stuff. >>> Can someone please, please help? We really need this if I want Emilda >>> to be used (and I don't want to maintain my old custom php/mysql app, >>> it's growing too big). >>> >>> Thank you, >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Emilda mailing list >>> Em...@li... >>> http://lists.realnode.com/mailman/listinfo/emilda >> >> >> When using LOC, we also tried to use the control number of LOC to >> access items. This however turned out to be a bit more difficult. I'm >> not entirely sure if we ever got it to work, but if we did, it was >> some strange use attribute (hence not 16) which I cannot remember. I >> have a small memory of LOC not allowing search via control number... >> >> If you did get it working with your php scripts, what was the use >> attribute there? >> >> Regards, >> > Ok, it's now working. > > I think we are talking about something different. Being rather new to > all this "stuff", I think I don't quiet understand what you're saying. I > wanted to do a local search on the "LOC Call Number" MARC field (050). > > Anyway, I eventually found the way to do it. The problem was that I > hadn't edited usmarc.abs . Adding entries for 050 and reindexing seems > to be the way to go, it does work now: > elm 050 LC-call-number - > elm 050/? LC-call-number !:w > elm 050/?/a LC-call-number !w,!:p,!:s > > Sorry, but I'm only beginning to understand how this works. Ok! I understood you incorrectly; thought you wanted to search items from LOC based on their control number. Sorry about that! Good that you got it working! Regards, > > Best regards, > > > ------------------------------------------------------------------------ > > _______________________________________________ > Emilda mailing list > Em...@li... > http://lists.realnode.com/mailman/listinfo/emilda -- Christoffer Landtman CEO Oy Realnode Ab Tekniikantie 21 FIN-02150 Espoo, Finland www.realnode.fi Office: +358 (0)9 2517 5577 Mobile: +358 (0)41 510 1073 Fax: +358 (0)9 455 3117 Email: lan...@re... |