From: Matthew H. <mat...@fl...> - 2011-04-18 04:42:41
|
Hi Demian, Looks like that was the issue. We're currently on 5.1.6, so I'll have to see what I can do. Thanks, Matt. -- Matthew Hooper Systems Officer, Flinders University Library G.P.O. Box 2100 ADELAIDE, South Australia 5001 Phone: +618 8201 2068 Fax: +618 8201 2508 Email: Mat...@fl...<mailto:Mat...@fl...> From: Demian Katz [mailto:dem...@vi...] Sent: Friday, 15 April 2011 10:03 PM To: Matthew Hooper; vuf...@li... Subject: RE: [VuFind-Tech] Voyager web services examples What PHP version are you using? The DateTime class should be built into PHP, but if you're using a version older than 5.2, it might not be turned on. See: http://us3.php.net/manual/en/datetime.installation.php - Demian From: Matthew Hooper [mailto:mat...@fl...] Sent: Friday, April 15, 2011 3:18 AM To: vuf...@li... Subject: Re: [VuFind-Tech] Voyager web services examples That's pretty much what I was looking for. I noticed the missing file in the sys folder, but hadn't twigged to the config.ini change. Even after copying in the new file, record pages weren't loading, and the following error was showing up in the apache logs: [Wed Apr 13 12:43:54 2011] [error] [client 129.96.252.26] PHP Fatal error: Class 'DateTime' not found in /opt/vufind_new/web/sys/VuFindDate.php on line 78, referer: http://library.flinders.edu.au/vufind/Search/Results?lookfor=tree&type=Title&submit=Find I'll try setting the displayDateFormat variable and give it another shot. Matt. -- Matthew Hooper Systems Officer, Flinders University Library G.P.O. Box 2100 ADELAIDE, South Australia 5001 Phone: +618 8201 2068 Fax: +618 8201 2508 Email: Mat...@fl...<mailto:Mat...@fl...> From: Osullivan L. [mailto:L.O...@sw...] Sent: Wednesday, 13 April 2011 10:33 PM To: Demian Katz; Matthew Hooper; vuf...@li... Subject: RE: [VuFind-Tech] Voyager web services examples Hi Folks, Further to Demian's suggestions: You'll also need https://vufind.svn.sourceforge.net/svnroot/vufind/trunk/web/sys/VuFindDate.php as this provides a standard method for formatting dates displayed within VuFind. If you want to configure your own display Date and Time Formats, you will also need and https://vufind.svn.sourceforge.net/svnroot/vufind/trunk/web/conf/config.ini as this contains the settings for changing the display date. ; A string used to format user interface date strings using the PHP date() function ; default is m-d-Y (MM-DD-YYYY 01-01-2010) displayDateFormat = "m-d-Y" ; A string used to format user interface time strings using the PHP date() function ; default is H:i (HH:MM 23:01) displayTimeFormat = "H:i" If you have any further queries I can help you with, please do not hesitate to contact me. Cheers, Luke From: Demian Katz [mailto:dem...@vi...] Sent: 13 April 2011 13:32 To: Matthew Hooper; vuf...@li... Subject: Re: [VuFind-Tech] Voyager web services examples What exactly are you trying to do? I don't think the driver interface has changed significantly in a long time, so I'm surprised that you are having problems. If you download the latest trunk driver and .ini file, you should be able to drop them into almost any version of VuFind and get results (unless I'm forgetting something important): https://vufind.svn.sourceforge.net/svnroot/vufind/trunk/web/Drivers/Voyager.php https://vufind.svn.sourceforge.net/svnroot/vufind/trunk/web/conf/Voyager.ini If you're having problems with the patch I sent, it's because it is out of date - but since it only contains a couple of small diffs, it should be possible to manually apply it against the current codebase just by finding the code that generates the relevant SQL. If this doesn't help, please give me a few more details about what's going wrong so I can try to think of more things to try! - Demian From: Matthew Hooper [mailto:mat...@fl...] Sent: Tuesday, April 12, 2011 11:18 PM To: vuf...@li... Subject: Re: [VuFind-Tech] Voyager web services examples Hi Demian, I'm assuming to test this we need to check out a newer version of vufind? I've tried replacing a few files to get the voyager driver working, but there appears to be more required files in order to display an item record etc. Cheers, Matt. -- Matthew Hooper Systems Officer, Flinders University Library G.P.O. Box 2100 ADELAIDE, South Australia 5001 Phone: +618 8201 2068 Fax: +618 8201 2508 Email: Mat...@fl...<mailto:Mat...@fl...> From: Demian Katz [mailto:dem...@vi...] Sent: Monday, 11 April 2011 10:12 PM To: Reuben Pasquini Cc: vuf...@li... Subject: Re: [VuFind-Tech] Voyager web services examples I think part of the reason that the Voyager driver doesn't have temporary location support is that we don't use the temporary location feature at Villanova - I haven't had a need to implement it, nor have I had good test data to try it out with. The attached patch was given to me well over a year ago by somebody at Yale (unfortunately, I can't remember who it was - the original email is long lost) - I was holding off on committing it until I received confirmation that it had been passed all testing, but I never heard anything, so it's been sitting in my queue for ages. If anyone would like to adapt the patch to work with the current trunk code and confirm that it works correctly for a system that uses temporary locations, I'd be happy to double-check that it doesn't break anything on the Villanova side of things and then commit it if all is well. - Demian From: Reuben Pasquini [mailto:re...@fr...] Sent: Friday, April 08, 2011 9:46 PM To: Demian Katz Cc: Jason Stirnaman; vuf...@li...; cp...@au... Subject: Re: [VuFind-Tech] Voyager web services examples Hi Demian, Clint Bellanger did the work on the Auburn driver code, so credit goes to him. Thanks for taking a look at the code - I'm glad you could use some of it. BTW - if you're looking at the driver anyway, you might try to work in handling of those "temporary locations". I know that was a small issue at Auburn - guess we never got around to it. Cheers, Reuben On Fri, Apr 8, 2011 at 2:33 PM, Demian Katz <dem...@vi...<mailto:dem...@vi...>> wrote: Reuben, I just took a closer look at your Voyager driver. It looks like there are actually only three significant modifications from the trunk version: 1.) You sort MFHD records more carefully - I have just incorporated this fix into the trunk as r3823. 2.) You pass location codes back (presumably only used in your local setup) 3.) You pass "no items" status back (also presumably related to your local templates) I've also committed Luke's refactored Voyager driver. If you decide to upgrade in the future, you should be able to fairly easily replicate your current Voyager customizations by extending the base driver and extending a couple of methods. Thanks again for sharing this, and please let me know if I'm missing any important details! - Demian From: Reuben Pasquini [mailto:re...@fr...<mailto:re...@fr...>] Sent: Thursday, April 07, 2011 11:18 AM To: Demian Katz Cc: Jason Stirnaman; vuf...@li...<mailto:vuf...@li...> Subject: Re: [VuFind-Tech] Voyager web services examples Hi Demian, You should take a look at Auburn's customizations to the Voyager driver too. http://catalog.lib.auburn.edu/cgi-bin/hgwebdir.cgi/vufind/ We were working against a 1.0RC1 era code base, but I don't think the current driver is very different. Clint Bellanger did most of Auburn's customizations work, but I know the changes included fixes to get more accurate holding and item data for things like multi-volume serials, and possibly some handling of Voyager's funky temporary locations (ILL loans, new-book shelf, ...). http://catalog.lib.auburn.edu/cgi-bin/hgwebdir.cgi/vufind/file/773246d42110/web/Drivers/Voyager.php There's also a "Mutli-voyager" driver, that wraps the Voyager driver to communicate with multiple ILS depending on the record-id prefix. http://catalog.lib.auburn.edu/cgi-bin/hgwebdir.cgi/vufind/file/773246d42110/web/Drivers/MultiVoyager.php If you move the vufind code over to github, then you could encourage all the users to just fork their customizations into their own repos there, and it would be easy for everyone to share their local code. https://github.com/ It's free for open source. It looks like Google Code also supports that kind of workflow with Mercurial - notice the "Create a Clone" button: http://code.google.com/p/littleware/source/checkout?repo=catalog You could probably work a similar workflow with Mercurial on sourceforge http://sourceforge.net/apps/trac/sourceforge/wiki/Mercurial , but I think github is really geared toward this kind of workflow. Check what the others think on your next dev call if you like the idea. Cheers, Reuben On Thu, Apr 7, 2011 at 7:38 AM, Demian Katz <dem...@vi...<mailto:dem...@vi...>> wrote: On a related note, I've been working with Luke O'Sullivan on some Voyager driver improvements: 1.) The current Voyager class will be refactored so that it is easier to customize in object-oriented ways - the current long, complicated methods are being broken up into functional chunks, with separate methods for constructing SQL queries and processing results. This should make local customization of the driver much more maintainable - if you want to add a field somewhere or filter a value from a particular field, you can do it from a child class without having to hack the core code. 2.) Besides the local customization aspect, we're making the base Voyager driver easier to extend so that we can create different "flavors" of the driver. The base class can remain a database-driven, Voyager6-compatible baseline... but Luke has also put together a VoyagerRestful child class that uses the new RESTful API... and we could also theoretically create a VoyagerXML child class based on the KEVEN work (though I'm not sure if it's necessary - the RESTful approach seems more convenient). Luke's currently putting some finishing touches on part 1 of the list above, and I'm hoping we'll commit it within the next week or so (stay tuned for an announcement). Part 2 is still a little further off, since it's also tied to adding better generic support in the VuFind core for holds, recalls and renewals... but I'm hoping it will be done soon, and I'm sure Luke is willing to share his patch if you want a preview. - Demian From: Jason Stirnaman [mailto:jst...@ku...<mailto:jst...@ku...>] Sent: Wednesday, April 06, 2011 5:32 PM To: vuf...@li...<mailto:vuf...@li...> Subject: Re: [VuFind-Tech] Voyager web services examples Answering my own question, I just found Kent's source repo at Google. Much thanks to Stewart and KEVEN http://code.google.com/p/kevencode/source/browse/VuFind%20Plugins/trunk/web/Drivers/VoyagerKent.php Jason Stirnaman Biomedical Librarian, Digital Projects A.R. Dykes Library, University of Kansas Medical Center jst...@ku...<mailto:jst...@ku...> 913-588-7319 >>> On 4/6/2011 at 04:19 PM, in message <4D9CD8F6.FC9 : 5 : 23711>, Jason Stirnaman wrote: Has anyone shared their code for a ILS driver that uses Voyager web services? Would you be willing to? I've found this short thread http://sourceforge.net/mailarchive/message.php?msg_id=26548902 and seen a few mentions of using the Voyager web services with VuFind in place of the PDO-based ILS driver. What I've seen so far: http://journal.code4lib.org/articles/4165 Western Michigan U http://blogs.kent.ac.uk/vufindkeven/2010/10/20/background-and-context-to-our-decision-to-use-vufind-for-keven/ University of Kent Thanks, Jason Jason Stirnaman Biomedical Librarian, Digital Projects A.R. Dykes Library, University of Kansas Medical Center jst...@ku...<mailto:jst...@ku...> 913-588-7319 ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Vufind-tech mailing list Vuf...@li...<mailto:Vuf...@li...> https://lists.sourceforge.net/lists/listinfo/vufind-tech |