nswdpc/silverstripe-schema-specialannouncement 问题修复 & 功能扩展

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

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

nswdpc/silverstripe-schema-specialannouncement

Composer 安装命令:

composer require nswdpc/silverstripe-schema-specialannouncement

包简介

Schema.org SpecialAnnouncement support for Silverstripe

README 文档

README

This module provides support for the SpecialAnnouncement term within the schema.org specification within the Silverstripe content management system

Features

  • Add an elemental block to a page, to select and display a single special announcement
  • Automatically renders JSON-LD supporting schema.org metadata
  • Provides a model admin with permission management to add,edit and delete multiple special announcements
  • Select a global special announcement for your site
  • Optionally link specific special announcements to one or more pages
  • Link support for internal and external URLs

Supported schema.org/SpecialAnnouncement metadata

<script type="application/ld+json">
{
    "@context": "http:\/\/schema.org",
    "@type": "SpecialAnnouncement",
    "category": "https:\/\/www.wikidata.org\/wiki\/Q81068910",
    "name": "COVID-19 Update",
    "text": "Stay safe with the latest COVID Safe information",
    "image": "https:\/\/example.com\/assets\/Uploads\/stay-covid-safe.jpg",
    "datePosted": "2020-11-06T12:00:00+1100",
    "expires": "2021-01-14T12:00:00+1100",
    "url": "https:\/\/example.com"
}
</script>

You can also specify the following values as links to further content (external or internal)

diseasePreventionInfo
diseaseSpreadStatistics
gettingTestedInfo
governmentBenefitsInfo
newsUpdatesAndGuidelines
publicTransportClosuresInfo
quarantineGuidelines
schoolClosuresInfo
travelBans

Installation

The recommended way of installing this module is via composer

composer require nswdpc/silverstripe-schema-specialannouncement

License

BSD-3-Clause

Documentation

Configuration

There is no configuration outside of the administration area, currently.

Maintainers

TODO

  • spatialCoverage support

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固