novicell/relewise 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

novicell/relewise

最新稳定版本:3.1.0

Composer 安装命令:

composer require novicell/relewise

包简介

Relewise

README 文档

README

This module adds integration to the Relewise service and offers direct API access for specialized implementations.

Installation

Relewise needs two settings in order to work provided in settings.php.

  • $settings['relewise.apikey'] for the API key;
  • $settings['relewise.dataset'] for what dataset the site uses;

Drupal features

These features are implemented out of the box and does not require custom code to utilize.

  • Entity indexing. In order to get custom fields as well an alter hook needs to implemented though.
  • Content view tracking. Currently only nodes.
  • User tracking with integration for permission with Cookiebot.

Relewise service

For more custom functionality the "relewise" service can be used to implement further features with the following methods:

  • isSelectedForIndexing: Tells whether an entity is selected indexing in the config.
  • userUpdate: Register updates to the user like logins.
  • registerContentView: Register content view on an entity.
  • updateContentIndex: Updates the index on a single entity.
  • updateContentIndexMultiple: Updates the index on multiple entities at once.
  • deleteContentIndex: Deletes an entity from the index.
  • resetIndex: Deletes all content from index and queues reindexing. Warning: may lose tracking data.
  • searchContent: Performs a search for content in the index.
  • getSearchedContent: Transforms a search result into entities.
  • getContentId: Returns a content ID used for content indexing.

API

In case more specific and custom functionality is needed there is also a service called "relewise.api" which gives direct access to the Relewise API without any adaption to Drupal.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2025-07-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固