From: Ere M. <ere...@he...> - 2012-03-20 12:16:20
|
Hi All, we've also made a bit of progress with the implementation (fielded search, IP access restrictions etc.) but I haven't had time to incorporate them into a patch. Nevertheless, you can find everything in out Git repository at <https://github.com/KDK-Alli/NDL-VuFind>. The main pieces would be: web/conf/EBSCO.ini.sample (copy to EBSCO.ini locally) web/interface/themes/default/EBSCO/* web/services/EBSCO/* web/sys/SearchObject/EBSCO.php Regards, Ere 13.3.2012 5.13, Filipe MS Bento (UA) kirjoitti: > Hi Luis (again). > > I used Ere Maijala patch of Václav Rosecký original; it has a a > proper /web/conf/EBSCO.ini file to place all of that parameters and > everything is working just fine, even facets. > > Please take a look at > > http://vufind.org/jira/browse/VUFIND-423 > > namely the last patch, NDL_ebsco_v1.diff > <http://vufind.org/jira/secure/attachment/12870/NDL_ebsco_v1.diff> > > All the best (please do keep in touch -- at the moment, I do not have it > running, but going to start working on it again soon, explore all the > data and extract with XPath), > > Filipe > > On Mon, Mar 12, 2012 at 3:42 PM, luis diaz <lui...@gm... > <mailto:lui...@gm...>> wrote: > > Hello all, > last week I sent a post with a question: How can I add some db into > the EBSCO.php parser, in order to generate an URL with those db. > So I found one way, not sure that it's the correct way to do, but it > works. > Parser: EBSCO.php > File: /usr/local/vufind/web/sys/SearchObject/EBSCO.php > function buildURL() > My first choice was to add a db entry into the params array...But > all the test were wrong. > Code > $params = array("authType" => "ipprof", "prof" => > "sxxxxxxxx.main.eit", "pwd" =>"ebsxxxx*","db" => "aph","*format" => > "full", "clusters" => "true"); > $params += $this->_params; > if ($startRec > 0) { > $params = array_merge($params, array("startrec" => > $startRec)); > } > The way I choose at the end is the folowing: Add the databases into > the $url array, concatening them here: > $url = $this->_baseUrl . '?' . http_build_query($params) . > '*&db=buh&db=ecn&db=20h&db=phl&db=8gh&db=lxh&db=psyh'*.'&query=(' . > urlencode($query) . ')'; > I share this with you but I'm conscient that maybe there is an other > way to do more clean. > Thanks a lot ! > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > VuFind-General mailing list > VuF...@li... > <mailto:VuF...@li...> > https://lists.sourceforge.net/lists/listinfo/vufind-general > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general -- Ere Maijala (Mr.) The National Library of Finland |