承接 ubtue/vufind-beacon-finder 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ubtue/vufind-beacon-finder

Composer 安装命令:

composer require ubtue/vufind-beacon-finder

包简介

BEACONfinder integration into VuFind.

README 文档

README

CI Status

VuFindBEACONFinder module for VuFind

This module provides a simple integration for BEACONfinder into VuFind. BEACONfinder is still under development, and so is this module / use at your own risk!

The basic idea behind this integration is to dynamically include the BEACONfinder whenever an authority page is loaded in the frontend, using CachingDownloader for better performance. Since a (potential) external service will be queried, there is also an AJAX endpoint which can be used to avoid delays when loading the page in case the service is under pressure. Another option might be to extend the Solr schema, add the information when importing into Solr, and then get the information from there when rendering the Record, but this is not part of this module.

Enabling the module

  1. Include mixin & templates

    Create a symlink themes/beacon_finder_mixin to vendor/ubtue/vufind-beacon-finder/res/theme

    Register the mixin in your theme.config.php

    return [
        'mixins' => [
            'beacon_finder_mixin',
        ],
    ];
    

    Include one of the following templates at the top of your authority/record.phtml:

    <?=
    // static
    //$this->render('authority/record/BEACONfinder.phtml');
    
    // ajax
    //$this->render('authority/record/BEACONfinder-ajax.phtml');
    ?>
    
  2. Modify RecordDriver

    You also need to implement the provided interface in your record driver to provide the authority id:

    class SolrAuthMarc implements VuFindBEACONFinder\RecordDriver\Feature\BEACONFinderInterface
    {
        public function getAuthorityId()
        {
            // return the ID depending on your custom field
        }
    }
    
  3. adjust configuration

    Per default, your BEACONfinder service is running locally on port 8000. If you want to change this, copy the file res/config/BEACONfinder.ini to your local/config/vufind directory and change the corresponding baseUrl setting.

    Regarding Cache settings, the BEACONfinder uses its own sub-section. You can influence the cache settings either by changing the global settings in the config.ini [Cache] section, or by adding a new [Cache_BEACONfinder] section and entering custom settings there.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-01-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固