melisplatform/melis-cms-site-robot 问题修复 & 功能扩展

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

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

melisplatform/melis-cms-site-robot

Composer 安装命令:

composer require melisplatform/melis-cms-site-robot

包简介

This module adds the dynamic generation of the robot.txt file to a tool and per site

README 文档

README

MelisCmsSiteRobot provides a functionality to add robots.txt on each domain.

Getting Started

These instructions will get you a copy of the project up and running on your machine.

Prerequisites

The following modules need to be installed to have Melis newsletter module run:

  • Melis engine

Installing

Run the composer command:

composer require melisplatform/melis-cms-site-robot

Database

Database model is accessible via the MySQL Workbench file:

/melis-cms-site-robot/install/sql/Model

Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:

/melis-cms-site-robot/install/sql

Tools and elements provided

  • Melis CMS site robot tool
  • Melis CMS site robot service

Melis CMS site robot tool

Provides the user the ability to access and manage the Robots.txt of every domain.

Melis CMS site robot service

  • Using the service to retrieve Robots.txt data for each domain:
// Get MelisEngineTableSiteDomain service
$table = $this->getServiceManager()->get('MelisEngineTableSiteDomain');

// Get all data from site domain table
$data = $table->getData($searchValue, $searchableCols, $selColOrder, $orderDirection, $start, $length)->toArray();
// Get MelisEngineTableRobot service
$robotTable = $this->getServiceManager()->get('MelisEngineTableRobot');

//Get robots.txt contents and data for each domain
$robotData  = (array) $robotTable->getEntryByField('robot_site_domain', $domainName)->current();

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2018-02-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固