kirbyzone/sitemapper 问题修复 & 功能扩展

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

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

kirbyzone/sitemapper

Composer 安装命令:

composer require kirbyzone/sitemapper

包简介

Kirbyzone's Automatic Sitemap Generator Plugin for Kirby

README 文档

README

The Cre8iv Sitemapper is a plugin we created at Cre8iv Click, to auto-generate syntactically-correct xml sitemaps for our clients' Kirby websites. Sitemaps are used by search engines to find and catalogue the content of your site - and hopefully help your site rankings!

sitemap preview

Here is what you need to know about Sitemapper:

  • It makes the sitemap automatically available at https://yoursite.com/sitemap.xml. It will also try to guess when a visitor/bot enters a wrong url - such as http://yoursite.com/en/sitemap.xml - and will automatically redirect them to the correct address.
  • It uses a nice, customisable stylesheet to display the site in a human-readable format, if accessed on a browser. You can also customise/localise all strings shown in the in-browser sitemap.
  • It allows you to carefully control which pages get added to - and excluded from - the sitemap. You can control it via a blueprint option, via a field on individual pages, or by using a custom filtering function.
  • You can also control which images get added to the sitemap, and to which pages. You can control it via a bluprint option, and via a field on the individual image content page.
  • It maps pages correctly on multilingual sites, whether the page is multilingual or single-language.
  • If you're still not happy, Sitemapper allows you to build your own custom mapping function from scratch - useful for advanced sites that use custom routes and/or virtual pages.

Installation

Manual Download

You can simply download and copy this repository to /site/plugins/sitemapper.

Git Submodule

You can add Sitemapper to your project as a git submodule, with this command:

git submodule add https://gitlab.com/cre8ivclick/sitemapper.git site/plugins/sitemapper

Composer

If you use composer, you can quickly add Sitemapper to your project like this:

composer require kirbyzone/sitemapper

Documentation

Complete documentation for installing, configuring and using Sitemapper can be found in the wiki area of this project.

Contributing

Please use the 'Issues' page of this project to report any bugs you find, and post ideas and feature requests.

We have tried to keep the code in the plugin reasonably simple, organised and well-commented. Feel free to fork this project, and send enhancements and bug fixes via merge requests. Please be aware, that we aim to keep the plugin simple and easy to maintain.

To-Do

  • list a site's video content
  • include optional 'changefreq' and 'priority' tags for sitemap entries

License

Sitemapper is released under the MIT License - see the 'LICENSE.md' file included in this repository for full license text.

Credits

The Cre8iv Sitemapper is developed by Cre8iv Click, but we stand on the shoulder of giants:

  • the code was started by extending this Cookbook recipe in the excellent Kirby Docs
  • the stylesheet is based on work done by Alan Wu
  • some of the logic was based on previous sitemap work done by David Somers

Styling of the sitemap is done using the amazing UIKit frontend framework.

kirbyzone/sitemapper 适用场景与选型建议

kirbyzone/sitemapper 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.47k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2020 年 02 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 kirbyzone/sitemapper 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 kirbyzone/sitemapper 我们能提供哪些服务?
定制开发 / 二次开发

基于 kirbyzone/sitemapper 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-14