Last active
February 15, 2019 02:33
-
-
Save imelgrat/1878bb22bc78da911d6e2471d8095459 to your computer and use it in GitHub Desktop.
Simple example showing how to tag a blog post using Microdata following some of Schema.org’s properties used to define an “Article”.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simple example showing how to tag a blog post using Microdata | |
* following some of Schema.org’s properties used to define an “Article”. | |
* | |
* @link https://imelgrat.me/json-xml/structured-data-google-recipes-jobs/ | |
*/ | |
?> | |
<div itemscope itemtype="http://schema.org/Article"> | |
<div> | |
<span itemprop="name">Structured Data: Helping Google find recipes and jobs</span> | |
by <span itemprop="author">Ivan Melgrati</span> | |
</div> | |
<div itemprop="datePublished" content="2018-02-01">Published on Feb 1, 2018</div> | |
<div itemprop="description">This article is about structured data</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment