定制 blackbit_digital_commerce/pimcore-external-sitemaps 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

blackbit_digital_commerce/pimcore-external-sitemaps

Composer 安装命令:

composer require blackbit_digital_commerce/pimcore-external-sitemaps

包简介

Add URLs from external sitemaps / sitemap index files to the Pimcore-generated sitemap.xml

README 文档

README

This Pimcore plugin allows you to include external sitemaps into your sitemap.xml. It also supports including external sitemap index URLs whose referenced sitemap files get resolved.

Installation

Composer

To get the plugin code please write an email to info@blackbit.de.

You then either get access to the bundle's Bitbucket repository or you get the plugin code as a zip file. Accessing the Bitbucket repository has the advantage that you will always see changes to the plugin in the pull requests and are able to update to a new version yourself - please visit this page if this sounds interesting to you - if it does, please send us the email address of your BitBucket account so we can allow access to the repository.

When we allow your account to access our repository, please add the repository to the composer.json in your Pimcore root folder (see Composer repositories):

"repositories": [
    {
        "type": "vcs",
        "url": "git@bitbucket.org:blackbitwerbung/pimcore-plugins-external-sitemaps"
    }
],

Alternatively if you received the plugin code as zip file, please upload the zip file to your server (e.g. to the Pimcore root folder) and add the following to your composer.json:

"repositories": [
    {
        "type": "artifact",
        "url": "path/to/directory/with/zip-file/"
    }
]

Then you should be able to execute composer require blackbit/external-sitemaps (or composer update blackbit/external-sitemaps --no-dev for updates if you already have this bundle installed) from CLI.

At last you have to enable the plugin, either via browser UI in Pimcore admin or via CLI:

bin/console pimcore:bundle:enable BlackbitExternalSitemapsBundle

Plugin configuration

To define the external sitemap URLs, you have to override the symfony service Blackbit\ExternalSitemapsBundle\ExternalSitemapGenerator in config/services.yaml (Pimcore >= 10) or app/config/services.yml(Pimcore <= 6).

Blackbit\ExternalSitemapsBundle\ExternalSitemapGenerator:
    arguments:
        $externalUrls: [ 'https://example.org/sitemap.xml', 'https://example2.org/sitemapIndex.xml' ]

After configuration is complete all external sitemap URLs will be put into sitemap.externalUrls.xml in your default Pimcore sitemaps index /sitemap.xml file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固