承接 graphiques-digitale/silverstripe-seo-open-graph 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

graphiques-digitale/silverstripe-seo-open-graph

Composer 安装命令:

composer require graphiques-digitale/silverstripe-seo-open-graph

包简介

Adds Open Graph metadata to Pages

README 文档

README

Build Status Scrutinizer Code Quality

Overview

Enables Open Graph metadata on pages.

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

Inspired by: http://ogp.me

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

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

The whole module collection is based largely on 18 Meta Tags Every Webpage Should Have in 2013.

Also, a good overview: 5 tips for SEO with Silverstripe 3.

Installation

Composer

  • composer require graphiques-digitale/silverstripe-seo-open-graph
  • rebuild using /dev/build/?flush

From ZIP

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

CMS Usage

@todo explain usage

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 <% base_tag %> include, 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." />
    <!-- Open Graph -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="http://dev.seo.silverstripe.org/" />
    <meta property="og:site_name" content="Your Site Name" />
    <meta property="og:title" content="Home" />
    <meta property="og: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." />
    <!-- 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, they should be improved continually as HTML evolves and I'm sure they can generally be improved upon by field experts.

License

BSD-3Clause license

See @ Why BSD?

Screenshot

Screenshot

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固