Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Saturday, November 20th, 2010

< Friday, November 19th, 2010Raw Log FileSunday, November 21st, 2010 >
#TimeNickMessage
#01:35:58pmplett has quit IRC
#07:45:03rsinger has joined #evergreen
#09:49:36Dyrcona has joined #evergreen
#13:03:43r123 has joined #evergreen
#13:06:26r123 has left #evergreen
#13:21:31bts-mobile has joined #evergreen
#14:50:14dbsgah. bad commit
#16:14:17Dyrcona has quit IRC
#17:13:10agJohn has joined #evergreen
#17:14:50agJohnHi Folks. We're trying to do some testing of the Java client code--for better or worse. But, we really want to be able to run the client code on a different box than the OpenSRF processes are running on.
#17:14:52agJohnWhat do we need to do in the ejabberd.cfg file so it'll respond to a connection request from a remote box?
#17:16:24agJohnThis would be the typical setup:
#17:16:26agJohn%% Hostname
#17:16:27agJohn{hosts, ["localhost", "private.localhost", "public.localhost"]}
#17:17:00agJohnWe tried adding the remote host to that list; no-workie (apparently). So, do we need to add the box's public IP address as a served domain?
#17:59:35tpham3783 has joined #evergreen
#17:59:38tpham3783hi
#17:59:45tpham3783is anyone here alive?
#18:06:40agJohnNobody here but us chickens....
#18:07:08tpham3783agJohn
#18:07:12tpham3783hi
#18:07:27agJohnHowdy. Wazzup?
#18:07:48tpham3783I am a developer for a georgia library, and i need to interface with evergreen (or PINES database since i live in GA)
#18:08:14tpham3783it would essentially searches PINES database and result the result sets
#18:08:43tpham3783i dont know if PINES/evergreen has any remote service for 3rd party appz.
#18:09:25agJohnIf you just want to be able to search, would Z39.50 do the job? (What library system do you have at your library?)
#18:10:15tpham3783this is for a library in macon, GA.... and i'd need to search gapines.org
#18:10:33tpham3783i know that georgia pines has some kind of services at: http://gapines.org/opac/extras/
#18:10:41tpham3783but there's no documentation, not sure how to use it
#18:11:11agJohnOr, perhaps more exactly, what type of program were you wanting to interface? Evergreen has a very rich API, but if your library is not part of the PINES consortium, they probably wouldn't allow you to use the Evergreen API. But, if you just want to search the PINES catalog, you'll want to configure a Z39.50 client to communicate with the Z39.50 PINES server.
#18:11:43agJohnWhat is the library automation system that's in use at Macon?
#18:12:17tpham3783i am not sure
#18:12:22tpham3783but i can get that info for you
#18:12:38tpham3783i know that they're part of gapines
#18:13:16tpham3783i wanted to interface w/ gapines.org using PHP
#18:13:36agJohnOK. If they're part of GA PINES, then I'm a little confused. Better back up and explain why you want to search using PHP vs. the standard search screens.
#18:13:37tpham3783perhaps Z39.50 would do the job....
#18:14:16tpham3783oh, because i am task with a webapplication to handle book requests
#18:14:48tpham3783let say, if someone needs a book, and its not available, we wanted to be able to search gapines catalog before ordering it
#18:14:58agJohnOK.
#18:15:07tpham3783if gapines happens to have it, we want to ship it to local lib. instead of ordering
#18:15:45tpham3783what's your recommendation on accomplishing something like this?
#18:15:46agJohnHmmm. OK.
#18:16:19agJohnDepends upon the context it's being used in--is this for staff to use or what?
#18:16:36tpham3783yes, it is for staffs
#18:17:11tpham3783to use
#18:17:13agJohnIn that case, I wouldn't use PHP.... I'd think you'd want to build it right into the client program, but that's a significant learning cliff to climb, to be sure.
#18:17:27agJohnSo, I can see why you're thinking PHP.
#18:17:49agJohnI would see if you can't find an open-source Z39.50 client that you could incorporate.
#18:18:14agJohnThere's a number around, but I don't know which one would fit in with a PHP server....
#18:18:28agJohn(I don't know much about PHP, I'm afraid.)
#18:18:29tpham3783well, because this staff application is implemented in php already, i can't use alternatives
#18:19:11agJohnUnderstood. I think you'd want to add Z39.50 searching to it. This is not going to be completely simple to do.
#18:19:12tpham3783thats ok, i just wanted to know if gapines.org (which is based on evergreen) provides any kind of webservices
#18:19:36agJohnNo, probably not the kind you're thinking of.
#18:20:00agJohnBut, the guy you need to ask is csharp--who would either know or could find out.
#18:20:22tpham3783do you know what the stuffs at the following url about: http://gapines.org/opac/extras/
#18:20:48tpham3783i think that's websearch service, but not sure since i am not familar w/ evergreen/pines
#18:21:36agJohnWell, the stuff in the directory slimpac is clearly got searching capability, but it's not exposing that as a web service, that I can see--it's just a simple HTML search capability.
#18:22:07tpham3783hmm,
#18:22:21tpham3783so, you think Z39.50 is the only way to go?
#18:22:31agJohnNot the only way, no.
#18:22:49agJohnI mean, it might be easier to feed stuff to http://gapines.org/opac/en-US/extras/slimpac/advanced.html and screen-scrape the results.
#18:23:12tpham3783i thought about it, but it is nasty, i dont want to do it
#18:23:30tpham3783it requires maintenance too, if the webpage changes
#18:23:58tpham3783very vulnerable to malfunction software... taht's why i'd rather not use it approach
#18:24:06tpham3783it=that
#18:24:30tpham3783in deed, it would be the easiest approach at the moment
#18:25:09agJohnToo true. However, building the query and getting the results back may not be as bad as all that. There is a way to create queries via HTML parameters, but you'd still be faced w/ the screen-scrape, most likely.
#18:26:19tpham3783that's true, that's why i am about to go through evergreen dev. APIs and see if there are alternative methods
#18:26:34agJohnI don't know if there's a way to ask for XML back; there may be, but I don't know about that. Tough time to get the best answers as I'm good at DB migrations; not so good at doing other stuff....
#18:27:28tpham3783:-) thanks
#18:27:29agJohnIf you were to send some email to the development list, you'd likely get back the info you need. Constructing the queries isn't going to be difficult, the question is can you get XML results back (and I do not know).
#18:28:22tpham3783yeah, i sent an email out already, hopefully someone has an answer for it
#18:30:59tpham3783Thank you John
#19:14:29tpham3783they have a rss2 return search result at: http://gapines.org/opac/extras/opensearch/1.1/PINES/rss2-full/keyword/?searchTerms=to kill a mocking bird&startPage=0&startIndex=0&count=50&searchLang=eng i think that's what i needed
#21:23:55dbsagJohn: did you forget about opensrf? The entire Evergreen OPAC is built on web services!
#21:24:47rsinger_ has joined #evergreen
#21:27:13rsinger has quit IRC
#21:29:24dbstpham3783: check http://ur1.ca/2e5bl out as an example of a GET request (could format as a POST request) that lists items matching a keyword search for "harry potter"
#21:39:49dbsagJohn: I wouldn't hold out much hope for the Java code as-is; I don't think it has been updated to support multi-domain OpenSRF support, for example
#21:41:02rsinger_ has quit IRC
#21:41:56dbsagJohn: we have {hosts, ["localhost", "private.opensrf.foo", "public.opensrf.foo"]}. on our ejabberd server, and /etc/hosts entries for those names on each of our servers in the cluster.
#21:56:00tpham3783dbs: thank you. I'll check it out
#21:59:05tpham3783dbs: do you have any documentation on using web services of Evergreen OPAC? thanks
#21:59:51tpham3783dbs: i dont really understand the result of the tiny url query.
#22:15:28dbstpham3783: it's JSON and it gives you the record IDs that match your query
#22:16:21dbstpham3783: some old documentation at http://www.open-ils.org/dokuwiki/doku.php?id=osrfhttp:opensrf_gateway
#22:17:08tpham3783 is now known as tpham
#22:19:29dbsthe gateway is just one way of invoking OpenSRF services; OpenSRF is described in much more depth here: http://journal.code4lib.org/articles/3284 but the gist of it is that there are services (like "open-ils.service") that offer methods that can be invoked a number of different ways
#22:20:08tphamdbs: thanks
#22:21:01dbsthe "OpenSRF HTTP Gateway" and "OpenSRF HTTP Translator" (introduced with Evergreen 1.6 I think, and will eventually replace the HTTP Gateway) basically give you a web service interface for those services
#22:21:18dbsanother example at http://coffeecode.net/archives/180-Fetching-item-availability-from-Evergreen-using-the-OpenSRF-HTTP-gateway.html
#22:24:05tphamdbs: thanks, i'll look into OpenSRF
#22:45:00atz_dbs: one problem might be if pines isn't on 1.6 yet.
#22:45:29dbsatz_: right. which is why I was pointing at gateway examples
#22:48:21dbsgood to call that out explicitly though, as I wasn't really clear about that with tpham
#23:25:30dbs has quit IRC
#23:51:40tpham has quit IRC
< Friday, November 19th, 2010Raw Log FileSunday, November 21st, 2010 >