2017 © Pedro Peláez
 

silverstripe-module silverstripe-seo-open-graph

Adds Open Graph metadata to Pages

image

graphiques-digitale/silverstripe-seo-open-graph

Adds Open Graph metadata to Pages

  • Sunday, July 17, 2016
  • by 4t4r1
  • Repository
  • 2 Watchers
  • 1 Stars
  • 208 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Build Status Scrutinizer Code Quality, (*1)

Overview

Enables Open Graph metadata on pages., (*2)

It is a modular extension for graphiques-digitale/silverstripe-seo-metadata, (*3)

Inspired by: http://ogp.me, (*4)

It is intended to be used with it's siblings: * Graphiques-Digitale/silverstripe-seo-icons * Graphiques-Digitale/silverstripe-seo-facebook-domain-insights, (*5)

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

The whole module collection is based largely on 18 Meta Tags Every Webpage Should Have in 2013., (*7)

Also, a good overview: 5 tips for SEO with Silverstripe 3., (*8)

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, (*9)

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.:, (*10)

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

This will output something along the lines of:, (*11)

<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, (*12)

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., (*13)

License

BSD-3Clause license, (*14)

See @ [Why BSD?][12], (*15)

Screenshot, (*16)

Screenshot, (*17)

The Versions

17/07 2016

dev-master

9999999-dev https://github.com/Graphiques-Digitale/silverstripe-seo-open-graph

Adds Open Graph metadata to Pages

  Sources   Download

BSD-3-Clause

The Requires

 

by Andrew Gerber

search module engine facebook silverstripe metadata seo optimization open graph optimisation

05/07 2016

v1.0.0

1.0.0.0 https://github.com/Graphiques-Digitale/silverstripe-seo-open-graph

Adds Open Graph metadata to Pages

  Sources   Download

MIT

The Requires

 

by Andrew Gerber

search module engine facebook silverstripe metadata seo optimization open graph optimisation