, (*1)
Overview
This is a modular extension for graphiques-digitale/silverstripe-seo-metadata, (*2)
It enables Facebook Domain Insights i.e. fb:app_id
and fb:admins
, (*3)
It requires:
* Metadata
, (*4)
It is intended to be used alongside it's siblings:
* Icons
* Open Graph
, (*5)
These are all optional and fragmented from the alpha version SSSEO
, which is now redundant., (*6)
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., (*7)
Facebook Admins are added by adding Members
/users to the at the same location above., (*8)
Admin IDs are set against the actual users on their /admin/security/
page., (*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 $BaseHref()
function, 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." />
<!-- 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, (*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., (*13)
License
BSD-3-Clause license, (*14)
See @ [Why BSD?][12], (*15)
, (*16)
, (*17)
, (*18)