Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active April 20, 2019 21:03
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickcoombe/eed9461458d550987d51 to your computer and use it in GitHub Desktop.
Save patrickcoombe/eed9461458d550987d51 to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://example.com/my-news-article"
},
"headline": "Article headline",
"image": [
"https://patrickcoombe.com/wp-content/uploads/2014/05/patrick-coombe.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"datePublished": "2019-01-05T08:00:00+08:00",
"dateModified": "2019-01-05T09:20:00+08:00",
"author": {
"@type": "Person",
"name": "Patrick Coombe"
},
"publisher": {
"@type": "Organization",
"name": "Elite Strategies",
"logo": {
"@type": "ImageObject",
"url": "https://elitestrategies-elitestrategies.netdna-ssl.com/wp-content/uploads/2013/04/elitestrategies.png"
}
},
"description": "A most wonderful article"
}
</script>
@patrickcoombe
Copy link
Author

if you have any suggestions please feel free to reach out on http://www.jsonld.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment