|
From: Demian K. <dem...@vi...> - 2014-04-07 16:14:11
|
By default, VuFind only presents OpenURL links for records with ISSNs. Is it possible that some of your records do not have these values? If you need to change the behavior, you can do so by adjusting the openURLActive() method of your record driver -- let me know if you need more details. If links are missing for records that do have ISSNs, please let me know so I can investigate further... but I'm pretty sure the OpenURL feature has worked in all VuFind releases, so I don't expect to find a major bug there. - Demian > -----Original Message----- > From: Andrea Marchitelli [mailto:a.m...@ci...] > Sent: Saturday, April 05, 2014 1:19 AM > To: vuf...@li... > Subject: [VuFind-Tech] Link resolver configuration > > Hi, > I am trying to use a link resolver (sfx) in vufind 2 but it doesn't > work (vufind is continuing to present direct urls to objects in the > catalog and in the summon section to > Here my config.ini resolver section > ; These settings affect OpenURL generation and presentation; OpenURLs > are used to > ; help users find resources through your link resolver and to manage > citations in > ; Zotero. > [OpenURL] > ; If a resolver base URL is enabled, it will be used to link ISSNs to your > link > ; resolver and to access articles in Summon if that module is enabled. > Earlier > ; versions of VuFind included some parameters as part of the URL; at this > point, > ; any extra parameters will be ignored -- please provide only the base URL. > ;url = "http://openurl.myuniversity.edu/sfx_local" > url= "http://sfx.myserver.it:myport/xyz" > > ; This string will be included as part of your OpenURL referer ID (the > full string > ; will be "info:sid/[your rfr_id setting]:generator"). You may be > able to configure > ; special behavior in your link resolver based on this ID -- for > example, you may > ; wish to prevent the resolver from linking to VuFind when links came > from VuFind > ; (to avoid putting a user in an infinite loop). > rfr_id = xyz.vufind.myserver.it > > ; By specifying your link resolver type, you can allow VuFind to optimize its > ; OpenURLs for a particular platform. Current legal values: "sfx", "360link", > ; "EZB" or "other" (default is "other" if commented out). > resolver = sfx > > ; If you want OpenURL links to open in a new window, set this setting to the > ; desired Javascript window.open parameters. If you do not want a new window > ; to open, set this to false or comment it out. > window_settings = > "toolbar=no,location=no,directories=no,buttons=no,status=no,menubar=no,scrollb > ars=yes,resizable=yes,width=550,height=600" > > ; If you want to display a graphical link to your link resolver, uncomment the > ; settings below. graphic should be a URL; graphic_width and graphic_height > ; should be sizes in pixels. > graphic = "http://upload.wikimedia.org/wikipedia/en/f/f1/Sfx_logo.JPG" > ; this is for test > graphic_width = 86 > graphic_height = 87 > > ; The following settings control where OpenURL links are displayed: > show_in_results = true ; include in search results > show_in_record = true ; include in core record metadata > show_in_holdings = true ; include in holdings tab of record view > > ; If set to true, this setting will attempt to embed results from the link > ; resolver directly in search results instead of opening a new window or page. > ; This will override the window_settings option if set! Embedding is > currently > ; supported only when the resolver setting above is set to "sfx" or "360link". > embed = true > > ; When embed is true, you can set this to an absolute path on your > system in order > ; to cache link resolver results to disk. Be sure that the chosen directory > has > ; appropriate permissions set! Leave the setting commented out to skip > caching. > ; Note that the contents of this cache will not be expired by VuFind; you > should > ; set up an external process like a cron job to clear out the > directory from time > ; to time. > ;resolver_cache = /usr/local/vufind/resolver_cache > > ; This setting controls whether we should display an OpenURL link > INSTEAD OF other > ; URLs associated with a record (true) or IN ADDITION TO other URLs (false). > replace_other_urls = true > > I am using a customized theme based on bootstrap, but I also tried > with blueprint > > Andrea > > > > --- > Andrea Marchitelli > Servizi per la Gestione dell'Informazione e della Conoscenza > > Cineca - Sede operativa di Roma > Via dei Tizii, 6 - 00185 Roma, Italy > tel. +39 0644486625 - cell. +39 340 4027156 - http://www.cineca.it > > ------------------------------------------------------------------------------ > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech |