Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Created May 2, 2019 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickcoombe/9e2af87221f97c00b3c7c5d3ba224c64 to your computer and use it in GitHub Desktop.
Save patrickcoombe/9e2af87221f97c00b3c7c5d3ba224c64 to your computer and use it in GitHub Desktop.
Another blog posting json-ld example
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type": "BlogPosting",
"image": "http://example.com/images/image.jpg",
"url": "http://example.com/blog/post",
"headline": "My love of cats explained",
"alternativeHeadline": "An indepth article on why I love cats",
"dateCreated": "2019-02-11T11:11:11",
"datePublished": "2019-02-11T11:11:11",
"dateModified": "2019-02-11T11:11:11",
"inLanguage": "en-US",
"isFamilyFriendly": "true",
"copyrightYear": "2019",
"copyrightHolder": "",
"contentLocation": {
"@type": "Place",
"name": "Delray Beach, FL"
},
"accountablePerson": {
"@type": "Person",
"name": "Patrick Coombe",
"url": "https://patrickcoombe.com"
},
"author": {
"@type": "Person",
"name": "Patrick Coombe",
"url": "https://patrickcoombe.com"
},
"creator": {
"@type": "Person",
"name": "Patrick Coombe",
"url": "https://patrickcoombe.com"
},
"publisher": {
"@type": "Organization",
"name": "Patrick Coombe",
"url": "https://patrickcoombe.com",
"logo": {
"@type": "ImageObject",
"url": "http://www.example.com/logo.png",
"width":"400",
"height":"55"
}
},
"sponsor": {
"@type": "Organization",
"name": "Acme Widgets",
"url": "https://example.com",
"logo": {
"@type": "ImageObject",
"url": "http://www.example.com/logo.png"
}
},
"mainEntityOfPage": "True",
"keywords": [
"keyword1",
"keyword2",
"keyword3",
"keyword4"
],
"genre":["SEO","JSON-LD"],
"articleSection": "Uncategorized posts",
"articleBody": "Paste the body of your content in here in plaintext"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment