graphiques-digitale/silverstripe-seo-facebook-domain-insights 问题修复 & 功能扩展

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

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

graphiques-digitale/silverstripe-seo-facebook-domain-insights

Composer 安装命令:

composer require graphiques-digitale/silverstripe-seo-facebook-domain-insights

包简介

Module for adding Facebook Domain Insights to SilverStripe.

README 文档

README

Build Status Scrutinizer Code Quality

Overview

This is a modular extension for graphiques-digitale/silverstripe-seo-metadata

It enables Facebook Domain Insights i.e. fb:app_id and fb:admins

It requires:

It is intended to be used alongside it's siblings:

These are all optional and fragmented from the alpha version SSSEO, which is now redundant.

Installation

Composer

  • composer require graphiques-digitale/silverstripe-seo-facebook-domain-insights
  • rebuild using /dev/build/?flush

From ZIP

  • Place the extracted folder silverstripe-seo-facebook-domain-insights-{version} into silverstripe-seo-facebook-domain-insights in the SilverStripe webroot
  • rebuild using /dev/build/?flush

CMS Usage

The Facebook App ID is set globally via /admin/settings/ under the Metadata tab.

Facebook Admins are added by adding Members/users to the at the same location above.

Admin IDs are set against the actual users on their /admin/security/ page.

Template Usage

Depending on your configuration, the general idea is to replace all header content relating to metadata with $Metadata() just below the opening <head> tag and $BaseHref() function, e.g.:

<head>
    <% base_tag %>
    $Metadata()
    <!-- further includes ~ viewport, etc. -->
</head>

This will output something along the lines of:

<head>
    <base href="http://dev.seo.silverstripe.org/"><!--[if lte IE 6]></base><![endif]-->

    <!-- SEO -->
    <!-- Metadata -->
    <meta charset="UTF-8" />
    <link rel="canonical" href="http://dev.seo.silverstripe.org/" />
    <title>Your Site Name | Home - your tagline here</title>
    <meta name="description" content="Welcome to SilverStripe! This is the default home page. You can edit this page by opening the CMS. You can now access the developer documentation, or begin the tutorials." />
    <!-- Facebook Insights -->
    <meta property="fb:app_id" content="FacebookAppID123" />
    <meta property="fb:admins" content="AuthorFacebookProfileID123" />
    <!-- END SEO -->

    <!-- further includes ~ viewport, etc. -->
</head>

Issue Tracker

Issues are tracked on GitHub @ Issue Tracker

Development and Contribution

Please get in touch @ hello@graphiquesdigitale.net if you have any extertise in any of these SEO module's areas and would like to help ~ they're a lot to maintain.

License

BSD-3-Clause license

See @ Why BSD?

Screenshot

Screenshot

Screenshot

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固