Re: [CODE4LIB] WebOPAC/III Z39.50 PHP Query/PHPYAZ

2012-05-11 Thread Madrigal, Juan A
I'm quickly learning that the hard way! Either vendor lock-in is to blame for this or the fact that many of these systems predate the web and rely on esoteric protocols. I finally ended up screen scraping with curl and using a regex to extract the title. The url looks like this:

Re: [CODE4LIB] WebOPAC/III Z39.50 PHP Query/PHPYAZ

2012-05-10 Thread Brian Kennison
On May 9, 2012, at 11:27 AM, Madrigal, Juan A wrote: I'm thinking that one way to accomplish this is via Z39.50 and send a query to the backend that powers WebOPAC Juan, I just did a search for this and grab this from OCLC. It looks like the search is 5017/word, phrase and the (OCLC's)

Re: [CODE4LIB] WebOPAC/III Z39.50 PHP Query/PHPYAZ

2012-05-10 Thread Cynthia Ng
If you're just looking for text, our programmer did it simply by doing a screen scrape of the resulting page. So the call number search is used, it automatically takes the first result and scrapes the information from the item details page. Doesn't really help in getting it in JSON or XML though.

[CODE4LIB] WebOPAC/III Z39.50 PHP Query/PHPYAZ

2012-05-09 Thread Madrigal, Juan A
Hi, I'm looking for a way to send a Call Number to WebOPAC via a query so that I can return data (title, author, etc…) for a specific book in the catalog preferably in JSON or XML (I'll even take text at this point). I'm thinking that one way to accomplish this is via Z39.50 and send a query