On Jun 14, 2012, at 13:23, Jack Weinbender wrote: > I can formulate a simple query (single-string), but I'm having difficulties > grasping the RPN syntax for more complex searches. Being a long-time bibdesk > user, I know the z39.50 searching works beautifully and was wondering if any > of you had any insight into effective searching with z39.50.
Well...although I wrote the code for BibDesk to do z39.50 searches several years ago, I have very little recollection of the vagaries of searching. From looking at the Obj-C code, we transform a CCL query string to RPN, and the syntax for CCL queries is what you have here: http://bibdesk.sourceforge.net/manual/BibDesk%20Help_39.html I vaguely recall that there are still issues you can run into, especially with custom attribute sets; I think the objc_default.bib file that BibDesk uses does a reasonable job, but falls over if someone maps fields differently on their server. Since libraries seem to customize things as they see fit, this makes consistency a real pain. http://sourceforge.net/tracker/?func=detail&atid=497426&aid=2819475&group_id=61487 > I've read a fair amount of the documentation (both of PHP and YAZ), but > things are still a bit opaque. That's a gross understatement, IMNSHO :). The combination of custom attribute sets, arcane syntax, and custom text encodings all make z39.50 a nightmare, and the yaz library was pretty much impossible for me to understand because of its complexity. The ZOOM C API in yaz makes things much simpler, and although there's no ZOOM binding for PHP, the PHP API here http://php.net/manual/en/function.yaz-search.php looks pretty reasonable. If you can use yaz_ccl functions mentioned on that page, you can use the more readable query syntax that BibDesk uses (once you figure out the .bib mapping for the server(s) you're talking to). hth, Adam ------------------------------------------------------------------------------ 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/ _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
