2017 © Pedro Peláez
 

silverstripe-module silverstripe-microdata

Add the ability to add Microdata via templates

image

milkyway/silverstripe-microdata

Add the ability to add Microdata via templates

  • Wednesday, June 29, 2016
  • by mi3ll
  • Repository
  • 2 Watchers
  • 7 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Microdata Provider

This module allows you to add Microdata via your templates. This module uses schema.org, but you can easily change the url using the yaml config., (*1)

About microdata

Microdata are additional attributes and tags added to describe and provide additional information about the content of your web page., (*2)

Some search engines (in particular Google) have adopted this technology and use it to enhance their search engine results (and the appearance of your search engine result as well!), (*3)

For more information see: Google Webmaster Tools - About microdata, (*4)

Requirements

  • SilverStripe 3.1

Author

  • Mellisa Hankins [mell@milkywaymultimedia.com.au]

Install using composer

composer require milkyway/silverstripe-microdata:*

Example Code

Page.ss



Description
$Price $microData.InStock$microData.NoStock
<% loop $Reviews %>
$Content $microData.metaTag('rating','9.5/10')
<% end_loop %>

This module adds a new variable: $microData to the global scope that creates all the necessary attributes. Some are predefined, but there are methods provided allowing you to add custom attributes. If you use a variable that does not exist on the MicrodataProvider class, it will assume it is an itemprop attribute and will add the attribute accordingly., (*5)

The Versions

29/06 2016

dev-master

9999999-dev

Add the ability to add Microdata via templates

  Sources   Download

BSD-3-Clause

The Requires

 

by Mellisa Hankins

google silverstripe seo microdata

01/07 2015

0.1

0.1.0.0

Add the ability to add Microdata via templates

  Sources   Download

BSD-3-Clause

The Requires

 

by Mellisa Hankins

google silverstripe seo microdata